mirror of
https://github.com/openai/whisper.git
synced 2025-11-23 22:15:58 +00:00
Fix triton env marker (#1887)
This commit is contained in:
parent
e58f288045
commit
8bc8860694
@ -4,3 +4,4 @@ torch
|
||||
tqdm
|
||||
more-itertools
|
||||
tiktoken
|
||||
triton>=2.0.0,<3;platform_machine=="x86_64" and sys_platform=="linux" or sys_platform=="linux2"
|
||||
|
||||
7
setup.py
7
setup.py
@ -1,6 +1,6 @@
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
import pkg_resources
|
||||
from setuptools import find_packages, setup
|
||||
@ -28,11 +28,10 @@ setup(
|
||||
url="https://github.com/openai/whisper",
|
||||
license="MIT",
|
||||
packages=find_packages(exclude=["tests*"]),
|
||||
install_requires=requirements
|
||||
+ [
|
||||
install_requires=[
|
||||
str(r)
|
||||
for r in pkg_resources.parse_requirements(
|
||||
open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
|
||||
Path(__file__).with_name("requirements.txt").open()
|
||||
)
|
||||
],
|
||||
entry_points={
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user