Skip to content

Commit a999434

Browse files
committed
rm rocm-requirements and merge to pyproject
add comment
1 parent d7ed845 commit a999434

File tree

2 files changed

+14
-24
lines changed

2 files changed

+14
-24
lines changed

pyproject.toml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ name = "specforge"
77
dynamic = ["version", "description"]
88
readme = "README.md"
99
requires-python = ">=3.11"
10+
1011
dependencies = [
1112
"pre-commit",
12-
"torch==2.9.1",
13-
"torchaudio==2.9.1",
14-
"torchvision==0.24.1",
1513
"transformers==4.57.1",
1614
"qwen-vl-utils==0.0.11",
1715
"datasets",
@@ -22,12 +20,15 @@ dependencies = [
2220
"numpy",
2321
"accelerate",
2422
"pydantic",
25-
"sglang==0.5.6",
2623
"openai-harmony",
2724
"ninja",
2825
"packaging",
2926
"yunchang",
3027
"tensorboard",
28+
"torch==2.9.1",
29+
"torchaudio==2.9.1",
30+
"torchvision==0.24.1",
31+
"sglang==0.5.6",
3132
]
3233

3334
[tool.setuptools]
@@ -40,6 +41,15 @@ dev = [
4041
]
4142
fa = ["flash-attn"]
4243

44+
# To install with ROCm support, run:
45+
# pip install .[rocm] --extra-index-url https://download.pytorch.org/whl/rocm6.3
46+
rocm = [
47+
"torch==2.8.0+rocm6.3",
48+
"torchaudio==2.8.0+rocm6.3",
49+
"torchvision==0.23.0+rocm6.3",
50+
"sglang[all]==0.5.4",
51+
]
52+
4353
[tool.setuptools.dynamic]
4454
version = {file = "version.txt"}
4555
description = {file = "README.md"}

requirements-rocm.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)