Skip to content

Commit 4f44505

Browse files
committed
requirements: manually add extra index urls
1 parent 911be3c commit 4f44505

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

requirements/cpu.txt

+1
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,4 @@ werkzeug==3.1.3
138138
wsproto==1.2.0
139139
xarray==2024.11.0
140140
xyzservices==2024.9.0
141+
--extra-index-url https://download.pytorch.org/whl/cpu

requirements/cu124.txt

+1
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,4 @@ werkzeug==3.1.3
151151
wsproto==1.2.0
152152
xarray==2024.11.0
153153
xyzservices==2024.9.0
154+
--extra-index-url https://download.pytorch.org/whl/cu124

requirements/generate.sh

+4
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ uv export --no-hashes > "${SCRIPT_DIR}/base.txt"
1414
uv export --no-hashes --extra cpu > "${SCRIPT_DIR}/cpu.txt"
1515
uv export --no-hashes --extra cu124 > "${SCRIPT_DIR}/cu124.txt"
1616
uv export --no-hashes --extra pypi > "${SCRIPT_DIR}/pypi.txt"
17+
18+
# TODO: uv should take care of that
19+
echo "--extra-index-url https://download.pytorch.org/whl/cpu" >> "${SCRIPT_DIR}/cpu.txt"
20+
echo "--extra-index-url https://download.pytorch.org/whl/cu124" >> "${SCRIPT_DIR}/cu124.txt"

0 commit comments

Comments
 (0)