-
Notifications
You must be signed in to change notification settings - Fork 608
Move portable/util.py into extension/export_util #4141
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
Conversation
`portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/4141
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 53748ac with merge base 29fdaa1 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D59306348 |
`portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/) ghstack-source-id: 232405434 Pull Request resolved: #4141
`portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/) [ghstack-poisoned]
Pull Request resolved: #4141 `portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. It also fixes the import hack inside `executorch/examples/models/llama2/builder.py`. Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/) ghstack-source-id: 232553687
This pull request was exported from Phabricator. Differential Revision: D59306348 |
`portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/) [ghstack-poisoned]
Pull Request resolved: #4141 `portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. It also fixes the import hack inside `executorch/examples/models/llama2/builder.py`. ghstack-source-id: 232865153 Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/)
This pull request was exported from Phabricator. Differential Revision: D59306348 |
`portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/) [ghstack-poisoned]
Pull Request resolved: #4141 `portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. It also fixes the import hack inside `executorch/examples/models/llama2/builder.py`. ghstack-source-id: 232898293 Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/)
This pull request was exported from Phabricator. Differential Revision: D59306348 |
`portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/) [ghstack-poisoned]
Pull Request resolved: #4141 `portable/util.py` is used by multiple example models including llm models. Since we are moving llm models' export libraries into `extension/llm/export`, it makes sense to move `portable/util.py` into extension as well. This change does that. It moves the test into `examples/models` which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code under `examples/models` like `EagerModelFactory`. It also fixes the import hack inside `executorch/examples/models/llama2/builder.py`. ghstack-source-id: 233035427 Differential Revision: [D59306348](https://our.internmc.facebook.com/intern/diff/D59306348/)
This pull request was exported from Phabricator. Differential Revision: D59306348 |
This pull request has been merged in 2d9c6b5. |
|
#4141 missed updating export_and_delegate.py. This PR adds it. Differential Revision: [D59547264](https://our.internmc.facebook.com/intern/diff/D59547264/) [ghstack-poisoned]
#4141 missed updating export_and_delegate.py. This PR adds it. Differential Revision: [D59547264](https://our.internmc.facebook.com/intern/diff/D59547264/) ghstack-source-id: 233107223 Pull Request resolved: #4193
Stack from ghstack (oldest at bottom):
portable/util.py
is used by multiple example models including llm models. Since we are moving llm models' export libraries intoextension/llm/export
, it makes sense to moveportable/util.py
into extension as well.
This change does that.
It moves the test into
examples/models
which seems to be a better place for these unit tests since they test the export flow for different models and also rely on some code underexamples/models
likeEagerModelFactory
.Differential Revision: D59306348