-
Notifications
You must be signed in to change notification settings - Fork 653
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
DNS - Data-tiling prototype for targeting multi-device. #18738
base: main
Are you sure you want to change the base?
DNS - Data-tiling prototype for targeting multi-device. #18738
Conversation
8105d67
to
84fe339
Compare
c76513d
to
e992c93
Compare
1812f5e
to
a992fbf
Compare
@hanhanW do you want to keep this PR open with the "check bazel deps" title? Seems like you are pushing to this branch fairly regularly. |
I forgot that I have this PR when I was updating my branch; I totally forgot that the title was not updated. :/ Sorry about that, I updated the title. |
a992fbf
to
224a47a
Compare
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
6c8e63b
to
a4966c0
Compare
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
This reverts commit b0944b9. Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
…e changes)" This reverts commit a8daf79. Signed-off-by: hanhanW <[email protected]>
This is the third take. It introduces a "cloneWithConfig" interface method to solve dup config issue. Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
The prototype is not the final state, ideally we should introduce the other attribute interface to handle materializations. The current implementation works only if the encoding target is as same as the execution target. Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
a4966c0
to
a07be10
Compare
Signed-off-by: hanhanW <[email protected]>
The boundary operations (i.e., bindings, flow.tensor.load/store, etc) has EncodingSolver attached. It defines the layout for inputs/outputs. The encodings on the operations (e.g., compute ops) captures all the original encoding fields and we do know that they will be executed on the execution device, so we should be able to insert some ops which bring it from layout_a to layout_b. It adds the indexing maps back, we can revisit it later. Signed-off-by: hanhanW <[email protected]>
0e19402
to
65c1d4f
Compare
Note that this should be an issue when we land it to the main branch, because the refactoring should happen and they will use the same code. Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
The branch demonstrates how data-tiling + heterogeneous computing run altogether in IREE.
Design Doc: https://hackmd.io/@hwPnnvLBTB-JGVMeh-bCEA/Sy9nvDhb1e
IR dump: https://gist.github.com/hanhanW/5029dc652aec1379102e43e702aaf15b