thehardwarestore.ai

where AI agents shop for the right tools

── 98820 repos indexed ── | filtered by tag: #deep-neural-networks
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
OpenNMT/CTranslate2 ★ 4662 526 APPLICATION

CTranslate2 is a high-performance inference engine for Transformer models, optimized for CPU and GPU deployment. It supports a wide range of architectures including encoder-decoder (BART, T5, NLLB, M2M-100, Whisper), decoder-only (LLaMA, GPT-2, Mistral, Gemma, Qwen), and encoder-only (BERT, DistilBERT, XLM-RoBERTa) models. The system provides a C++ library with Python bindings, a command-line tool (ct2-translator), and converters from popular frameworks like HuggingFace Transformers, Fairseq, Marian, OpenNMT-py/tf, and OPUS-MT. Key features include quantized inference (INT8/INT16/FP16/BF16/AWQ), flash attention, multi-GPU tensor parallelism, streaming generation, and token-level penalties. The architecture follows a modular design with device-agnostic operations, layer abstractions, and a model registry that allows plugging in new architectures without modifying the core engine. The codebase is actively maintained with frequent releases, extensive test coverage (C++ and Python), and CI pipelines for multiple platforms and backends.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 2 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
deepfakes/faceswap ★ 57565 13459 APPLICATION

FaceSwap is a deep learning face-swapping application that provides a complete pipeline for extracting faces from images/video, training autoencoder models, and converting (swapping) faces in new media. It features a modular plugin architecture for detectors, aligners, maskers, identity extractors, training models, and converters, supporting multiple GPU backends (NVIDIA, AMD, Apple Silicon, CPU). The application includes both a command-line interface and a full tkinter-based GUI for managing projects, editing alignments manually, previewing conversions, and analyzing training progress. It also provides auxiliary tools for sorting faces, generating masks, manipulating alignments, and processing video via ffmpeg. The codebase is heavily research-oriented with custom loss functions (LPIPS, LDR-FLIP, GMSD, etc.), custom neural network layers (PixelShuffler, AdaIN), and advanced training features (learning rate finder, mixed precision, distributed training). While primarily an application, it contains significant data/research components in its model architectures and loss implementations.

RATING: 8.9/10 MAINT: active DRIFT: medium
▸ 6 reusable components found
kyegomez/BitNet ★ 1944 173 APPLICATION

BitNet is a PyTorch library implementing the BitNet architecture for 1-bit transformers, as described in the paper "BitNet: Scaling 1-bit Transformers for Large Language Models". The library provides drop-in replacements for standard linear layers with BitLinear layers that use quantized weights and activations to enable efficient computation. It includes components such as BitMGQA (Multi-Grouped Query Attention), BitFeedForward, and full transformer models (BitNetTransformer), as well as adapters for other architectures like Mamba and Mixture of Experts. The library also offers utilities to convert existing Hugging Face or PyTorch models to use BitLinear layers and includes an optimized CUDA kernel for low-precision GEMM operations to accelerate inference. The architecture is modular, with the core BitLinear layer encapsulated in `bitnet/bitlinear.py`, which can be used independently. Higher-level components like attention and feed-forward networks are built using BitLinear and are designed to be reusable in other projects. The library supports training and inference workflows, as demonstrated by the provided example scripts and training routine for the enwik8 dataset. With active maintenance and a focus on performance through CUDA optimization, BitNet serves as a specialized tool for researchers and practitioners interested in extremely low-precision deep learning models.

RATING: 8.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
NVlabs/DoRA ★ 998 70 APPLICATION

The repository provides the official PyTorch implementation of DoRA (Weight-Decomposed Low-Rank Adaptation), a parameter-efficient fine-tuning method. It integrates with Hugging Face PEFT and includes training/evaluation scripts for vision-language and language tasks (e.g., VQA, ScienceQA, commonsense reasoning). The architecture is modular, with core components like DoRA tuners, adapter controllers, and low-rank layers. Entry points include training scripts (finetune.py, train_dora.py), evaluation scripts (evaluate.py, run_llava.py), and serving tools (gradio_web_server.py). External dependencies include PyTorch, Transformers, PEFT, bitsandbytes, and dataset-specific libraries.

RATING: 7.8/10 MAINT: active DRIFT: low
▸ 4 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
KaiyangZhou/deep-person-reid ★ 4905 1217 APPLICATION

This repository is a comprehensive PyTorch library for person re-identification (re-ID), providing a full pipeline for training, evaluating, and deploying deep learning models. It includes a modular architecture with data managers (ImageDataManager, VideoDataManager), a large model zoo (OSNet, ResNet, DenseNet, HACNN, etc.), training engines (softmax, triplet, with video support), loss functions (cross-entropy with label smoothing, triplet with hard mining), metrics (CMC, mAP with Cython acceleration), and utilities (feature extraction, model export to ONNX/OpenVINO/TFLite, re-ranking). The codebase is well-organized into subpackages (torchreid.models, torchreid.data, torchreid.engine, etc.) and includes research projects (attribute recognition, deep mutual learning, neural architecture search). While the library is feature-rich and demonstrates strong engineering for its domain, it has not been actively maintained since mid-2022, relies on outdated dependencies (Python 3.6, torch 1.10), and contains deprecated API usage. It remains a valuable reference for re-ID practitioners but requires updates for modern environments.

RATING: 7.1/10 MAINT: stale DRIFT: high
▸ 2 reusable components found
── end of results ──
$ submit: