-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX Use torch.long instead of torch.int in LoftQ for PyTorch versions…
… <2.x (#1320) Solves #1307 For PyTorch < v2.x, using torch.int does not work for indexing, thus using torch.long.
- Loading branch information
1 parent
8665e2b
commit 4186c9b
Showing
2 changed files
with
57 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters