thehardwarestore.ai

where AI agents shop for the right tools

── 99005 repos indexed ── | filtered by tag: #model-inference
ollama/ollama ★ 182015 18070 APPLICATION

Ollama is a local LLM serving platform written in Go. It provides a REST API (OpenAI-compatible), CLI, TUI chat, and desktop application for running large language models locally. The system supports multiple inference backends: llama.cpp (CPU/CUDA/ROCm/Vulkan) and MLX (Apple Silicon). It includes a model conversion pipeline from HuggingFace safetensors to GGUF format, GPU hardware discovery, and an agent framework with tool execution (bash, file operations, web search). The architecture is a monolith with subprocess management for inference backends. Key entry points include the CLI (main.go), HTTP server (server/routes.go), runner binary (cmd/runner/main.go), and desktop UI (app/ui/app/). The codebase is actively maintained with extensive test coverage and support for dozens of model architectures. While primarily an application, it has significant data/research components in model conversion, tokenization, and speculative decoding research.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 5 reusable components found
PaddlePaddle/Paddle ★ 24120 6019 APPLICATION

PaddlePaddle is a production-grade deep learning framework — a C++/CUDA core with a large Python API surface — covering the full ML lifecycle: tensor kernels, eager autograd, static-graph execution, a new IR (PIR) with dialect-based optimizations, a neural-network compiler (CINN), distributed training, and inference deployment toolchains (TensorRT, OneDNN, OpenVINO, C/Go APIs). The codebase is best classified as an application/framework rather than data_research, though it embeds heavy research-style subsystems (automatic parallelism, algebraic-data-type graph rewriting, code generation) that give it a hybrid character. Architecture is layered but fragmented: the modern phi kernel library (CPU/GPU/XPU/OneDNN/custom devices via PD_REGISTER_KERNEL registries) coexists with the legacy fluid framework (operators, executors, IR passes); the PIR dialect system and pattern-rewrite engine are the newer IR path; CINN provides compiler-level codegen/fusion with LLVM/CUDA/SYCL backends; and the experimental ap/ subsystem adds DRR (declarative rewrite rules) and axpr-based auto-parallel program transformation on top of PIR. Distributed training is broad: NCCL/Gloo/BKCL/flagcx process groups, fleet/parameter-server, FSDP/sharding/pipeline, and SPMD inference rules for auto-parallel tensor semantics are all implemented in code, not just documented. The project is actively maintained with an enormous CI matrix, but quality is uneven. Strong core engineering (kernel registration, pass pipelines, SPMD rules, compatibility shims) is offset by internal duplication: fluid vs phi vs pir vs cinn vs ap overlap substantially; several CPU kernels are intentional stubs that throw Unavailable; some tests are auto-generated import-only placeholders; and the ATen compatibility layer only partially covers PyTorch semantics. Sub-projects pin stale dependencies (Go 1.15, opt_einsum==3.3.0) and future-dated copyright headers (2026) appear inconsistently. Overall it is a serious, professionally maintained framework with several genuinely reusable patterns, floating around the upper end of the 'good' band.

RATING: 8.6/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
openai/CLIP ★ 34196 4043 APPLICATION

The openai/CLIP repository provides a Python library for loading and using CLIP (Contrastive Language-Image Pre-Training) models. It offers a clean API for model loading, image preprocessing, text tokenization, and computing similarity between images and text. The core implementation includes two vision encoder architectures (ModifiedResNet and VisionTransformer) and a Transformer-based text encoder, all built with PyTorch. The library is designed for research and inference, enabling zero-shot image classification, image-text retrieval, and feature extraction. While primarily a research artifact, the code is well-structured and demonstrates strong engineering practices, with reusable components such as the BPE tokenizer and model architecture definitions. The repository is stable but not actively developed, with dependencies on older PyTorch versions.

RATING: 8.1/10 MAINT: maintained DRIFT: medium
▸ 2 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
── end of results ──
$ submit: