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

Support Retrieving Named Attributes #913

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ammrat13
Copy link

@ammrat13 ammrat13 commented Nov 23, 2024

Previously, this library supported getting a list of named tensors from a module. However, modules may also have attributes to store additional metadata. This commit adds support for getting them.

As for implementation, this commit follows the same strategy as retrieving named parameters, and it adds two smoke tests to check functionality. Notably, this commit is tested with LibTorch 2.5.0 instead of 2.5.1, and LIBTORCH_BYPASS_VERSION_CHECK is set.

Previously, this library supported getting a list of named tensors from
a module. However, modules may also have attributes to store additional
metadata. This commit adds support for getting them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant