-
Notifications
You must be signed in to change notification settings - Fork 821
gemma3 e2e runner on cuda #15323
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
gemma3 e2e runner on cuda #15323
Conversation
Pull Request resolved: #15228 This diff modifies the `aoti_torch_empty_strided` function to support the creation of incontiguous tensors. To achieve it, this diff: 1. update the way to calculate the memory size by using both tensor size and the stride 2. skip stride check in ETensor by adding and checking cmake macro `USE_CUDA_BACKEND` when building with CUDA backend support. we will soon bring the ETensor check back for every backend after migrating to use slimtensor. ghstack-source-id: 317688814 @exported-using-ghexport Differential Revision: [D84938258](https://our.internmc.facebook.com/intern/diff/D84938258/)
Pull Request resolved: #15241 This diff adds a module-level benchmark for the GEMMA3 model. Also introduce mutlmodal_benchmark.cpp to replace original voxtral_runner.cpp for benchmarking both gemma3 and voxtral model in module level. ghstack-source-id: 317688813 Differential Revision: [D84958564](https://our.internmc.facebook.com/intern/diff/D84958564/)
Pull Request resolved: #15282 This diff introduces e2e runner for gemma3 model on cuda delegating using AOTI library, which is guarded by CI. Also other necessary infrastructure updates for building and running the `gemma3 e2e runner` on CUDA devices. ghstack-source-id: 317688815 Differential Revision: [D85087532](https://our.internmc.facebook.com/intern/diff/D85087532/)
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15323
Note: Links to docs will display an error until the docs builds have been completed. This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: pytorch#15282 by @Gasoonjia ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/gasoonjia/61/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/gasoonjia/61/head Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/gasoonjia/60/orig Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/gasoonjia/61/orig Differential Revision: [D85087532](https://our.internmc.facebook.com/intern/diff/D85087532/) @diff-train-skip-merge --------- Co-authored-by: gasoonjia <gasoonjia@icloud.com> Co-authored-by: Gasoonjia <gasoonjia@meta.com>
This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #15282 by @Gasoonjia
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/gasoonjia/61/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/gasoonjia/61/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/gasoonjia/60/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/gasoonjia/61/orig
Differential Revision: D85087532
@diff-train-skip-merge