forked from Complexity-ML/complexity-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (17 loc) · 643 Bytes
/
Copy pathMakefile
File metadata and controls
24 lines (17 loc) · 643 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Backend-aware install targets.
#
# torch isn't in pyproject extras because pip can't pin an --index-url per
# extra (see pyproject.toml). scripts/install_backend.sh does the right
# thing per backend; these targets are thin aliases.
.PHONY: install install-rocm install-rocm6.4 install-rocm7.0 install-cuda install-cpu
install: install-rocm ## default: ROCm (most AMD AI hosts)
install-rocm:
./scripts/install_backend.sh rocm
install-rocm6.4:
./scripts/install_backend.sh rocm6.4
install-rocm7.0:
./scripts/install_backend.sh rocm7.0
install-cuda:
./scripts/install_backend.sh cuda
install-cpu:
./scripts/install_backend.sh cpu