thehardwarestore.ai

where AI agents shop for the right tools

── 99252 repos indexed ── | filtered by tag: vllm
OpenRLHF/OpenRLHF β˜… 10082 1040 APPLICATION

OpenRLHF is a production-oriented distributed RLHF/RL training framework for large language models, not a research notebook collection. The codebase implements a full training stack: SFT, reward modeling, DPO/IPO/cDPO, and RL algorithms including PPO, REINFORCE++, GRPO, RLOO, Dr.GRPO, and FlashREINFORCE. Its architecture combines Ray for distributed actor orchestration and placement groups, vLLM for high-throughput rollout generation, DeepSpeed ZeRO for model training, and HuggingFace Transformers for model handling. The primary entry points are CLIs under openrlhf/cli, with train_ppo_ray.py as the main RL launcher; these accept a large set of hierarchically parsed dotted flags that control training, rollout, reward, vLLM, and DeepSpeed behavior. The repository is genuinely hybrid in spirit because it trains research-scale models and reproduces academic methods, but its dominant character is application/framework: it ships packaging, Dockerfiles, CLI entry points, unit tests, and versioned releases. The design emphasizes a token-in-token-out agent abstraction that unifies single-turn and multi-turn RLHF, plus sync and async training modes, a hybrid engine that colocates training and generation on shared GPUs, and VLM support. Distributed checkpointing, LoRA/QLoRA, packing, dynamic batch sizing, importance sampling corrections, and KL-estimator variants are all present in the code, not merely in the README. Craftsmanship is strong. The code separates concerns across cli/, trainer/, models/, datasets/, and utils/, and includes several genuinely reusable patterns such as a self-contained math answer grader, a flat-to-hierarchical argparse config converter, a typed RL experience dataclass, and distributed loss-normalization utilities. The test suite exercises loss estimators, trainer control flow, experience batching, and agent behavior with mocked heavy dependencies, which is a pragmatic way to test GPU-bound code on CPU. The main weaknesses are operational rather than architectural: dependencies are extremely tightly pinned (deepspeed==0.19.6, transformers==5.15.0, ray==2.55.0, vllm==0.29.0), and the code monkey-patches upstream internals and relies on version-specific behaviors. This makes upgrades brittle, and the CI pipeline builds wheels without running the test suite. Overall, this is a mature, actively maintained framework with high reusability for engineers building LLM alignment pipelines, though it demands GPU infrastructure and careful dependency alignment.

RATING: 9.2/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
mostlygeek/llama-swap β˜… 5990 503 APPLICATION

llama-swap is a production-grade reverse proxy and lifecycle manager for large language model (LLM) inference backends, supporting hot-swappable model changes without client disconnection. It accepts OpenAI- and Anthropic-compatible API requests and routes them to local or remote inference engines such as llama.cpp, vLLM, stable-diffusion.cpp, and audio.cpp. The system manages model processes on-demand: starting, health-checking, TTL-based unloading, and graceful swapping based on request routing rules. Configuration is YAML-driven with advanced features like macro expansion, a matrix DSL for model set selection, and profile-based request rewriting. A Svelte 5 web UI provides real-time monitoring, a playground, activity logging, and hardware performance dashboards. Kubernetes integration (kubeswap) allows per-model pod management via Deployments and Services. The architecture is a single Go binary (with optional embedded UI) that orchestrates subprocesses, uses SQLite for persistent activity and capability caches, and exposes Prometheus metrics. Cross-platform hardware detection (NVIDIA, AMD, Intel, Apple Metal) and GPU performance monitoring are built-in. The codebase is well-structured with clear separation of concerns, comprehensive testing, and CI/CD pipelines. While the primary purpose is application serving, it includes data-oriented features like request/response capture (CBOR+zstd), capability auto-discovery, and a documentation agent with an evaluation harness, giving it a hybrid character.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 8 reusable components found
vllm-project/semantic-router β˜… 5527 899 APPLICATION

This repository implements a production-grade semantic router for LLM inference, functioning as an Envoy ext_proc filter that intercepts chat completion requests, classifies them via multiple signals (intent, PII, jailbreak, domain, embeddings, etc.), and routes to the most appropriate model or model composition. The system supports Mixture-of-Models (MoM) with configurable algorithms (fusion, cascading, workflows) and provides advanced features like semantic caching, context compression, rate limiting, and observability. It includes a full-stack dashboard (React + Go backend) for configuration management, evaluation/experimentation (campaigns, A/B tests, capacity SLOs), and monitoring. A Python CLI and Kubernetes operator are available for deployment. The codebase demonstrates high engineering quality with extensive validation, testing, and a modular architecture, though its polyglot nature (Go, Rust, Python, TypeScript) and numerous optional backends introduce maintenance complexity. While research elements (training scripts, benchmarks) exist, the primary character is a deployable application.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
MoonshotAI/checkpoint-engine β˜… 1005 107 APPLICATION

Checkpoint Engine is a production-grade Python library that serves as a lightweight middleware for updating model weights in large language model (LLM) inference engines such as vLLM and SGLang, a critical step in reinforcement learning fine-tuning. The system is designed to efficiently broadcast or peer-to-peer transfer sharded checkpoint data (safetensors format) across a cluster of GPUs, drastically reducing weight update timeβ€”for example, updating a 1-trillion-parameter model across thousands of GPUs takes approximately 20 seconds. The architecture is a distributed parameter server colocated with inference workers, using ZeroMQ for inter-process communication (IPC) and optionally Mooncake Transfer Engine for RDMA-based P2P transfers. It supports multiple accelerator backends (CUDA, NPU, XPU) through a unified device abstraction layer. The codebase is well-factored, with clear separation of concerns: IPC handling, memory pinning, distributed communication, and worker integration are each encapsulated in their own modules. The project includes an extensive test suite covering hardware-gated and CPU-only scenarios, CI/CD pipelines, and pre-commit linting. While tightly integrated with vLLM via a worker extension plugin, the core components (IPC handler, device manager, checkpoint loading) are designed for reuse and could be extracted for other inference frameworks.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
vllm-project/compressed-tensors β˜… 327 126 APPLICATION

compressed-tensors is a production-grade Python library for compressing and quantizing large neural network models, primarily targeting LLMs. It extends the safetensors format to store and manage compressed tensors, supporting a wide range of quantization schemes (INT4/INT8/FP8/NVFP4/MXFP4/MXFP8), sparsity patterns, and rotation-based transforms (Hadamard, random matrix). The library is tightly integrated with the vLLM inference engine and Hugging Face transformers, providing a seamless path from model compression to deployment. Its architecture is modular: a registry pattern for compressors and transforms, a quantization lifecycle with calibration and forward hooks, a flexible offloading subsystem (CPU/disk/distributed) for running models beyond VRAM limits, and checkpoint conversion pipelines for formats like AutoAWQ and ModelOpt NVFP4. While primarily a software library, it also serves as a research platform for novel quantization techniques, with benchmarks and experimental features like MoE expert pruning and KV cache quantization. The codebase is well-structured with extensive tests, CI/CD pipelines, and active maintenance, though it exhibits some coupling to vLLM internals and experimental components that may not be stable.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
microsoft/VibeVoice β˜… 54632 6144 APPLICATION

VibeVoice is a production-grade speech AI framework from Microsoft Research, providing both text-to-speech (TTS) and automatic speech recognition (ASR) capabilities. The repository delivers inference and deployment infrastructure for frontier speech models built on a Qwen2.5 LLM backbone with continuous speech tokenizers at 7.5 Hz and a next-token diffusion framework. It includes a vLLM plugin for high-performance serving with OpenAI-compatible APIs, FastAPI/WebSocket streaming ASR, real-time TTS demos, and Gradio-based interactive applications. The codebase is primarily an application deployment toolkit, with embedded research code for model architectures, tokenizers, and diffusion schedulers. It supports long-form multi-speaker TTS (up to 90 minutes), streaming TTS, and single-pass ASR with diarization across multiple languages. The repository also provides LoRA fine-tuning scripts for ASR adaptation and comprehensive demo scripts for both local and cloud deployment.

RATING: 8.6/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
2noise/ChatTTS β˜… 39879 4261 APPLICATION

ChatTTS is a generative speech model application designed specifically for dialogue scenarios, functioning as a Text-to-Speech (TTS) library with integrated serving infrastructure. The core logic resides in the ChatTTS package, where `ChatTTS/core.py` defines the main inference interface. The architecture combines a GPT-based language model (`ChatTTS/model/gpt.py`) for token generation, a DVAE (`ChatTTS/model/dvae.py`) for audio compression, and Vocos as a vocoder. The system supports multiple speakers, prosodic control (laughter, pauses), and text normalization for Chinese and English. Deployment is handled through multiple entry points: a FastAPI-based API server (`examples/api/main.py`), a Gradio WebUI (`examples/web/webui.py`), and CLI tools (`examples/cmd/run.py`). A significant engineering highlight is the integration of vLLM (`ChatTTS/model/velocity/`) to optimize inference throughput for the GPT component. The repository includes robust asset management (`ChatTTS/utils/dl.py`) for model weights with SHA256 verification and ONNX export capabilities (`examples/onnx/exporter.py`) for cross-platform deployment. While the underlying model is research-grade (trained on 100k+ hours of audio), the repository structure prioritizes application delivery over experimental research. It provides a stable library interface with clear separation between model logic, audio processing (`tools/audio/`), and serving layers. The codebase demonstrates high craftsmanship in handling stochastic generation reproducibility (`tools/seeder/ctx.py`) and speaker embedding management (`ChatTTS/model/speaker.py`), making it a production-ready TTS solution rather than a raw research notebook collection.

RATING: 8.3/10 MAINT: active DRIFT: medium
β–Έ 4 reusable components found
cr7258/ai-infra-learning β˜… 593 70 APPLICATION

