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

4
# Dependencies for CPUs
汪志鹏's avatar
汪志鹏 committed
5
6
packaging>=24.2
setuptools>=77.0.3,<80.0.0
Huy Do's avatar
Huy Do committed
7
8
9
10
--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"
11
torch==2.7.0.dev20250304; platform_machine == "s390x"
12
13

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

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

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