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

Update deprecated torch.range and torch.outer #169

Merged
merged 1 commit into from
Oct 22, 2023
Merged

Conversation

kit1980
Copy link
Contributor

@kit1980 kit1980 commented Jul 19, 2023

torch.range and torch.outer are deprecated and will be removed in a future PyTorch release.

Fixed with TorchFix https://github.com/pytorch/test-infra/tree/main/tools/torchfix

@Hanrui-Wang Hanrui-Wang changed the base branch from main to dev October 20, 2023 14:28
@jinleic jinleic merged commit 5ddd723 into mit-han-lab:dev Oct 22, 2023
@jinleic
Copy link
Collaborator

jinleic commented Oct 22, 2023

Thanks for fixing the deprecated functions.

Changes in the codes include replacing torch.range with torch.arange and replacing torch.ger with torch.outer.

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

2 participants