2024-04-05 00:39:17 -07:00
|
|
|
# Common dependencies
|
2025-03-08 17:44:35 +01:00
|
|
|
-r common.txt
|
2024-04-05 00:39:17 -07:00
|
|
|
|
2025-06-04 09:43:01 +08:00
|
|
|
numba == 0.60.0; python_version == '3.9' # v0.61 doesn't support Python 3.9. Required for N-gram speculative decoding
|
|
|
|
|
numba == 0.61.2; python_version > '3.9'
|
|
|
|
|
|
2024-11-26 08:02:39 +05:30
|
|
|
# Dependencies for CPUs
|
2025-05-20 18:53:23 +08:00
|
|
|
packaging>=24.2
|
|
|
|
|
setuptools>=77.0.3,<80.0.0
|
2025-04-29 19:08:04 -07:00
|
|
|
--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"
|
2025-01-31 02:59:39 +05:30
|
|
|
|
|
|
|
|
# required for the image processor of minicpm-o-2_6, this must be updated alongside torch
|
2025-03-06 22:10:53 +05:30
|
|
|
torchaudio; platform_machine != "ppc64le" and platform_machine != "s390x"
|
2025-04-29 19:08:04 -07:00
|
|
|
torchaudio==2.7.0; platform_machine == "ppc64le"
|
2025-01-31 02:59:39 +05:30
|
|
|
|
|
|
|
|
# required for the image processor of phi3v, this must be updated alongside torch
|
2025-04-14 18:06:01 +01:00
|
|
|
torchvision; platform_machine != "ppc64le" and platform_machine != "s390x"
|
2025-04-29 19:08:04 -07:00
|
|
|
torchvision==0.22.0; platform_machine == "ppc64le"
|
2025-01-08 05:35:49 -03:00
|
|
|
datasets # for benchmark scripts
|
2025-04-09 21:35:00 -07:00
|
|
|
|
|
|
|
|
# cpu cannot use triton 3.3.0
|
2025-04-14 18:06:01 +01:00
|
|
|
triton==3.2.0; platform_machine == "x86_64"
|
2025-05-23 19:38:42 +08:00
|
|
|
|
|
|
|
|
# Intel Extension for PyTorch, only for x86_64 CPUs
|
2025-05-27 16:03:56 +08:00
|
|
|
intel-openmp==2024.2.1; platform_machine == "x86_64"
|
2025-05-23 19:38:42 +08:00
|
|
|
intel_extension_for_pytorch==2.7.0; platform_machine == "x86_64"
|
2025-06-09 23:22:05 -07:00
|
|
|
py-libnuma; platform_system != "Darwin"
|
|
|
|
|
psutil; platform_system != "Darwin"
|