common.txt 2.44 KB
Newer Older
1
regex # Replace re for higher-performance regex matching
2
cachetools
3
4
psutil
sentencepiece  # Required for LLaMA tokenizer.
5
numpy
6
requests >= 2.26.0
7
tqdm
8
blake3
yhu422's avatar
yhu422 committed
9
py-cpuinfo
10
transformers >= 4.53.2
11
huggingface-hub[hf_xet] >= 0.33.0  # Required for Xet downloads.
12
tokenizers >= 0.21.1  # Required for fast incremental detokenization.
13
protobuf # Required by LlamaTokenizer.
14
fastapi[standard] >= 0.115.0 # Required by FastAPI's form models in the OpenAI API server's audio transcriptions endpoint.
15
aiohttp
16
openai >= 1.87.0, <= 1.90.0 # Ensure modern openai package (ensure ResponsePrompt exists in type.responses and max_completion_tokens field support)
17
pydantic >= 2.10
18
prometheus_client >= 0.18.0
19
pillow  # Required for image processing
20
prometheus-fastapi-instrumentator >= 7.0.0
21
tiktoken >= 0.6.0  # Required for DBRX tokenizer
22
lm-format-enforcer >= 0.10.11, < 0.11
23
llguidance >= 0.7.11, < 0.8.0; platform_machine == "x86_64" or platform_machine == "arm64" or platform_machine == "aarch64"
24
25
26
outlines_core == 0.2.10
# required for outlines backend disk cache
diskcache == 5.6.3
27
lark == 1.2.2
28
xgrammar == 0.1.21; platform_machine == "x86_64" or platform_machine == "aarch64" or platform_machine == "arm64"
29
typing_extensions >= 4.10
30
filelock >= 3.16.1 # need to contain https://github.com/tox-dev/filelock/pull/317
31
partial-json-parser # used for parsing partial JSON outputs
32
pyzmq >= 25.0.0
33
msgspec
34
gguf >= 0.13.0
35
importlib_metadata; python_version < '3.10'
Julien Denize's avatar
Julien Denize committed
36
mistral_common[image,audio] >= 1.8.2
37
opencv-python-headless >= 4.11.0    # required for video IO
38
pyyaml
39
six>=1.16.0; python_version > '3.11' # transitive dependency of pandas that needs to be the latest version for python 3.12
40
setuptools>=77.0.3,<80; python_version > '3.11' # Setuptools is used by triton, we need to ensure a modern version is installed for 3.12+ so that it does not try to import distutils, which was removed in 3.12
41
einops # Required for Qwen2-VL.
42
compressed-tensors == 0.10.2 # required for compressed-tensors
43
depyf==0.19.0 # required for profiling and debugging with compilation config
44
cloudpickle # allows pickling lambda functions in model_executor/models/registry.py
45
watchfiles # required for http server to monitor the updates of TLS files
46
python-json-logger # Used by logging as per examples/others/logging_configuration.md
47
scipy # Required for phi-4-multimodal-instruct
48
ninja # Required for xgrammar, rocm, tpu, xpu
49
pybase64 # fast base64 implementation
50
cbor2 # Required for cross-language serialization of hashable objects