-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[checkpoint] cross-device example working on vm!
[checkpoint] Can't wrap on_device around big-lambdas. [checkpoint] ToANF working I think - Cleanup pairs-of-pairs for OnDeviceProps etc. - Don't wrap OnDevice around expressions that don't need it. [checkpoint] ANF working again [checkpoint] Visitor helpers, lambda lifting tracks devices 1/2 way through ANF tracking devices but currently very broken [checkpoint] Rollback ANF scope changes, need to revisit [checkpoint] Standalone pass unit tests all pass :-) [checkpoint] TupleGetItem is working [checkpoint] Giving up on FindFixedAndFreeExpressions, will introduce rewrite 'phase 0' instead [checkpoint] Unit tests starting to work - Add 'is_fixed' field and the 'implicit is_fixed=true' rule - Start porting original context planning and annotation tests [checkpoint] comment polish, get rid of no-op overrides. [checkpoint] handle pattern-bound vars [checkpoint] Rework intro comment. Introduce UnifyCollapsed. [checkpoint] fix 'stored on' vs 'executes on' confusion [checkpoint] more tests and bug fixes [checkpoint] improve test [checkpoint] basic tests passing [checkpoint] get basic test going again [checkpoint] Fix merge snafu [checkpoint] Rename to device_planner / PlanDevices, improve comments, kind checking [checkpoint] Switch to higher-order domains, add defaulting visitor. [checkpoint] builds again [checkpoint] (Does not build) Rework handling of let- and param-bound functions. [checkpoint] (won't build) device_copy can capture scope, cleanup var->function tracking [checkpoint] Python uses Devices not types. [checkpoint] Renames, restore lost make_devices_explicit.cc [checkpoint] rename test_pass_context_analysis.py to test_pass_make_devices_explicit.py [checkpoint] few more rollbacks [checkpoint] rollback bogus rename [checkpoint] Cleanup default device handling. [checkpoint] bug fixes, working on trivial example again The default device stuff is messed up. [checkpoint] Cleanup on_device handling. Fix param device lookups. [checkpoint] Merged LowerTE Pass [checkpoint] Get going with interpreter. - ToANormalForm considers the arg to on_devivce an inner scope. - FuseOps does not consider on_device a primitive - Interpreter knows on_device is id [checkpoint] undo accidental rename [checkpoint] starting unit test [checkpoint] Get rid of device_map from LowerTE - Inserted the transform in I think the right place for VM, AOT, Interpreter and GraphExecutor. - LowerTE still needs the memory plan, so still a lot of re-doing of memory planning going on. But at least the device map does not need to be rebuilt. - Add logging context help -- preparing for the long climb to get all the tests going. Still need to figure out all the default device stuff, I don't think that's being handled correctly. [checkpoint] Mixin helper, capture OnDeviceAttrs for params. TODO: - Make sure device pass actually runs. - Handle default device when targets_.size() == 1. - Device vs int vs DLDeviceType confusion everywhere [checkpoint] Make device assignment a pass. VM compiler still needs explicit map. All very rough. Lots of mismatches between Device and DLDeviceType as unit of annotation. [checkpoint] better messages [checkpoint] Merge in VLOG so can try it out with larger cl. Will need to split it out again. [checkpoint] rollback WithAttr node since seems using CallNode is the pattern [checkpoint] Got rid of CollectDeviceInfo [checkpoint] fiddling with WithAttr [checkpoint] trivial [checkpoint] rename context_analysis.cc to make_devices_explicit.cc and move to transforms/
- Loading branch information
1 parent
e1ae821
commit 651b848
Showing
67 changed files
with
5,076 additions
and
2,245 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.