cpu.txt 867 Bytes
Newer Older
1
# Common dependencies
2
-r common.txt
3

4
# Dependencies for CPUs
Huy Do's avatar
Huy Do committed
5
6
7
8
--extra-index-url https://download.pytorch.org/whl/cpu
torch==2.7.0+cpu; platform_machine == "x86_64"
torch==2.7.0; platform_system == "Darwin"
torch==2.7.0; platform_machine == "ppc64le" or platform_machine == "aarch64"
9
torch==2.7.0.dev20250304; platform_machine == "s390x"
10
11

# required for the image processor of minicpm-o-2_6, this must be updated alongside torch
12
torchaudio; platform_machine != "ppc64le" and platform_machine != "s390x"
Huy Do's avatar
Huy Do committed
13
torchaudio==2.7.0; platform_machine == "ppc64le"
14
15

# required for the image processor of phi3v, this must be updated alongside torch
16
torchvision; platform_machine != "ppc64le" and platform_machine != "s390x"
Huy Do's avatar
Huy Do committed
17
torchvision==0.22.0; platform_machine == "ppc64le"
18
datasets # for benchmark scripts
19
20

# cpu cannot use triton 3.3.0
21
triton==3.2.0; platform_machine == "x86_64"