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

Fix torch._C.Node attribute access #372

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

jamt9000
Copy link
Contributor

@jamt9000 jamt9000 commented Jul 6, 2023

Attribute access of a JIT graph node with subscripting would previously work due to patching in pytorch/pytorch#82511 but this has been removed.

This commit uses the fix proposed in pytorch/pytorch#82628 to define a helper method to call the appropriate access method.

Fixes #79 for Pytorch 2.0.0

Attribute access with subscripting would previously work
due to patching in pytorch/pytorch#82511
but this has been removed.

This commit uses the fix proposed in pytorch/pytorch#82628
to define a helper method to call the appropriate access method.
@jongwook jongwook merged commit a1d0717 into openai:main Jul 8, 2023
grandcyw pushed a commit to grandcyw/CLIP that referenced this pull request Nov 21, 2023
Attribute access with subscripting would previously work
due to patching in pytorch/pytorch#82511
but this has been removed.

This commit uses the fix proposed in pytorch/pytorch#82628
to define a helper method to call the appropriate access method.
grandcyw added a commit to grandcyw/CLIP that referenced this pull request Nov 21, 2023
Attribute access with subscripting would previously work
due to patching in pytorch/pytorch#82511
but this has been removed.

This commit uses the fix proposed in pytorch/pytorch#82628
to define a helper method to call the appropriate access method.
grandcyw added a commit to grandcyw/CLIP that referenced this pull request Nov 21, 2023
Attribute access with subscripting would previously work
due to patching in pytorch/pytorch#82511
but this has been removed.

This commit uses the fix proposed in pytorch/pytorch#82628
to define a helper method to call the appropriate access method.
rom1504 pushed a commit to rom1504/CLIP that referenced this pull request Jan 13, 2024
Attribute access with subscripting would previously work
due to patching in pytorch/pytorch#82511
but this has been removed.

This commit uses the fix proposed in pytorch/pytorch#82628
to define a helper method to call the appropriate access method.
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.

TypeError: 'torch._C.Node' object is not subscriptable
2 participants