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-03-29 12:11:51 +08:00
|
|
|
numba == 0.60.0; python_version == '3.9' # v0.61 doesn't support Python 3.9. Required for N-gram speculative decoding
|
2025-04-10 15:59:37 +08:00
|
|
|
numba == 0.61.2; python_version > '3.9'
|
2025-03-05 09:55:00 +05:30
|
|
|
|
2024-04-05 00:39:17 -07:00
|
|
|
# Dependencies for NVIDIA GPUs
|
2025-08-02 19:42:00 -07:00
|
|
|
ray[cgraph]>=2.48.0 # Ray Compiled Graph, required for pipeline parallelism in V1.
|
2025-08-29 03:57:35 -07:00
|
|
|
torch==2.8.0
|
|
|
|
|
torchaudio==2.8.0
|
2024-06-24 12:11:53 +08:00
|
|
|
# These must be updated alongside torch
|
2025-08-29 03:57:35 -07:00
|
|
|
torchvision==0.23.0 # Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
|
|
|
|
|
# https://github.com/facebookresearch/xformers/releases/tag/v0.0.32.post1
|
|
|
|
|
xformers==0.0.32.post1; platform_system == 'Linux' and platform_machine == 'x86_64' # Requires PyTorch >= 2.8
|