Skip to content
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

aten.sym_storage_offset #2757

Open
Tracked by #2407
chohk88 opened this issue Apr 17, 2024 · 1 comment
Open
Tracked by #2407

aten.sym_storage_offset #2757

chohk88 opened this issue Apr 17, 2024 · 1 comment
Assignees
Labels
component: converters Issues re: Specific op converters

Comments

@chohk88
Copy link
Collaborator

chohk88 commented Apr 17, 2024

@chohk88
Copy link
Collaborator Author

chohk88 commented Apr 17, 2024

The aten.sym_storage_offset operation returns the offset between the storage start point and the first element of the tensor.

In PyTorch, tensors are allocated their own memory block at creation, naturally starting at 0, and here is an example where the result is not 0.
image

Therefore, in TensorRT, accessing the memory layout of tensors is impossible, making it infeasible to implement this operation. @narendasan, @gs-olive How should we handle this issue?

@chohk88 chohk88 added the component: converters Issues re: Specific op converters label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: converters Issues re: Specific op converters
Projects
None yet
Development

No branches or pull requests

1 participant