nvlabs/tiny-cuda-nn

Lightning fast C++/CUDA neural network framework

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 42 minutes ago
Added to GitGenius on September 15th, 2026
Created on April 16th, 2021
Open Issues & Pull Requests: 251 (+0)
GitHub issues: Enabled
Number of forks: 579
Total Stargazers: 4,535 (+0)
Total Subscribers: 49 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.4 days
Mean response time: 53.4 days
90th percentile: 171.6 days
Tracked items: 71

Most active contributors

Sign in to see contributor activity.

How this project is maintained

100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 58% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 60
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 848 days
Stale 30+ days: 60
Stale 90+ days: 28

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Tiny CUDA Neural Networks is a C++/CUDA framework for training and querying neural networks on GPUs with exceptional performance characteristics.

The framework addresses the need for fast neural network inference and training on graphics processors by implementing fully fused multi-layer perceptrons that execute as single GPU kernels rather than sequences of separate operations. It includes a multiresolution hash encoding for efficient input representation and supports various encodings, loss functions, and optimizers. The core innovation is JIT fusion, which uses CUDA's runtime compilation to convert neural network models into optimized device functions that can be compiled into kernels, enabling speedups of 1.5x to 2.5x compared to traditional approaches, with even larger gains possible when applications fuse entire compute graphs into single kernels.

The tool suits projects requiring real-time neural network evaluation on GPUs, particularly neural radiance fields and other graphics applications where latency matters. It provides both a simple C++/CUDA API and PyTorch bindings. Developers should be aware that JIT fusion performance varies by hardware and model configuration: it delivers the largest speedups on newer GPUs and smaller models, while models with very large hash grids or MLPs with layer sizes exceeding 128 neurons may see slowdowns on older hardware like RTX 3000 series cards. The framework allows both automatic JIT fusion through a configuration flag and manual integration where applications can fuse the neural network into larger kernels for maximum performance.

Development activity shows consistent attention to performance optimization and practical usability. The project maintains automated testing through continuous integration workflows. Documentation includes technical papers and detailed guidance on when and how to enable JIT fusion, with explicit recommendations to measure performance on specific hardware configurations. The maintainers provide clear troubleshooting paths, including instructions to open issues when unexpected slowdowns occur and fallback behavior when JIT compilation fails.