Skip to content

Commit

Permalink
Relax triton requirements for compatibility with pytorch 2.1 and newer (
Browse files Browse the repository at this point in the history
  • Loading branch information
eindenbom authored Nov 13, 2023
1 parent fcfeaf1 commit 1cea435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read_version(fname="whisper/version.py"):

requirements = []
if sys.platform.startswith("linux") and platform.machine() == "x86_64":
requirements.append("triton==2.0.0")
requirements.append("triton>=2.0.0,<3")

setup(
name="openai-whisper",
Expand Down

0 comments on commit 1cea435

Please sign in to comment.