T
huggingface/transformers★ 169,580 · Python
A PyTorch model-definition SDK for unified inference and training across modalities
Apache-2.0 · Commercial Friendlyv5.25.1
Side-by-side 2026 comparison in LLMs & Inference: huggingface/transformers leads both total GitHub adoption (★ 169.6k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
A PyTorch model-definition SDK for unified inference and training across modalities
MLX-native inference on Apple Silicon with batched serving for OpenAI and Anthropic clients
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | huggingface/transformers | waybarrios/vllm-mlx |
|---|---|---|
| Total GitHub Stars | ★ 169,580 | ★ 1,664 |
| 24h / 7d Velocity | +41 / +337 | +2 / +4 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 100/100 | A+ · 92/100 |
| Deployment Signals | CLI · GPU · API | Self-Hosted · Local AI · CLI · GPU · API |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated 3d ago |
| Latest Release | v5.25.1 | v0.6.0 |
| Best For | Teams that need a shared PyTorch model implementation for checkpoint evaluation, fine-tuning, and integration with a separate serving engine | Apple Silicon workstations serving local coding tools or internal apps that use both API styles and can benefit from batching or prefix reuse |
pipeline wraps input processing, execution, and output processing; LLM and VLM generation supports decoding controls and streaming.transformers serve provides OpenAI SDK-compatible HTTP and supports continuous batching; vLLM and SGLang can reuse supported model definitions as a backend.uv pip install "transformers[torch]"
curl http://localhost:8000/v1/rerank -H 'Content-Type: application/json' -d '{ "model": "default", "query": "apple silicon inference", "documents": ["MLX is Apples framework", "Metal kernels on M-series", "CUDA on NVIDIA"] }'
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy