transformers
24 advisories in the AI Sec Watch database name transformers (PyPI). transformers (PyPI) has declared an LLM component as a dependency since 2016-08-17. The most recent advisory that names transformers and states a fix gives 5.10.0.
Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
The first release to declare it was version 0.1.
Advisories
Advisories that name transformers as affected and state PyPI as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.
Time to fix: a median of −59 days from disclosure to the release of the fixed version, over 23 advisories with a dated fix (fastest −93, slowest +48 days). A negative count means the fix was released before the advisory's disclosure date.
Dependencies of the latest release
As declared in PyPI metadata for version 5.23.0. Optional extras are listed with their extra name.
- accelerate[torch]Hugging Face Hub / Transformers
- datasets[quality]FAISS, Hugging Face Hub / Transformers
- deepspeed[deepspeed]Hugging Face Hub / Transformers
- diffusers[testing]Hugging Face Hub / Transformers
- faiss-cpu[retrieval]FAISS
- hf-doc-builder[docs]Hugging Face Hub / Transformers
- huggingface-hubHugging Face Hub / Transformers
- kernels[kernels]Hugging Face Hub / Transformers
- mistral-common[mistral-common]Hugging Face Hub / Transformers
- openai[serving]OpenAI SDK
- optimum-benchmark[benchmark]Hugging Face Hub / Transformers, llama.cpp bindings
- safetensorsHugging Face Hub / Transformers
- timm[timm]Hugging Face Hub / Transformers
- tokenizersHugging Face Hub / Transformers
- sagemaker[sagemaker]reaches LLM
- av[video]
- beautifulsoup4[testing]
- blobfile[tiktoken]
- codecarbon[integrations]
- fastapi[serving]
- filelock[testing]
- fugashi[ja]
- gitpython[quality]
- ipadic[ja]
- jinja2[chat-template]
- libcst[quality]
- librosa[testing]
- nltk[testing]
- num2words[num2words]
- numpy
- optuna[optuna]
- packaging
- parameterized[testing]
- phonemizer[testing]
- pillow[vision]
- protobuf[sentencepiece]
- psutil[testing]
- pydantic[serving]
- pytest[testing]
- pytest-asyncio[testing]
- pytest-env[testing]
- pytest-order[testing]
- pytest-random-order[testing]
- pytest-rerunfailures[testing]
- pytest-rich[testing]
- pytest-timeout[testing]
- pytest-xdist[testing]
- pyyaml
- ray[integrations]
- regex
- rhoknp[ja]
- rich[quality]
- rjieba[testing]
- ruff[quality]
- sacremoses[testing]
- scikit-learn[sklearn]
- sentencepiece[sentencepiece]
- soundfile[audio]
- soxr[audio]
- starlette[serving]
- sudachidict-core[ja]
- sudachipy[ja]
- tensorboard[testing]
- tiktoken[tiktoken]
- timeout-decorator[testing]
- torch[torch]
- torchaudio[audio]
- torchvision[vision]
- tqdm
- transformers-mic[testing]
- transformers-mlinter[quality]
- ty[quality]
- typer
- unidic[ja]
- unidic-lite[ja]
- urllib3[quality]
- uvicorn[serving]
Tracked packages that depend on it
Among the packages in the registry; not every dependent on PyPI.
- accelerate
- aider-chat
- apollo-torch
- auto-gptq
- auto-round
- axolotl
- axolotl-ringmaster
- b12x
- bert-score
- bitsandbytes
- cache-dit
- camel-ai
- chainlit
- chonkie
- colbert-ai
- colpali-engine
- composio-core
- compressed-tensors
- crawl4ai
- datasets
- deepspeed
- detoxify
- diffusers
- distilabel
- docling-core
- dvclive
- evaluate
- farm-haystack
- fastai
- faster-whisper
- fastsafetensors
- fireworks-ai
- flagembedding
- flaml
- flash-linear-attention
- fschat
- funasr
- galore-torch
- garak
- ggml-python
- gliner
- gliner-py
- google-genai
- gptqmodel
- griptape
- gritlm
- guardrails-ai
- guidance
- harbor
- hf-doc-builder