-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Implementation of uTVM #3227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Implementation of uTVM #3227
Changes from 1 commit
Commits
Show all changes
109 commits
Select commit
Hold shift + click to select a range
7be3181
uTVM interfaces (#14)
mutinifni 9ebc55f
some minor interface changes
mutinifni 1c3e449
implemented HostLowLevelDevice
mutinifni bd15740
added MicroDeviceAPI
mutinifni 403a5d9
implemented micro_common and added Python interfaces
mutinifni d3cb9f3
current status, semi implemented micro session
mutinifni e6c4448
added micro_common implementation and python interfaces (#18)
mutinifni 0ca1d97
current status, semi implemented
mutinifni 059fdc2
added micro_common implementation and python interfaces (#18)
mutinifni 1f6a1a6
host test working
mutinifni 4ede248
updated interfaces for MicroSession arguments allocation
mutinifni cb1f2f1
make somewhat lint compatible
mutinifni 8de60be
fix based on comments
mutinifni 633d744
added rounding macro
mutinifni 985689a
fix minor bug
mutinifni 284905c
improvements based on comments
mutinifni 5218619
Clean up `binutil.py` and make Python-3-compatible
e94e880
Change argument allocation design
c7a5c48
Address feedback and lint errors
weberlo cb497b8
Improve binutil tests
weberlo db01d8d
Simplify allocator (per @tqchen's suggestions)
weberlo 6ae42ad
Doc/style fixes
weberlo 9aa82dd
farts
weberlo 3547a70
mcgee
weberlo d65c07f
rodata section werks
weberlo 05856c9
simple graph runtime werk
weberlo d1dd841
TEMP
weberlo 190cd37
ResNet works, yo
weberlo ace2e9b
First round of cleanup
weberlo f81160b
More cleanup
weberlo 9fd33d5
runs a dyson over the code
weberlo e8c7046
Another pass
weberlo 370bee7
Fix `make lint` issues
weberlo fe54690
ready to pr... probably
weberlo b1dca33
final
weberlo ae199c2
Undo change
weberlo c21cece
Fix rebase resolution
weberlo aa89ece
Minor fixes
weberlo 660c8fe
Undo changes to C codegen tests
weberlo 08c2a59
Add `obj_path` in `create_micro_lib`
weberlo 1d43f2d
TEMP
weberlo 32ba715
Address feedback
weberlo 34811bc
Add missing TODO
weberlo 7da9ced
Partially address feedback
weberlo 327d8d5
Fix headers
weberlo 4bc1633
Switch to enum class for `SectionKind`
weberlo 2bc32ff
Add missing ASF header
weberlo 43d44b0
Fix lint
weberlo 49bf4e3
Fix lint again
weberlo 3ee73da
Fix lint
weberlo 6c62a03
Kill lint warnings
weberlo fc85816
Address feedback
weberlo 81c367c
Change Python interface to MicroTVM
weberlo 9f6fd46
Reorder LowLevelDevice interface
weberlo dbfe060
Store shared ptr to session in all alloced objects
weberlo a6d28ed
Move helper functions out of `tvm.micro`
weberlo 52477a8
Switch static char arr to vector
weberlo 35dc1d5
Improve general infra and code quality
weberlo 260ec37
Forgot a rename
weberlo 953d217
Fix lint
weberlo cf95739
Add ASF header
weberlo efdeb23
Fix lint
weberlo 4d929e3
Partially address MarisaKirisame's feedback
weberlo 6f30813
Lint
weberlo 5cf5093
Expose `MicroSession` as a node to Python
weberlo 4f27116
Revert to using `Session` constructor
weberlo 297cbb1
Fix compiler error
weberlo 105e3b3
(Maybe) fix CI error
weberlo 29782bd
Debugging
weberlo 03c0616
Remove
weberlo 9057d3b
Quell lint
weberlo d3be1fb
Switch to stack-based session contexts
weberlo c5ef066
Make uTVM less intrusive to host codegen
weberlo b3d9369
Inline UTVMArgs into UTVMTask struct
weberlo c8cb63b
Remove `HostLowLevelDevice` header
weberlo 8ffbf73
Remove `BaseAddr` class
weberlo 5e9347f
Address feedback
weberlo 7e1bae7
Add "utvm" prefix to global vars in runtime
weberlo bdb21e9
Fix lint
weberlo f22b880
Fix CI
weberlo 40978cd
Fix `test_binutil.py`
weberlo 7e8bcd9
Fix submodules
weberlo 81b178e
Remove ResNet tests
weberlo 1aae051
Make `test_binutil.py` work with nose
weberlo 50f5b1b
Fix CI
weberlo e285275
I swear this actually fixes the binutil tests
weberlo e280703
lint
weberlo ad414da
lint
weberlo 492b472
Add fcompile-compatible cross-compile func
weberlo e41d718
Add docs for uTVM runtime files
weberlo 458bd7a
Move pointer patching into `MicroSession`
weberlo 42be5ea
Fix lint
weberlo b1a3d91
First attempt at unifying cross-compile APIs
weberlo 2553c04
Fix lint
weberlo f62ee28
Rename `cross_compile` back to `cc`
weberlo b731a46
Address feedback
weberlo 56388ab
Remove commented code
weberlo d358684
Lint
weberlo ca671d6
Figure out failing function
weberlo 7e45f89
Remove debugging code
weberlo 71619e3
Change "micro_dev" target to "micro"
weberlo 0c44fdf
Add checks in tests for whether uTVM is enabled
weberlo d63f2ff
Add TODO for 32-bit support
weberlo 2d516ea
Rename more "micro_dev" to "micro"
weberlo 2b7a269
Undo rename
weberlo 9dd60a6
Fix failing CI
weberlo 9d05c29
Address feedback
weberlo 3c68727
Fix lint
weberlo 810dcb6
Merge branch 'master' into micro-tvm
weberlo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Doc/style fixes
- Loading branch information
commit 6ae42ad38d0d9b3fe4f642ea683829a572a30b10
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.