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

4
numba == 0.61.2; platform_machine != "s390x" # Required for N-gram speculative decoding
5

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

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

# required for the image processor of phi3v, this must be updated alongside torch
15
torchvision; platform_machine != "s390x"
16

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

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