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

[bug-fix] use norm instead of vector_norm for compatibility with older torch versions #1167

Merged
merged 2 commits into from
Nov 28, 2022

Conversation

bfineran
Copy link
Member

torch.linalg.vector_norm is not supported on older pytorch versions, this change includes a fallback to norm

test_plan:
error occurred locally using torch 1.7.1, verified this fix unblocks the issue

@bfineran bfineran self-assigned this Nov 17, 2022
@bfineran bfineran merged commit b172213 into main Nov 28, 2022
@bfineran bfineran deleted the torch_version_norm_fix branch November 28, 2022 22:36
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.

None yet

3 participants