qmetrics.net

Tiny CUDA Nn

C++/CUDA library for fast small neural networks

A compact C++/CUDA framework for training and querying neural networks, with fused MLPs, hash encodings, and optional PyTorch bindings.

Overview

Tiny CUDA Neural Networks is a self-contained C++/CUDA library for training and running neural networks on NVIDIA GPUs. It bundles a fully fused multi-layer perceptron implementation, multiresolution hash and other input encodings, plus configurable losses and optimizers in one toolkit.

JSON configuration drives model setup. Optional JIT fusion can speed training and inference on supported hardware, though very large hash grids or wide MLPs may run faster with fusion disabled. Tighter application integration can fuse entire kernels—patterns used by neural rendering tools—with models exposed as compilable device functions.

Components include grid, spherical harmonics, and other encodings; L1/L2 and probabilistic losses; and SGD, EMA, batched, and composite optimizers. A sample image-fitting application demonstrates learning an RGB function over 2D coordinates from the command line.

PyTorch extensions expose fast MLPs and encodings from Python, with the best throughput at larger batch sizes. The fully fused MLP path needs substantial GPU shared memory and is aimed at recent high-end NVIDIA cards; smaller GPUs can reduce neuron counts or use the Cutlass MLP backend.

Key features

  • Fully fused MLP on CUDA
  • Multiresolution hash encoding
  • Optional JIT kernel fusion
  • JSON-driven configuration
  • Multiple losses and optimizers
  • PyTorch extension bindings
  • Sample image training demo
  • Cutlass MLP fallback

Use cases

  • NeRF and neural rendering research
  • Fast MLP training on GPU
  • Hash-grid encoded fields
  • PyTorch-accelerated encodings
  • Real-time inference kernels

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0