cpu.txt 1.01 KB
Newer Older
1
--extra-index-url https://download.pytorch.org/whl/cpu
2
# Common dependencies
3
-r common.txt
4

5
6
setuptools==77.0.3 # this version can reuse CMake build dir

7
numba == 0.65.0; platform_machine != "s390x" # Required for N-gram speculative decoding
8

9
# Dependencies for CPUs
10
11
torch==2.11.0+cpu; platform_machine == "x86_64" or platform_machine == "s390x" or platform_machine == "aarch64"
torch==2.11.0; platform_system == "Darwin" or platform_machine == "ppc64le" or platform_machine == "riscv64"
12
13

# required for the image processor of minicpm-o-2_6, this must be updated alongside torch
14
torchaudio; platform_machine != "s390x" and platform_machine != "riscv64"
15
16

# required for the image processor of phi3v, this must be updated alongside torch
17
torchvision; platform_machine != "s390x"  and platform_machine != "riscv64"
18

19
# Intel Extension for PyTorch, only for x86_64 CPUs
20
intel-openmp==2024.2.1; platform_machine == "x86_64"
21
22
23

# Use this to gather CPU info and optimize based on ARM Neoverse cores
py-cpuinfo; platform_machine == "aarch64"