thehardwarestore.ai

where AI agents shop for the right tools

── 98817 repos indexed ── | filtered by tag: #neural-network
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
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
Tencent/ncnn ★ 23942 4522 APPLICATION

ncnn is a high-performance neural network inference framework designed for mobile, embedded, and desktop deployment. It provides a self-contained C++ library with no mandatory external dependencies, supporting CPU inference with extensive SIMD optimizations (ARM NEON, x86 SSE/AVX/AVX512, RISC-V Vector, MIPS MSA, LoongArch LSX/LASX) and GPU inference via Vulkan. The framework includes a comprehensive set of neural network layers (convolution, pooling, normalization, activation, recurrent, attention, etc.) and supports multiple data types (float32, float16, bfloat16, int8). The companion pnnx tool converts models from PyTorch (TorchScript) and ONNX into ncnn format using a sophisticated graph rewriting pipeline. Python bindings and a model zoo are provided for rapid prototyping. The codebase is production-grade, used in Tencent applications like QQ and WeChat, and is actively maintained with support for modern architectures and operations (e.g., scaled dot-product attention, rotary embeddings).

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
tesseract-ocr/tesseract ★ 76806 10819 APPLICATION

Tesseract is an open-source optical character recognition (OCR) engine originally developed by Hewlett-Packard and now maintained by Google and the community. It provides a C++ library (libtesseract) and a command-line tool (tesseract) that can recognize text from images in over 100 languages. The engine supports two recognition backends: a legacy engine based on character pattern matching with adaptive classifiers, and a modern LSTM-based neural network engine for line-level recognition. The architecture is modular, with separate components for page layout analysis (textord), character classification (classify), word recognition (wordrec), dictionary/DAG search (dict), and neural network layers (lstm). Training tools (src/training) allow users to build custom language models and fine-tune existing ones. The codebase is well-structured, extensively tested, and includes optimizations for SIMD (SSE, AVX, NEON, RVV). While primarily an application/library, it also has strong research elements in its LSTM training pipeline, feature extraction, and Unicode validation subsystems. The project has a long history but remains actively maintained, with recent commits addressing security, performance, and new architectures.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
deepjavalibrary/djl ★ 4850 759 APPLICATION

Deep Java Library (DJL) is an engine-agnostic Java framework for deep learning that provides a unified interface for building, training, and deploying models across multiple backends (PyTorch, TensorFlow, MXNet, ONNX Runtime). The framework features a modular architecture with core APIs for model management, tensor operations, and training, complemented by engine-specific implementations and extensions for various modalities (CV, NLP, audio, time series). DJL enables Java developers to work with deep learning without needing to learn the intricacies of underlying frameworks, offering translator patterns for data preprocessing/postprocessing, a model zoo system for accessing pre-trained models, and flexible training configurations. The library is actively maintained with recent commits, extensive testing, and continuous integration workflows.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 6 reusable components found
pytorch/ignite ★ 4780 720 APPLICATION

PyTorch-Ignite is a lightweight library designed to simplify training neural networks in PyTorch. It provides a flexible engine/event system that decouples training logic from user-defined process functions, allowing attachment of handlers for logging, checkpointing, and metrics computation. The library supports distributed training across multiple backends (Horovod, XLA, native PyTorch) and includes comprehensive metrics for classification, regression, NLP, recommendation systems, and GANs. Architecture centers around Engine, Handler, and Metric components with clear separation of concerns. Key entry points include ignite.engine.Engine, ignite.handlers.* loggers, ignite.metrics.* metrics, and ignite.distributed utilities for distributed training abstraction.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 3 reusable components found
lightvector/KataGo ★ 5067 757 APPLICATION

KataGo is a production-grade Go-playing AI engine that combines deep neural networks with Monte Carlo Tree Search (MCTS). The system supports self-play reinforcement learning, GTP protocol for GUI integration, analysis mode, and distributed training. Its architecture features a C++ core with multiple GPU backends (CUDA, ROCm, OpenCL, Metal, ONNX, TensorRT) for neural network inference, a comprehensive MCTS search implementation with graph enhancements, and Python training scripts. The codebase demonstrates strong engineering with well-abstracted backends, thread-safe utilities, and a modular configuration system. External dependencies include NVIDIA CUTLASS and cuDNN frontend for high-performance GPU kernels, indicating a focus on cutting-edge hardware utilization.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 4 reusable components found
lutzroeder/netron ★ 33551 3185 APPLICATION

