cpu.txt 1 KB
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
12

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

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

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

# Intel Extension for PyTorch, only for x86_64 CPUs
25
intel-openmp==2024.2.1; platform_machine == "x86_64"
26
intel_extension_for_pytorch==2.7.0; platform_machine == "x86_64"