Factor out eager val from eval_llama_lib#3756
Factor out eager val from eval_llama_lib#3756cccclai wants to merge 5 commits intogh/cccclai/10/basefrom
Conversation
Would like to re-use EagerEvalWrapper and eval function for quantization calibration. Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3756
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3483891 with merge base 757a6ad ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D57881028 |
Would like to re-use EagerEvalWrapper and eval function for quantization calibration. Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/) ghstack-source-id: 227994056 Pull Request resolved: #3756
Would like to re-use EagerEvalWrapper and eval function for quantization calibration. Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D57881028 |
Pull Request resolved: #3756 Would like to re-use EagerEvalWrapper and eval function for quantization calibration. ghstack-source-id: 227999069 @exported-using-ghexport Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/)
Would like to re-use EagerEvalWrapper and eval function for quantization calibration. Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D57881028 |
Pull Request resolved: #3756 Would like to re-use EagerEvalWrapper and eval function for quantization calibration. ghstack-source-id: 228001053 @exported-using-ghexport Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/)
Would like to re-use EagerEvalWrapper and eval function for quantization calibration. Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D57881028 |
Jack-Khuu
left a comment
There was a problem hiding this comment.
Thanks for the refactor, makes things easier to reference
|
|
||
| try: | ||
| from ...portable.utils import export_to_edge, save_pte_program | ||
| except ImportError: |
There was a problem hiding this comment.
let's put this as a task to fix separately. I've seem this issue in other parts of the repo too
There was a problem hiding this comment.
Yeah makes sense. Let me update
Would like to re-use EagerEvalWrapper and eval function for quantization calibration. Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D57881028 |
Pull Request resolved: #3756 Would like to re-use EagerEvalWrapper and eval function for quantization calibration. ghstack-source-id: 228123244 @exported-using-ghexport Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/)
|
This pull request has been merged in fbbba34. |
Pull Request resolved: pytorch/executorch#3756 Would like to re-use EagerEvalWrapper and eval function for quantization calibration. ghstack-source-id: 228051127 @exported-using-ghexport Differential Revision: [D57881028](https://our.internmc.facebook.com/intern/diff/D57881028/)
Stack from ghstack (oldest at bottom):
Would like to re-use EagerEvalWrapper and eval function for quantization calibration.
Differential Revision: D57881028