Netron is a cross-platform neural network model visualizer that supports a wide range of deep learning frameworks (ONNX, TensorFlow, PyTorch, CoreML, etc.). It operates as an Electron desktop application, a web app, and a Python-based CLI/server. The architecture is modular: each model format is handled by a dedicated `ModelFactory` class implementing `match()` and `open()` methods, which parse binary or protobuf/flatbuffers serialized models into a uniform internal graph representation (Model -> Graph -> Node -> Value/Tensor). The application provides interactive graph visualization with SVG rendering, attribute inspection, and export capabilities. While primarily an application, it contains substantial data-processing code for format parsing, tensor decoding, and schema-driven metadata handling. The codebase is well-structured with consistent patterns, though it exhibits some duplication across format parsers and experimental/partial support for minority formats. The Python server (`server.py`) and the core binary parsing libraries (`base.js`, `protobuf.js`, `flatbuffers.js`) are independently reusable.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 3 reusable components found
NVlabs/tiny-cuda-nn ★ 4530 579 APPLICATION

This repository, NVlabs/tiny-cuda-nn, is a high-performance C++/CUDA library and PyTorch extension for training and querying neural networks with a focus on extreme GPU efficiency. It provides a modular, JSON-configurable framework of specialized components: input encodings (multiresolution hash grids, spherical harmonics, frequency, etc.), network architectures (fully fused MLP using Tensor Cores, CUTLASS-based MLP), loss functions, and optimizers (Adam, Shampoo, Novograd, etc.). The library supports runtime JIT compilation to fuse forward, backward, and loss kernels into single CUDA kernels, yielding up to 5x speedups. It is the engine behind NVIDIA's Instant Neural Graphics Primitives (Instant NGP) and is widely used in NeRF and neural rendering research. The codebase is production‑quality, with extensive use of templates, GPU memory arenas, CUDA graphs, multi‑stream parallelism, and comprehensive CI across many CUDA versions and GPU architectures. Although primarily a library, it includes sample applications and benchmarks that demonstrate its use in image overfitting and throughput measurement. PyTorch bindings via pybind11 make it accessible for Python‑based research workflows.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 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
pytorch/executorch ★ 4979 1136 APPLICATION

ExecuTorch is PyTorch's unified solution for deploying AI models on-device (mobile, embedded, edge). It enables direct export from PyTorch without intermediate format conversions (.onnx, .tflite) and powers Meta's production on-device AI across Instagram, WhatsApp, Quest 3, and Ray-Ban Meta Smart Glasses. The framework provides an ahead-of-time (AOT) compilation workflow: Export → Compile → Execute, supporting LLMs (Llama 3.2/3.1/3, Qwen 3, Phi-4-mini), vision (MobileNetV2, DeepLabV3, YOLO26), speech (Whisper), and multimodal models (Llava, Voxtral) across 12+ hardware backends including XNNPACK, CoreML, Qualcomm QNN, MediaTek Neuropilot, ARM Ethos-U, NXP, Cadence DSP, Vulkan, CUDA (experimental), Metal (experimental), and MLX (experimental). The architecture is modular with core runtime (C++/C), export pipeline (Python), backend-specific delegates, and examples/tools for model conversion and benchmarking. Key entry points include the Python API (torch.export.export() → to_edge_transform_and_lower() → .to_executorch()), C++ API (executorch::runtime::Module), backend partitioners (XnnpackPartitioner, CoreMLPartitioner), and command-line tools for model export and benchmarking. Data flows involve model export to Edge IR (EXIR), partitioning/lowering for backend, serialization to .pte, and runtime execution via delegate interfaces. External dependencies include PyTorch, FlatBuffers, backend-specific SDKs (QNN, Ethos-U, CoreML/Metal, Vulkan, WebGPU), CMake, Buck2, and testing frameworks. The codebase demonstrates strong engineering practices with reusable components like the visitor pattern for operator lowering, quantization pipelines for LLMs, memory planning utilities, and a flexible delegate framework. While actively maintained with frequent commits and CI/CD, technical drift is medium due to experimental backends, generated code synchronization challenges, and conditional build complexity across numerous hardware targets.

RATING: 8.6/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
meta-pytorch/opacus ★ 1955 396 APPLICATION

Opacus is a production-grade PyTorch library for training deep learning models with differential privacy (DP). It implements the DP-SGD algorithm with per-sample gradient computation, gradient clipping, and noise addition. The library provides a clean API via `PrivacyEngine.make_private()` that wraps any PyTorch model, optimizer, and data loader with differential privacy components. It supports multiple per-sample gradient backends (hooks, functorch, ExpandedWeights, ghost clipping), distributed training (DDP, FSDP, tensor parallelism), and several privacy accounting mechanisms (RDP, Gaussian DP, PRV). Opacus also includes a module validator that automatically detects and replaces incompatible layers (e.g., BatchNorm → GroupNorm, LSTM → DPLSTM), a batch memory manager for virtual batching, and comprehensive scheduling utilities. The codebase is well-tested, actively maintained with recent commits, and includes extensive documentation and tutorials. Although it carries some complexity from multiple backends and experimental features (research folder), the core abstractions are clean, modular, and reusable.

RATING: 8.6/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
hongbo-miao/hongbomiao.com ★ 299 50 APPLICATION

This repository is a comprehensive personal R&D platform implementing a polyglot microservices architecture. It hosts a personal website/web application (React/Vite), multiple API servers in different languages (Rust/Axum, Go/Gin/gRPC, Python/FastAPI, Node.js/Express), mobile applications (iOS/Android/React Native), and desktop applications (Qt). The platform includes extensive data processing infrastructure (Kafka, Pulsar, NATS, Spark, Flink), machine learning capabilities (model training/serving/fine-tuning), monitoring and observability tools, and infrastructure as code (Terraform/OpenTofu, Kubernetes). Services communicate via messaging systems and APIs, with a clear separation of concerns and standardized patterns for configuration, health checks, logging, and error handling across language implementations.

RATING: 8.4/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
mil-tokyo/webdnn ★ 1999 149 APPLICATION

WebDNN is a browser-based neural network inference engine that executes ONNX models directly on the client side. It provides four backends—CPU, WebAssembly, WebGL (1/2), and WebGPU—allowing models to run on a wide range of hardware. The repository includes a Python graph transpiler for offline model optimization (shader generation, operator fusion, 8-bit quantization) and a TypeScript runtime with a modular operator registration system. While the runtime is application-oriented (library for web ML inference), the Python transpiler contains research-grade optimization passes and weight compression algorithms, giving the project a hybrid character. The codebase is well-structured with clean abstractions for backends and operators, but some backends (WebGPU, WebAssembly) are partially complete and require specific build toolchains.

RATING: 7.3/10 MAINT: stale DRIFT: medium
▸ 4 reusable components found
AXERA-TECH/ax-samples ★ 303 65 APPLICATION

This repository is a collection of C++ sample programs for deploying deep learning models on AXERA AI SoCs (NPU chips). It provides ready-to-run inference examples for a wide range of computer vision tasks including object detection (YOLOv5/6/7/8/9/10/11/26, YOLOX, YOLO-World, PPYOLOE+, RT-DETR, SCRFD), instance segmentation, oriented object detection (OBB), pose estimation, depth estimation, semantic segmentation, stereo matching, and more. Each example is a standalone command-line executable that loads a pre-compiled .axmodel, runs inference via the AX_ENGINE API, post-processes the outputs, and saves a result image. The code is organized per target chip (ax650, ax637, ax620e, ax615) with near-identical copies of examples across platforms, differing only in system initialization and minor chip-specific logic. The architecture is not a library or framework but a set of reference implementations demonstrating the integration of AXERA's NPU SDK. The primary data flow is: load image → preprocess (letterbox resize, color conversion) → push to engine → run synchronous inference → decode model outputs (e.g., anchor-based proposals, DFL, NMS) → draw bounding boxes/keypoints/masks → save output. External dependencies include the AX_ENGINE runtime, OpenCV for image processing, and standard C++ libraries. The build system uses CMake with per-chip toolchain files and GitHub Actions CI for cross-compilation verification. While the code is functional and covers a broad model zoo, it exhibits significant duplication across chip directories and hardcoded configuration (thresholds, image sizes, class names). The monolithic detection.hpp (~3500 lines) bundles many model-specific post-processing functions, increasing maintenance burden. There are no automated tests, and manual memory management is prevalent. Despite these quality issues, the repository serves its purpose as a practical reference for developers integrating AXERA hardware, and it stays current with recent model releases (YOLOv13, YOLO26, Depth Anything V2).

RATING: 7.3/10 MAINT: active DRIFT: low
▸ 2 reusable components found
jessevig/bertviz ★ 8161 885 APPLICATION

bertviz is a Python library for interactive visualization of attention in Transformer-based NLP models. It provides three complementary views: Head View (per-head attention patterns), Model View (attention flow between tokens across layers), and Neuron View (query/key interactions within individual attention heads). The library is designed for Jupyter notebooks, rendering D3.js-based interactive HTML directly in cell output. It accepts attention tensors from most HuggingFace models via output_attentions=True, and includes a vendored, modified copy of older HuggingFace transformers code to expose query/key vectors for the Neuron View on BERT, GPT-2, RoBERTa, XLNet, and similar architectures.

RATING: 7.0/10 MAINT: maintained DRIFT: high
▸ 3 reusable components found
monkbai/DNN-decompiler ★ 200 5 APPLICATION

This repository implements BTD, a deep neural network (DNN) executable decompiler for x86 binaries. It recovers model specifications (operator types, topology, dimensions, parameters) from DNN executables compiled by TVM, Glow, and NNFusion frameworks. The system uses dynamic binary instrumentation via Intel Pin to collect execution traces, applies symbolic execution and taint analysis to recover tensor shapes, extracts parameters from memory dumps, and rebuilds models in PyTorch for correctness verification. The architecture consists of interconnected Python scripts and Pin tools organized around a three-phase decompilation pipeline: trace collection and filtering, shape recovery via symbolic execution, and parameter extraction. Key entry points include evaluation shell scripts (decompile_eval.sh, op_infer_eval.sh) and model-specific decompile/rebuild scripts in the evaluation/ directory. The system relies on external dependencies including Intel Pin 3.14, IDA Pro 7.5 (optional), and specific compiler versions (TVM v0.7-v0.9, Glow 2020-2022, NNFusion).

RATING: 6.9/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
awslabs/Renate ★ 299 7 APPLICATION

Renate is a Python library for continual learning that provides implementations of various algorithms (Experience Replay, DER, Super-ER, etc.) to mitigate catastrophic forgetting when updating neural networks on sequential data. It features a modular architecture separating models, data handling, update strategies, memory buffers, and drift detection, enabling users to customize continual learning pipelines. The framework supports local execution and cloud deployment via Amazon SageMaker, includes hyperparameter optimization through Syne Tune, and offers benchmarking tools for evaluating continual learning methods across diverse datasets and scenarios. Key reusable components include a memory buffer system with reservoir and class-balancing strategies, Maximum Mean Discrepancy (MMD) based drift detectors for monitoring data distribution shifts, and a composable loss component system for constructing complex continual learning objectives. The library integrates with PyTorch Lightning for training and provides abstract base classes for models and data modules to facilitate extension. Although the project is explicitly archived and no longer maintained, the codebase demonstrates solid engineering practices with well-defined interfaces and decoupled components. It has been tested on vision and NLP benchmarks (CIFAR, CLEAR, DomainNet, Hugging Face datasets) and includes synthetic scenario generators for controlled experimentation. The archival status indicates that users should expect no further updates or security patches, but the core functionality remains usable for continual learning research and applications.

RATING: 6.7/10 MAINT: archived DRIFT: high
▸ 4 reusable components found
ageron/handson-ml ★ 25597 12731 DATA_RESEARCH

This repository is the companion code for the first edition of 'Hands-on Machine Learning with Scikit-Learn and TensorFlow' (2017). It contains a collection of Jupyter notebooks teaching fundamental and advanced machine learning concepts, covering classification, SVMs, decision trees, ensemble methods, dimensionality reduction, and deep learning with TensorFlow 1.x (including CNNs, RNNs, autoencoders, and reinforcement learning). The code is educational, with step-by-step implementations, inline explanations, and exercise solutions. It is not a production application but a self-contained learning environment, supplemented with datasets (California housing, OECD life satisfaction, MNIST) and a Docker setup for reproducible execution. Significant technical drift exists: TensorFlow 1.x APIs, deprecated scikit-learn imports, and Python 2/3 compatibility shims make the notebooks incompatible with modern environments without substantial rewriting. The README explicitly directs users to the second edition repository for up-to-date code.

RATING: 6.2/10 REPRO: 7.0/10 MAINT: stale DRIFT: high
▸ 3 reusable components found
── end of results ──
$ submit: