-
Notifications
You must be signed in to change notification settings - Fork 607
[llm] Add arange() tensor maker API #11861
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
[llm] Add arange() tensor maker API #11861
Conversation
As titled. `arange()` taking a `sizes` argument to be able to take custom tensor sizes. Differential Revision: [D77184741](https://our.internmc.facebook.com/intern/diff/D77184741/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11861
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 0e14656 with merge base 222d9e3 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
As titled. `arange()` taking a `sizes` argument to be able to take custom tensor sizes. Differential Revision: [D77184741](https://our.internmc.facebook.com/intern/diff/D77184741/) ghstack-source-id: 292190468 Pull Request resolved: #11861
This pull request was exported from Phabricator. Differential Revision: D77184741 |
As titled. `arange()` taking a `sizes` argument to be able to take custom tensor sizes. Differential Revision: [D77184741](https://our.internmc.facebook.com/intern/diff/D77184741/) [ghstack-poisoned]
Pull Request resolved: #11861 As titled. `arange()` taking a `sizes` argument to be able to take custom tensor sizes. ghstack-source-id: 292195574 @exported-using-ghexport Differential Revision: [D77184741](https://our.internmc.facebook.com/intern/diff/D77184741/)
This pull request was exported from Phabricator. Differential Revision: D77184741 |
As titled. `arange()` taking a `sizes` argument to be able to take custom tensor sizes. Differential Revision: [D77184741](https://our.internmc.facebook.com/intern/diff/D77184741/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D77184741 |
As titled. `arange()` taking a `sizes` argument to be able to take custom tensor sizes. Differential Revision: [D77184741](https://our.internmc.facebook.com/intern/diff/D77184741/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D77184741 |
As titled. `arange()` taking a `sizes` argument to be able to take custom tensor sizes. Differential Revision: [D77184741](https://our.internmc.facebook.com/intern/diff/D77184741/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D77184741 |
As titled. `arange()` taking a `sizes` argument to be able to take custom tensor sizes. Differential Revision: [D77184741](https://our.internmc.facebook.com/intern/diff/D77184741/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D77184741 |
Pull Request resolved: pytorch/executorch#11861 Refactoring `op_arange.cpp` to expose `compute_arange_out_size` and `arange_out_impl` for LLM runner to use. See next PR on how to use them. ghstack-source-id: 292529866 @exported-using-ghexport Differential Revision: [D77184741](https://our.internmc.facebook.com/intern/diff/D77184741/)
1612e7a
into
gh/larryliu0820/66/base
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #11861 by @larryliu0820 ^ 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/larryliu0820/66/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/larryliu0820/66/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/larryliu0820/66/orig @diff-train-skip-merge Co-authored-by: Mengwei Liu <[email protected]>
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: pytorch#11861 by @larryliu0820 ^ 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/larryliu0820/66/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/larryliu0820/66/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/larryliu0820/66/orig @diff-train-skip-merge Co-authored-by: Mengwei Liu <[email protected]>
Stack from ghstack (oldest at bottom):
As titled.
arange()
taking asizes
argument to be able to take custom tensor sizes.Differential Revision: D77184741