[Inductor] add a new config fallback_embedding_bag_byte_unpack#163803
[Inductor] add a new config fallback_embedding_bag_byte_unpack#163803hl475 wants to merge 1 commit intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/163803
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 5be8a4b with merge base c4312b4 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot label "topic: not user facing" |
…ch#163803) Summary: Pull Request resolved: pytorch#163803 Differential Revision: D82988783
558db5f to
22ed0f3
Compare
22ed0f3 to
ee60f38
Compare
…ch#163803) Summary: introduce an inductor config fallback_embedding_bag_byte_unpack so we can have options to not let inductor decompose the op Differential Revision: D82988783
…ch#163803) Summary: introduce an inductor config fallback_embedding_bag_byte_unpack so we can have options to not let inductor decompose the op Reviewed By: henryoier Differential Revision: D82988783
ee60f38 to
b024891
Compare
b024891 to
7fdfe8c
Compare
…ch#163803) Summary: introduce an inductor config fallback_embedding_bag_byte_unpack so we can have options to not let inductor decompose the op Reviewed By: henryoier Differential Revision: D82988783
7fdfe8c to
eb2f1cc
Compare
…ch#163803) Summary: introduce an inductor config fallback_embedding_bag_byte_unpack so we can have options to not let inductor decompose the op Reviewed By: henryoier Differential Revision: D82988783
…ch#163803) Summary: introduce an inductor config fallback_embedding_bag_byte_unpack so we can have options to not let inductor decompose the op Reviewed By: henryoier Differential Revision: D82988783
eb2f1cc to
5be8a4b
Compare
| """decomps can change based on config""" | ||
| if config.fallback_random: | ||
| return decompositions | ||
| if config.fallback_embedding_bag_byte_unpack is True: |
There was a problem hiding this comment.
Nit: if config.fallback_embedding_bag_byte_unpack:
| for k in decompositions.keys(): | ||
| if k == torch.ops.quantized.embedding_bag_byte_unpack.default: | ||
| del decompositions[k] | ||
| break |
There was a problem hiding this comment.
decompositions.pop(torch.ops.quantized.embedding_bag_byte_unpack.default, None)
|
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
sorry @desertfire , just saw the comments. will submit another diff/PR to address your comments! |
Summary: address comments from pytorch#163803 Differential Revision: D83291637
Summary: address comments from pytorch#163803 Differential Revision: D83291637
Summary: address comments from pytorch#163803 Differential Revision: D83291637
Summary: address comments from pytorch#163803 Differential Revision: D83291637
Summary: address comments from pytorch#163803 Differential Revision: D83291637
Summary: address comments from #163803 Differential Revision: D83291637 Pull Request resolved: #163901 Approved by: https://github.com/desertfire
Differential Revision: D82988783 introduce an inductor config fallback_embedding_bag_byte_unpack so we can have options to not let inductor decompose the op Pull Request resolved: #163803 Approved by: https://github.com/henryoier
Summary: address comments from #163803 Differential Revision: D83291637 Pull Request resolved: #163901 Approved by: https://github.com/desertfire
Differential Revision: D82988783
introduce an inductor config fallback_embedding_bag_byte_unpack so we can have options to not let inductor decompose the op
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben