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

Relax triton requirements for compatibility with pytorch 2.1 and newer #1802

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

eindenbom
Copy link
Contributor

PyPI package of PyTorch 2.1 uses triton==2.1.0, which makes it incompatible with whisper due to overly strict requirement triton==2.0.0.

@jongwook jongwook merged commit 1cea435 into openai:main Nov 13, 2023
8 checks passed
@eindenbom eindenbom deleted the patch-1 branch November 13, 2023 17:43
@eindenbom
Copy link
Contributor Author

eindenbom commented Nov 13, 2023

@jongwook, what is the schedule for the next PyPI release?

xingjianan added a commit to xingjianan/whisper that referenced this pull request Aug 19, 2024
Similar to openai#1802, but now when pytorch upgrades to 2.4, it requires triton==3.0.0. I am not sure if it makes sense to remove the upper bound version constraints
@@ -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")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • requirement.append("triton>=2.0.0,<3")

jongwook pushed a commit that referenced this pull request Sep 10, 2024
#2307)

* Relax triton requirements for compatibility with pytorch 2.4 and newer

Similar to #1802, but now when pytorch upgrades to 2.4, it requires triton==3.0.0. I am not sure if it makes sense to remove the upper bound version constraints

* Update requirements.txt
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.

3 participants