Skip to content

Commit bcb7960

Browse files
committed
🧑‍💻 Install torch GPU by default
1 parent 5148e57 commit bcb7960

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.readthedocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ sphinx:
2222
python:
2323
install:
2424
# Install PyTorch CPU version first
25+
- requirements: requirements/requirements_cpu.txt
2526
- requirements: docs/requirements.txt
2627
- requirements: requirements/requirements.txt

docs/requirements.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
2-
--index-url https://download.pytorch.org/whl/cpu
31
furo>=2022.12.7
42
myst-nb>=0.17.1
53
myst-parser>=0.18.1
64
sphinx-copybutton>=0.5.1
75
sphinx-design>=0.3.0
86
sphinx-toolbox>=3.2.0
9-
torch
10-
torchvision

requirements/requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# torch installation
2-
--index-url https://download.pytorch.org/whl/cu126; sys_platform != "darwin"
31
aiohttp>=3.8.1
42
albumentations>=1.3.0
53
bokeh>=3.1.1, <3.6.0

requirements/requirements_cpu.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--index-url https://download.pytorch.org/whl/cpu
2+
torch
3+
torchvision

0 commit comments

Comments
 (0)