forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port samples/dynamic_shapes/ to PyTorch using SHARK-Turbine. (iree-or…
…g#15255) Progress on iree-org#15117 and towards documenting the "advanced AOT toolkit" on https://www.iree.dev/guides/ml-frameworks/pytorch/ (trying out the various features so I can write about them). This notebook produces a program with the same interface as the existing TensorFlow notebook used by this sample. * `export_name="module"` could be removed, but then I'd want to somehow change the TF program and update the C code from `iree_make_cstring_view("module.reduce_sum_2d")` to `iree_make_cstring_view("dynamic_shapes.reduce_sum_2d")`. Keeping that messiness at least as long as the TF notebook remains. * Yes, I want to delete the TF notebook and rebase on PyTorch + JAX... New notebook preview for review: https://colab.research.google.com/github/scotttodd/iree/blob/samples-pytorch/samples/dynamic_shapes/pytorch_dynamic_shapes.ipynb
- Loading branch information
Showing
4 changed files
with
605 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.