Skip to content

Commit

Permalink
Try installing triton only if linux & x86_64 (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
jongwook committed Mar 7, 2023
1 parent 4b0d5e5 commit 924e1f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import platform
import sys

import pkg_resources
Expand All @@ -11,8 +12,8 @@ def read_version(fname="whisper/version.py"):


requirements = []
if sys.platform.startswith("linux"):
triton_requirement = "triton>=2.0.0.dev20221202"
if sys.platform.startswith("linux") and platform.machine() == "x86_64":
triton_requirement = "triton==2.0.0"
try:
import re
import subprocess
Expand Down

0 comments on commit 924e1f8

Please sign in to comment.