-
Notifications
You must be signed in to change notification settings - Fork 645
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
Docs: update torch export docs with modern canonical usage #18564
Comments
Did you mean torchscript.compile @stellaraccident in your comment? |
Referring to It is really just experimental right now and needs to be called out as such. |
@stellaraccident just to be sure, I and @kumardeepakamd looked into this, and we had some questions.
|
My interpretation is that this focuses just on the documentation for the code as it already exists. Separately we should do the work to make the code more stable. (Also please someone pick up iree-org/iree-turbine#28 - we shouldn't be using the |
So, https://github.com/iree-org/iree-turbine/blob/main/iree/turbine/__init__.py still seems to use shark_turbine? Is someone working on changing that to iree_turbine? or should we take care of that? |
Another user having an issue with jittable. Can you please respond to them. https://discourse.llvm.org/t/jittable-error-of-iree-turbine/81457/2?u=stellaraccident |
Progresses towards #18564. Fixes an example involving `shark_turbine.aot` that produced a segfault due to a call to `VmModule.wrap_buffer()` when run. Also removes examples related to `aot.jittable` that were present in the doc, and updates the recommended PyTorch version.
https://github.com/iree-org/iree/tree/main/samples/dynamic_shapes is still using |
This adapts docs and samples to https://github.com/iree-org/iree-turbine/releases/tag/v2.5.0. * Switched from `import shark_turbine.aot as aot` to `import iree.turbine.aot as aot` (see also iree-org/iree-turbine#28). * Redirected notes from `/RELEASING.md` to https://github.com/iree-org/iree-turbine/blob/main/docs/releasing.md. The release process is changing now with #18938 and I'll want to fold the notes there in to https://iree.dev/developers/general/release-management/ instead. * Re-ran some Colab notebooks and adapted to the latest changes across projects. Note that the https://github.com/iree-org/iree/tree/main/samples/dynamic_shapes sample still has code using `@aot.jittable`, so I have re-opened #18564 to migrate it. I spent some time trying to update it but wasn't sure how to demonstrate dynamic shapes using the "modern canonical usage" effectively. * This fixes the recent test failures: https://github.com/iree-org/iree/actions/runs/11697207429/job/32575551934. Test run: https://github.com/ScottTodd/iree/actions/runs/11713816651/job/32627295562
This adapts docs and samples to https://github.com/iree-org/iree-turbine/releases/tag/v2.5.0. * Switched from `import shark_turbine.aot as aot` to `import iree.turbine.aot as aot` (see also iree-org/iree-turbine#28). * Redirected notes from `/RELEASING.md` to https://github.com/iree-org/iree-turbine/blob/main/docs/releasing.md. The release process is changing now with iree-org#18938 and I'll want to fold the notes there in to https://iree.dev/developers/general/release-management/ instead. * Re-ran some Colab notebooks and adapted to the latest changes across projects. Note that the https://github.com/iree-org/iree/tree/main/samples/dynamic_shapes sample still has code using `@aot.jittable`, so I have re-opened iree-org#18564 to migrate it. I spent some time trying to update it but wasn't sure how to demonstrate dynamic shapes using the "modern canonical usage" effectively. * This fixes the recent test failures: https://github.com/iree-org/iree/actions/runs/11697207429/job/32575551934. Test run: https://github.com/ScottTodd/iree/actions/runs/11713816651/job/32627295562
This adapts docs and samples to https://github.com/iree-org/iree-turbine/releases/tag/v2.5.0. * Switched from `import shark_turbine.aot as aot` to `import iree.turbine.aot as aot` (see also iree-org/iree-turbine#28). * Redirected notes from `/RELEASING.md` to https://github.com/iree-org/iree-turbine/blob/main/docs/releasing.md. The release process is changing now with iree-org#18938 and I'll want to fold the notes there in to https://iree.dev/developers/general/release-management/ instead. * Re-ran some Colab notebooks and adapted to the latest changes across projects. Note that the https://github.com/iree-org/iree/tree/main/samples/dynamic_shapes sample still has code using `@aot.jittable`, so I have re-opened iree-org#18564 to migrate it. I spent some time trying to update it but wasn't sure how to demonstrate dynamic shapes using the "modern canonical usage" effectively. * This fixes the recent test failures: https://github.com/iree-org/iree/actions/runs/11697207429/job/32575551934. Test run: https://github.com/ScottTodd/iree/actions/runs/11713816651/job/32627295562
This adapts docs and samples to https://github.com/iree-org/iree-turbine/releases/tag/v2.5.0. * Switched from `import shark_turbine.aot as aot` to `import iree.turbine.aot as aot` (see also iree-org/iree-turbine#28). * Redirected notes from `/RELEASING.md` to https://github.com/iree-org/iree-turbine/blob/main/docs/releasing.md. The release process is changing now with iree-org#18938 and I'll want to fold the notes there in to https://iree.dev/developers/general/release-management/ instead. * Re-ran some Colab notebooks and adapted to the latest changes across projects. Note that the https://github.com/iree-org/iree/tree/main/samples/dynamic_shapes sample still has code using `@aot.jittable`, so I have re-opened iree-org#18564 to migrate it. I spent some time trying to update it but wasn't sure how to demonstrate dynamic shapes using the "modern canonical usage" effectively. * This fixes the recent test failures: https://github.com/iree-org/iree/actions/runs/11697207429/job/32575551934. Test run: https://github.com/ScottTodd/iree/actions/runs/11713816651/job/32627295562 Signed-off-by: Giacomo Serafini <179146510+giacs-epic@users.noreply.github.com>
Progress on iree-org/iree-turbine#28 and #18564. * Switch package name from shark_turbine to iree.turbine * Fix dynamic shapes notebook to use `FxProgramsBuilder` (supported, used by sharktank) instead of `jittable` (weird, not something we advertise in docs now) skip-ci: not covered by presubmit CI
See: https://discourse.llvm.org/t/how-to-separate-the-body-and-dialect-resources-from-a-module-in-torch-mlir-and-how-to-reload-it/81338/2?u=stellaraccident
The text was updated successfully, but these errors were encountered: