Skip to content

Commit

Permalink
Requirements: Don't use torch 2.2
Browse files Browse the repository at this point in the history
Pytorch released 2.2 without letting the community know first. Pin
the torch version to 2.1.2 until exllamav2 builds for torch 2.2

Signed-off-by: kingbri <[email protected]>
  • Loading branch information
bdashore3 committed Jan 30, 2024
1 parent 751627e commit 3605067
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion requirements-amd.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Torch
# Patch until torch 2.2 is supported
--extra-index-url https://download.pytorch.org/whl/rocm5.6
torch
torch < 2.2, >= 2

# Exllamav2
https://github.com/turboderp/exllamav2/releases/download/v0.0.12/exllamav2-0.0.12+rocm5.6-cp311-cp311-linux_x86_64.whl; python_version == "3.11"
Expand Down
3 changes: 2 additions & 1 deletion requirements-cu118.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Torch
# Patch until torch 2.2 is supported
--extra-index-url https://download.pytorch.org/whl/cu118
torch
torch < 2.2, >= 2

# Exllamav2

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Torch
# Patch until torch 2.2 is supported
--extra-index-url https://download.pytorch.org/whl/cu121
torch
torch < 2.2, >= 2

# Exllamav2

Expand Down

0 comments on commit 3605067

Please sign in to comment.