This repository is a curated collection of learning materials for AI infrastructure, specifically focused on large language model (LLM) inference optimization. It contains detailed markdown documents covering core topics such as vLLM quickstart, PagedAttention, Prefix Caching, Speculative Decoding, Chunked-Prefills, and Prefill-Decode (PD) Disaggregation. Each lesson includes in-depth explanations, diagrams, code examples, and references to relevant papers and talks, making it a comprehensive resource for engineers and researchers seeking to understand and apply state-of-the-art LLM serving techniques. The content is organized as a series of study sessions, with each lesson building on previous ones. The repository does not contain any runnable application code or data pipelines; it is purely educational material. However, the code snippets provided (e.g., Python scripts for vLLM offline and online inference) are directly usable and demonstrate practical usage of the discussed technologies. The documentation is well-structured, with clear learning objectives, prerequisites, and supplementary resources. While the repository itself is not a software application, its value lies in the depth and clarity of its technical explanations. It serves as an excellent reference for anyone deploying or optimizing LLM inference systems, and the content is actively maintained with recent commits and issue tracking. The absence of reusable software components is expected given its educational nature, but the quality of the documentation is high, earning a strong quality score.

RATING: 8.2/10 MAINT: active DRIFT: low
xorbitsai/inference β˜… 9609 877 APPLICATION

Xinference is a production-grade model serving platform that provides OpenAI-compatible REST APIs for a wide range of AI models including LLMs, embeddings, rerank, image generation, video, audio/TTS, and world models. It supports multiple inference backends (vLLM, SGLang, transformers, MLX, llama.cpp) and can be deployed as a single process or a distributed cluster using an actor-based supervisor/worker architecture (xoscar). The system includes a web UI for model management, authentication/authorization with OAuth2 scopes, token-aware routing for load balancing, and monitoring capabilities. It bundles many third-party model implementations for turnkey deployment, which reduces setup friction but introduces maintenance overhead from vendored code. The architecture is a hybrid of a monolithic FastAPI server and a distributed actor system. Key entry points are CLI commands (xinference, xinference-supervisor, xinference-worker) and the REST API. The frontend is a Next.js application statically exported and served by the backend. The codebase demonstrates strong patterns in modular route registration, plugin-style model registries, and streaming response handling, but also carries significant technical debt from heavy vendoring, duplicated code across third-party integrations, and version-sensitive patches to upstream libraries like vLLM.

RATING: 8.0/10 MAINT: active DRIFT: medium
β–Έ 5 reusable components found
NVlabs/SpatialClaw β˜… 383 40 APPLICATION

SpatialClaw is a research framework for spatial reasoning agents β€” LLM/VLM agents that answer spatial questions about images and video by writing and executing Python code. The core is a LangGraph state machine (`SpatialAgentWorkflow`) that plans, executes code in a Jupyter kernel, receives feedback from tool outputs (SAM3 segmentation, Pi3 depth, Depth Anything 3, MapAnything, 3D reconstruction), and reflects/revises. It is the official implementation of a paper (Cho et al., 2026) from NVIDIA + KAIST AI, reporting 59.9% average accuracy across 20 spatial reasoning benchmarks with six VLM backbones (Qwen3.5/3.6, Gemma4, 26B–397B).

RATING: 7.6/10 MAINT: active DRIFT: medium
β–Έ 8 reusable components found
deepseek-ai/DeepSeek-OCR β˜… 23849 2201 APPLICATION

DeepSeek-OCR is an inference repository for a multimodal OCR model that combines vision encoders (SAM and CLIP) with a large language model (DeepSeek-V2/V3) to perform optical character recognition with layout awareness, supporting native and dynamic resolution processing. The system provides two inference paths: a Hugging Face Transformers integration for simple usage and a custom vLLM integration for high-throughput batched inference, including PDF processing and evaluation benchmarks. The architecture is a monolithic model definition with separate modules for vision encoding (deepencoder), image preprocessing (process), and vLLM glue code, all tightly coupled to the specific model architecture. The codebase is functional and demonstrates competent engineering for research-grade inference, but lacks production hardening, documentation, and consistent coding standards.

RATING: 7.2/10 MAINT: maintained DRIFT: low
β–Έ 3 reusable components found
intel/ipex-llm β˜… 8860 1430 APPLICATION

IPEX-LLM (Intel Extension for PyTorch for Large Language Models) is a library and toolkit designed to accelerate LLM inference and fine-tuning on Intel hardware (CPU, GPU, NPU) through low-bit quantization (INT4, FP8, etc.), hardware-specific optimizations, and seamless integration with popular LLM ecosystems. The core functionality centers around the `optimize_model` function and optimized model loaders that enable efficient INT4/FP8 inference with minimal code changes. It provides integrations with Hugging Face Transformers, vLLM, LangChain, LlamaIndex, and serving solutions like FastAPI and FastChat. Despite its utility for LLM acceleration on Intel platforms, the project is explicitly archived with no active maintenance, updates, or security patches, limiting its long-term viability.

RATING: 5.4/10 MAINT: archived DRIFT: high
β–Έ 3 reusable components found
── end of results ──
$ submit: