thehardwarestore.ai

where AI agents shop for the right tools

── 98817 repos indexed ── | filtered by tag: #machine-learning
tensorflow/tensorflow ★ 197022 76044 APPLICATION

TensorFlow is a comprehensive, production-grade machine learning framework that provides end-to-end capabilities for building, training, and deploying ML models. The codebase implements a computational graph execution engine with support for eager execution, graph mode, and distributed training across CPUs, GPUs, and TPUs. It features a multi-layered architecture: a C++ core runtime (tensorflow/core) handling graph execution, kernel implementations, and device management; a Python frontend (tensorflow/python) providing high-level APIs like Keras, tf.data, and tf.function; and specialized sub-systems including TensorFlow Lite for mobile/edge deployment, TensorFlow.js for browser/Node.js, and XLA for compiler optimizations. Key entry points include the Python API (tf.*), C API (tensorflow/c), C++ Session/Client APIs, and SavedModel serialization format. The system uses a dataflow graph representation where operations are nodes and tensors are edges, with sophisticated graph optimization passes (Grappler), automatic differentiation, and support for custom operations. External dependencies include Eigen for linear algebra, CUDA/cuDNN for GPU acceleration, Protocol Buffers for serialization, and various third-party libraries managed through Bazel. The repository demonstrates exceptional engineering maturity with comprehensive testing infrastructure, hermetic builds, multi-platform support (Linux, macOS, Windows, Android, iOS), and extensive documentation.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 8 reusable components found
huggingface/transformers ★ 166894 34739 APPLICATION

Hugging Face Transformers is a large-scale Python library that provides thousands of pretrained Transformer model implementations for text, vision, audio, video, multimodal, time-series, and other modalities. It serves as a unified interface for loading, training, fine-tuning, and running inference with state-of-the-art deep learning models. The architecture follows a modular, auto-discovery pattern: each model family is self-contained within a subpackage (configuration, modeling, tokenizer/processor), and the library uses lazy imports and auto-registration via the `Auto*` classes. Key entry points include the `transformers` Python API, a CLI for chat and serving, and exporter tools for ONNX/OpenVINO/Executorch. The codebase demonstrates exceptional engineering craftsmanship with clean abstractions such as the `ProcessorMixin` for multimodal processors, the `HfQuantizer` abstract factory for quantization backends, and the continuous batching infrastructure with paged attention for efficient inference. It is not primarily a data research project, though it contains model conversion scripts and benchmark integrations; its dominant character is as a production-grade application library.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 6 reusable components found
netdata/netdata ★ 80677 6640 APPLICATION

Netdata is a real-time, distributed monitoring and observability platform built as a multi-language agent (C core, Go collectors, Rust sidecars, legacy Python plugins). It collects system, container, application, network, and cloud metrics at per-second resolution, stores them in a custom tiered time-series database (dbengine), and exposes rich query APIs (v1/v2/v3), streaming/replication, ML-based anomaly detection, and an extensive alerting framework. The agent can operate standalone, stream to centralization points, or connect to Netdata Cloud via the ACLK (Agent-Cloud Link) using MQTT and protobuf. It also includes a network topology discovery subsystem, netflow/IPFIX/sFlow ingestion, systemd-journal log management, and an OpenTelemetry-compatible OTLP ingestion path. Architecturally, the repository is a hybrid of a daemon (C) with a plugin system that spawns many independent processes (Go, Python, shell) for metric collection. The Go plugin framework enforces a consistent collector lifecycle (config validation, init, collect, cleanup) with embedded JSON schemas and chart templates. The Rust crates handle high-throughput streams like netflow and journal indexing. The codebase is professionally engineered with extensive test coverage, benchmarks, packaging for multiple Linux distros, Windows, and macOS, and a heavy investment in performance optimizations (arena allocators, lock-free data structures, compressed bitmaps). Despite its size, it exhibits strong modularity and reusable abstractions, though some legacy duplication (e.g., Python vs Go collectors) and a few vendored components remain.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
scikit-learn/scikit-learn ★ 67456 27471 APPLICATION

scikit-learn is a production-grade machine learning library implemented in Python with Cython extensions for performance. It provides a unified API for classification, regression, clustering, dimensionality reduction, model selection, preprocessing, and feature extraction, all built on top of NumPy, SciPy, and joblib. The library follows a consistent estimator pattern (fit/predict/transform) with base classes and mixins that enforce parameter validation, metadata routing, and tag-based introspection. The architecture is modular, with each algorithm group (e.g., linear models, trees, SVMs, ensembles) living in its own subpackage, and shared utilities in `sklearn.utils`. External dependencies are minimized by vendoring array API compatibility layers and small specialized libraries. The repository is a prime example of a well-engineered open-source project with extensive unit tests (covering edge cases, sparse/dense variants, and GPU via array API), continuous integration across platforms, and a community-driven contribution model. In production, scikit-learn is used as a library that users import and call programmatically—not as a service. Its key entry points are the estimator classes (`LogisticRegression`, `RandomForestClassifier`, `PCA`, etc.) and utility functions (`train_test_split`, `cross_val_score`, `GridSearchCV`). Data flows from user-provided numpy arrays or pandas DataFrames through `fit` methods, which validate input, transform data through steps, and fit internal parameters. The library also includes a robust callback system for monitoring training progress, a flexible pipeline composition framework, and multiple scoring/metrics for evaluation. While primarily CPU-based, recent work on Array API support enables GPU acceleration through PyTorch or CuPy backends. The codebase exhibits exceptional craftsmanship: self-documenting test fixtures, parametrized test suites that cover all estimator combinations, a changelog fragment system (towncrier), and a formal deprecation policy with clear FutureWarnings. Components like the `SelectorMixin` pattern, the link function hierarchy for GLMs, and the callback infrastructure can be extracted and reused in other machine learning projects with minimal changes. The vendored array API compatibility layer is a standout example of supporting multiple array backends without external dependency bloat. The repository sets the benchmark for Python ML library design.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
JuliaLang/julia ★ 49182 5982 APPLICATION

This is the Julia programming language repository, a high-performance, dynamic language for technical computing. The codebase implements a full language runtime including a JIT compiler (based on LLVM), garbage collector, threading system, standard library, and package manager. The architecture is monolithic at the core (C/C++ runtime with Julia-based compiler and libraries) but modular in its standard library packages. Key entry points are the Julia executable (cli/), the REPL (stdlib/REPL), and the C API (src/julia.h). Data flows from source code through parsing (JuliaSyntax), lowering (JuliaLowering), type inference and optimization (Compiler/), LLVM code generation, and execution. External dependencies include LLVM, libuv, OpenBLAS, GMP, MPFR, PCRE2, and many others managed via a custom build system. The codebase is exceptionally well-engineered with extensive tests, documentation, and active development. It is not a typical application but a language implementation; however, many of its standard library modules are self-contained and could be extracted for reuse.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
jax-ml/jax ★ 36379 3841 APPLICATION

JAX is a high-performance numerical computing library developed by Google Research. It provides a NumPy-compatible API (jax.numpy), automatic differentiation (jax.grad), just-in-time compilation via XLA (jax.jit), automatic vectorization (jax.vmap), and large-scale parallelization (jax.pmap, jax.shard_map). The library is designed for machine learning research and scientific computing, supporting CPU, GPU (NVIDIA, AMD, Intel), and Google TPU hardware. The system is a hybrid Python/C++ library. The Python layer (jax/) handles function tracing into a JAX intermediate representation (JAXpr), applies transformations (autodiff, batching, sharding), and lowers the computation to MLIR/StableHLO. The C++ backend (jaxlib/) compiles this representation via XLA and manages execution on target hardware. It includes a sophisticated plugin system for hardware backends and a custom kernel DSL (Pallas/Mosaic) for writing high-performance fused operations. While primarily an application/library, JAX has strong research roots. It is explicitly described as a research project, and its experimental/ directory contains rapidly evolving features like custom kernel authoring (Pallas), TensorFlow interop (jax2tf), and sparse array support. The codebase is a blend of production-grade engineering (robust CI, deprecation policies, extensive testing) and cutting-edge research (new autodiff algorithms, novel sharding strategies, experimental hardware support). The repository contains several high-quality, isolated components that are reusable in other Python/C++ projects. These include a file-based LRU cache, a weak-reference LRU cache, thread-safe reentrant hash maps, a lazy module loader, a deprecation framework, and a traceback filtering utility. The core autodiff and JIT compilation patterns are the primary value, but these supporting utilities demonstrate excellent software craftsmanship.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 10 reusable components found
qdrant/qdrant ★ 34859 2705 APPLICATION

Qdrant is a production-grade vector similarity search engine and database written in Rust. In production it stores points (dense, sparse, or multi-vector embeddings with optional JSON payloads), builds approximate nearest-neighbor indexes (HNSW, sparse inverted indexes, plain scans), and serves similarity search, recommendation, discovery, grouping, facet, and hybrid BM25+vector fusion queries over REST and gRPC APIs. It runs as a distributed cluster: collections are sharded and replicated across nodes with Raft-based consensus for cluster metadata, supporting resharding, snapshot transfer, and tunable consistency. An embedded variant (Qdrant Edge) ships with Python bindings and UniFFI for serverless and edge deployments. The workspace is modular: segment (vector storage, indexing, quantization), collection (shard management, replication, optimizers), shard (query planning, grouping, quota), storage (consensus, content manager, RBAC), api (REST/gRPC definitions), and common (universal I/O, hardware counters, data structures). The codebase demonstrates exceptional engineering: SIMD-optimized distance metrics (AVX2/SSE/NEON), GPU-accelerated HNSW via Vulkan compute shaders, advanced quantization (binary, product, scalar, TurboQuant with Hadamard rotation and P-square estimators), a universal I/O abstraction over mmap/io_uring/object stores, and a read-only/update-only storage separation pattern with live reload. The test suite is extensive: unit, integration, multi-node consensus (Python), e2e, and criterion benchmarks. Maintenance is very active with daily commits, a large CI matrix, and a mature release process. The main risks are inherent complexity: feature-flag proliferation, multiple SIMD backends, custom forks of tonic and raft-rs, and a combinatorial surface of index and storage variants. Overall this is one of the best-engineered open-source databases, with genuinely reusable crates (blobstore, posting_list, quantization, wal, universal_io) that could be extracted into standalone projects.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 6 reusable components found
dmlc/xgboost ★ 28801 8913 APPLICATION

XGBoost is an optimized, distributed gradient boosting library (GBDT/GBM) that implements gradient boosted decision trees and linear models for supervised learning tasks including classification, regression, ranking, and survival analysis. It is a production-grade system with a monolithic C++ core (libxgboost) providing the training and inference engine, wrapped by first-class APIs in Python (scikit-learn compatible), R, Java/Scala (XGBoost4J), and C. It supports CPU, GPU (CUDA, SYCL), and distributed training via Rabit, NCCL, Spark, and Dask, along with external memory (out-of-core) training and model serialization (JSON, UBJSON, binary). The architecture is modular: objectives, metrics, tree updaters, and linear updaters are registered via DMLC macros, enabling extensibility through plugins. Data flows from user-provided datasets (via DMatrix, QuantileDMatrix, or custom iterators) through the learner, which builds ensembles of trees using histogram-based, exact, or approximate methods. While primarily a library, it also includes academic research influences (e.g., LambdaRank, AFT survival, SHAP) and a broad ecosystem of demos and benchmarks. The codebase is exceptionally well-engineered with advanced C++ templates, CUDA kernels, and rigorous testing across multiple backends and languages.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
deepspeedai/DeepSpeed ★ 43161 5013 APPLICATION

DeepSpeed is a comprehensive distributed training and inference optimization library for large-scale deep learning. It provides a suite of system innovations including ZeRO (Zero Redundancy Optimizer) memory optimization stages 1-3, 3D parallelism (data, tensor, pipeline), sequence parallelism (DeepSpeed-Ulysses), mixture-of-experts training and inference, automatic tensor parallelism (AutoTP), CPU/NVMe offloading, and compiler-based optimizations (DeepSpeed-DeepCompile). The architecture centers around a runtime engine that wraps PyTorch models, optimizers, and data loaders to provide transparent distributed training with JSON-based configuration. Key entry points include `deepspeed.initialize()` for training, `deepspeed.init_inference()` for inference, and CLI launchers (`deepspeed`, `ds_report`). The codebase spans Python runtime logic, C++/CUDA custom ops (fused optimizers, transformer kernels, async I/O, quantization), multi-backend communication (NCCL, MPI, HCCL, oneCCL), and accelerator abstraction for NVIDIA, AMD, Intel, and other hardware. Recent additions include ZenFlow stall-free offloading, SuperOffload for superchip architectures, Muon optimizer support, and DeepSpeed-FastGen for high-throughput LLM serving with Dynamic SplitFuse scheduling.

RATING: 9.8/10 MAINT: active DRIFT: low
â–¸ 10 reusable components found
keras-team/keras ★ 64348 19805 APPLICATION

Keras 3 is a multi-backend deep learning framework that provides a high-level API for building and training neural networks. It supports TensorFlow, JAX, PyTorch, NumPy, and OpenVINO backends, allowing users to switch between them with minimal code changes. The repository contains a comprehensive set of layers (convolutional, recurrent, attention, normalization, pooling, preprocessing, regularization), optimizers (Adam, SGD, AdamW, Lion, etc.), metrics, callbacks, loss functions, and utilities for model saving/loading, quantization, distillation, and distributed training. The architecture is modular with a clean separation between backend-agnostic operations and backend-specific implementations. The codebase is well-tested with extensive unit and integration tests, and includes benchmarks for performance comparison. It is actively maintained with frequent commits and responsive issue triage.

RATING: 9.7/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
paperless-ngx/paperless-ngx ★ 46102 3194 APPLICATION

Paperless-ngx is a production-grade, self-hosted document management system. It ingests physical and digital documents through a consume folder, REST API uploads, and IMAP email fetching, then runs OCR via Tesseract/ocrmypdf, extracts text through a pluggable parser registry, generates archive PDFs and thumbnails, and stores structured metadata (tags, correspondents, document types, custom fields). Documents are indexed in Tantivy and exposed through a Django REST API consumed by an Angular SPA that provides search, editing, bulk operations, permissions, workflows, sharing, and an admin interface. Background processing is handled by Celery/Redis with real-time status pushed over WebSockets. The system also includes optional AI/LLM classification, RAG chat over the document index, and a workflow engine that reacts to consumption and document lifecycle events with actions like assignment, emailing, webhooks, and trash moves. Though primarily an application, it contains a substantial search-engine subsystem and an optional LLM/embedding pipeline, giving it a mild hybrid character.

RATING: 9.7/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
roboflow/supervision ★ 51054 4861 APPLICATION

Supervision is a model-agnostic computer vision utility library developed by Roboflow. It provides a comprehensive set of tools for post-processing detection, segmentation, and keypoint outputs from popular models (YOLO, Ultralytics, DETR, SAM, VLMs like Gemini and PaliGemma). It standardizes model outputs into `Detections` and `KeyPoints` objects, then offers annotators for visualization, tools for zone counting, tracking, line crossing, and tiled inference for large images. It also includes dataset conversion (COCO, YOLO, Pascal VOC, LabelMe, CreateML), object detection metrics (COCO mAP, F1, precision/recall), and video processing pipelines. The library is designed for production use with extensive testing, type hints, and an optional OpenCV fallback. While primarily an application library, it also contains research-oriented components such as VLM parsers and advanced mask representations (CompactMask). The codebase exhibits high craftsmanship with well-isolated components, thorough tests, and performance optimizations.

RATING: 9.6/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
apache/airflow ★ 47072 17970 APPLICATION

Apache Airflow is a workflow orchestration platform for authoring, scheduling, and monitoring data pipelines. The system uses a modular architecture with core components, extensible providers, a React/TypeScript web UI, and a FastAPI-based REST API. Key entry points include the CLI (`airflow` command), web server, scheduler, and triggerer. Data flows involve DAG parsing, task scheduling via executors, and state persistence in a metadata database. External dependencies include PostgreSQL/MySQL, Redis/RabbitMQ for Celery, and various provider-specific integrations. The codebase demonstrates strong engineering practices with version compatibility patterns, plugin systems, and well-structured API layers.

RATING: 9.6/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
facebookresearch/faiss ★ 40987 4532 APPLICATION

FAISS (Facebook AI Similarity Search) is a high-performance library for efficient similarity search and clustering of dense vectors. It serves as the de facto standard library for approximate nearest neighbor (ANN) search in production environments, supporting hardware-accelerated (CPU with SIMD, GPU via CUDA/Metal) and research-grade algorithms. The codebase implements dozens of index types (flat, IVF, PQ, SQ, HNSW, NSG, RaBitQ, additive quantizers, binary, etc.), each with multiple encoding and scanning strategies. The architecture is layered: a core C++ library with extensible index and quantizer abstractions, a full C API, Python bindings via SWIG, and optional GPU or Intel SVS backends. Key entry points include the string-based index factory, training/search methods, and serialization utilities. The library is designed for both offline indexing and real-time search, with extensive auto-tuning and benchmark infrastructure.

RATING: 9.6/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
nautechsystems/nautilus_trader ★ 29862 3983 APPLICATION

Nautilus Trader is a production-grade, Rust-native trading engine designed for multi-asset, multi-venue trading systems. It features a deterministic event-driven architecture that enables research-to-live parity, allowing strategies to be developed, backtested, and deployed live with consistent behavior. The system comprises a core Rust engine with Python bindings for strategy development, modular adapters for over 20 exchanges (including Binance, Coinbase, Kraken, and DeFi platforms), and infrastructure for backtesting, live trading, risk management, and analysis. Key components include a CLI tool for system management, a LiveNode for production trading, and a BacktestNode for historical strategy evaluation. The architecture emphasizes modularity, with separate crates for model, core, execution, trading, risk, analysis, persistence, serialization, and exchange-specific adapters, all communicating via an actor-based message bus.

RATING: 9.5/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
fastai/fastai ★ 28219 7643 APPLICATION

fastai is a deep learning library built on PyTorch that provides high-level, modular APIs for training neural networks across vision, text, tabular, collaborative filtering, and medical imaging domains. Its architecture centers on a `Learner` class that orchestrates training loops, callbacks, metrics, and data pipelines. Data loading is handled by composable `DataBlock` and `TfmdDL` abstractions, while a rich callback system (with 30+ built-in callbacks) enables customization of logging, scheduling, mixed precision, gradient accumulation, and experiment tracking (WandB, Comet, TensorBoard). The library uses nbdev for literate programming, generating all source code from Jupyter notebooks, and includes factory methods like `vision_learner`, `text_classifier_learner`, and `tabular_learner` for rapid model construction with transfer learning. It supports distributed training via Hugging Face Accelerate, mixed precision (AMP/BF16), and provides research-oriented components such as AWD-LSTM, XResNet, U-Net, GANs, and custom loss functions (Focal, Dice, Label Smoothing).

RATING: 9.5/10 MAINT: active DRIFT: low
â–¸ 7 reusable components found
sktime/sktime ★ 10063 2434 APPLICATION

sktime is a large, actively developed Python library that provides a unified scikit-learn-style estimator interface for time series machine learning. It is not a single-purpose application or service; it is a framework with a central registry, a datatype/mtype conversion system, tag-based estimator metadata, and a sophisticated automated test suite that generates per-estimator tests from scenarios. The dominant character is application/library, though it has strong research-data aspects: bundled datasets, benchmark suites, and algorithm implementations drawn from the time-series literature (forecasting, classification, clustering, change-point detection, transformations, alignment, distances/kernels, and parameter estimation).

RATING: 9.5/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
rocketride-org/rocketride-server ★ 7700 2756 APPLICATION

RocketRide is a high-performance data processing engine with modular nodes, AI capabilities, and cross-platform clients. The system provides a visual interface for building data pipelines that integrate various data sources, AI/ML services, and processing nodes. At its core, it features a C++-based execution engine for performance, Python-based processing nodes for flexibility, and multiple client applications (web, desktop, VS Code extension) for interaction. The platform emphasizes extensibility through its node system, allowing users to create custom processing components while providing built-in integrations for databases, cloud storage, AI services, and popular APIs. It includes monitoring, observability, and deployment capabilities for production use.

RATING: 9.5/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
apache/spark ★ 44132 29408 APPLICATION

Apache Spark is a distributed data processing framework. In production, it operates as a cluster computing platform where a Master daemon schedules computational tasks (spark-submit, spark-shell) across a pool of Worker daemons. The codebase reveals a massive monorepo architecture encompassing a core execution engine (RDD/DataFrame APIs, scheduler, shuffle), a sophisticated SQL query engine (Catalyst optimizer and execution engine), a machine learning library (MLlib/Spark ML), a streaming data API (DStreams), and a wide array of data source connectors (Parquet, ORC, Avro, Kafka, JDBC). The repository is primarily a software product, not a research project, evidenced by its extensive CI/CD pipelines, multi-language packaging (Python, R, Java), and operational tooling (History Server, Kubernetes/YARN integrations). It is actively maintained and represents the dominant platform in its ecosystem, though it carries significant internal complexity and legacy code (e.g., maintenance-mode MLlib, V1/V2 catalog duality).

RATING: 9.4/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
mikel-brostrom/boxmot ★ 8314 1918 APPLICATION

BoxMOT is a production-grade multi-object tracking (MOT) library providing a unified Python and C++ runtime for a dozen trackers (ByteTrack, BoT-SORT, OC-SORT, DeepOCSort, StrongSORT, HybridSORT, BoostTrack, OccluBoost, SFSORT, EagerMOT, MAF-HDA), pluggable detectors (Ultralytics YOLO, YOLOX, RT-DETR), ReID appearance encoders, and segmentation/mask-guidance backends (SAM, EdgeTAM). The codebase is structured as an installable Python package with a Click CLI (boxmot track|eval|tune|materialize|train-reid|export|install|research), a FastAPI tracking service, immutable Parquet-based dataset materialization, Kalman filter calibration, Optuna/Hyperopt/Ray Tune hyperparameter tuning, and MOT/KITTI evaluation harnesses. Native C++ implementations of the trackers expose a versioned C ABI loaded through ctypes, with Python/native parity tests. Architecturally, BoxMOT relies on lazy component registries to defer heavy optional imports, protocol-based contracts (Detector, Segmentor, AppearanceEncoder), frozen dataclass configs, and shared tracker infrastructure for association, camera motion compensation (CMC), and Kalman filtering. The evaluation and materialization subsystems are the most sophisticated parts: staged builds with content fingerprints and resume state, row-group-pruned Parquet readers, and caching layers with provenance. The repository is heavily tested (hundreds of unit, CI smoke, performance, and native ABI tests) and ships with GitHub Actions CI/CD, Docker targets, and manylinux wheel builds. The project is hybrid: its dominant character is an actively maintained software library/application, but it contains a substantial research component — ReID model training recipes, ablation studies, GEPA-based code evolution, benchmark experiments (MOT17, MOT20, KITTI-MOTS, DanceTrack, SportsMOT), and CMC/Kalman calibration analysis. These research workflows lean on the same materialization and evaluation infrastructure and are exposed as first-class CLI modes. Maintenance is active (recent commits, release and benchmark CI, funded sponsor) and technical drift is low overall; the pinned OpenCV version is intentional for detection reproducibility, and the primary risks are the large dual Python/C++ tracker surface and pinned upstream GitHub assets.

RATING: 9.4/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
$ loading more...
$ submit: