-
Notifications
You must be signed in to change notification settings - Fork 684
aoti_torch__reinterpret_tensor #14614
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14614
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Cancelled Job, 1 Unrelated FailureAs of commit 3390394 with merge base df8d03b ( NEW FAILURE - The following job has failed:
CANCELLED JOB - The following job was cancelled. Please retry:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@Gasoonjia has exported this pull request. If you are a Meta employee, you can view the originating diff in D83094603. |
This PR needs a
|
@Gasoonjia has exported this pull request. If you are a Meta employee, you can view the originating diff in D83094603. |
Summary: Pull Request resolved: pytorch#14614 Introduced aoti_torch__reinterpret_tensor, which creates a new tensor view that reinterprets the same underlying memory with custom shape and strides. Differential Revision: D83094603
458701b
to
b0b94fe
Compare
b0b94fe
to
6b26d4e
Compare
Summary: Introduced aoti_torch__reinterpret_tensor, which creates a new tensor view that reinterprets the same underlying memory with custom shape and strides. Reviewed By: larryliu0820 Differential Revision: D83094603
@Gasoonjia has exported this pull request. If you are a Meta employee, you can view the originating diff in D83094603. |
Summary: Introduced aoti_torch__reinterpret_tensor, which creates a new tensor view that reinterprets the same underlying memory with custom shape and strides. Reviewed By: larryliu0820 Differential Revision: D83094603
Summary: this diff introduce aoti_tensor_empty_strided to et cuda backend, which will be one of the main functions to create empty tensor using the given stride. Reviewed By: larryliu0820 Differential Revision: D83094606
Summary: This diff introduce `aoti_torch_delete_tensor_object` for deleting tensors created during cuda backend inference. Reviewed By: larryliu0820 Differential Revision: D83094605
Summary: This function introduce aoti_torch_create_tensor_from_blob_v2, a function that create tensor from data blob and custom stride and size. Worth to notice that unlike aoti_torch_empty_strided, the tensor created by aoti_torch_create_tensor_from_blob_v2 will not have the control of the memory blob. Therefore when we delete it, the memory will not be freed. Reviewed By: larryliu0820 Differential Revision: D83094602
Summary: Introduced aoti_torch__reinterpret_tensor, which creates a new tensor view that reinterprets the same underlying memory with custom shape and strides. Reviewed By: larryliu0820 Differential Revision: D83094603
f21205e
to
3390394
Compare
@Gasoonjia has exported this pull request. If you are a Meta employee, you can view the originating diff in D83094603. |
1 similar comment
@Gasoonjia has exported this pull request. If you are a Meta employee, you can view the originating diff in D83094603. |
Summary: Introduced aoti_torch__reinterpret_tensor, which creates a new tensor view that reinterprets the same underlying memory with custom shape and strides. Reviewed By: larryliu0820 Differential Revision: D83094603
Summary: Introduced aoti_torch__reinterpret_tensor, which creates a new tensor view that reinterprets the same underlying memory with custom shape and strides.
Differential Revision: D83094603