Skip to content

Commit d055f97

Browse files
committed
build: force torch cpuonly
1 parent b6099a6 commit d055f97

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PIP := $(shell command -v pip3 2> /dev/null || command which pip 2> /dev/null)
22
PYTHON := $(shell command -v python3 2> /dev/null || command which python 2> /dev/null)
33

4-
.PHONY: install dev-install install_conda dev-install_conda tests doc docupdate
4+
.PHONY: install dev-install install_conda dev-install_conda tests doc docupdate servedoc lint typeannot coverage
55

66
pipcheck:
77
ifndef PIP

environment-dev-arm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ dependencies:
1010
- numpy>=1.21.0
1111
- scipy>=1.4.0
1212
- pytorch>=1.2.0
13+
- cpuonly
1314
- pyfftw
1415
- pywavelets
1516
- sympy

environment-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ dependencies:
1010
- numpy>=1.21.0
1111
- scipy>=1.4.0
1212
- pytorch>=1.2.0
13+
- cpuonly
1314
- pyfftw
1415
- pywavelets
1516
- sympy

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
numpy>=1.21.0
22
scipy>=1.4.0
3+
--extra-index-url https://download.pytorch.org/whl/cpu
34
torch>=1.2.0
45
numba
56
pyfftw

0 commit comments

Comments
 (0)