BurtonQin/Awesome-Rust-Neural-Network

A curated collection of Rust projects related to neural networks, designed to complement "Are We Learning Yet."

Python

73

20 commits

updated Aug 22, 2026

See the code

README

Awesome-Rust-Neural-Network

A curated collection of Rust projects related to neural networks, designed to complement "Are We Learning Yet". I plan to submit libraries to "Are We Learning Yet" that are included in this project but currently missing from it.

This repository aims to provide a comprehensive overview of the Rust neural network ecosystem to identify the currently missing foundational infrastructure. Thus, it focuses more on the features, backends, and main dependencies of the Rust-based neural network projects. Note that the features, backends, and main dependencies are based on my own search and understanding, and may be incomplete or even incorrect.

Table of contents

Neural Networks

NameDescriptionFeaturesBackendsMain DepsLast Commit Time
candleMinimalist ML framework for RustLike PyTorch, Training, Various ModelsCPU, CUDA, CUDA NCCL, WASMgemm, intel-mkl-src, cudarc, metal, accelerate-src2026-06-26
burnBurn is a new comprehensive dynamic Deep Learning Framework built using Rust with extreme flexibility, compute efficiency and portability as its primary goals.Various backends, Kernel Fusion, Training, Various Models, ONNXWGPU, Candle, Torch, Ndarray, Remotematrixmultiply, blas-src, libm, openblas-src, ndarray, candle-core, cubecl, cudarc, tch2026-06-26
dfdxDeep learning in Rust, with shape checked tensors and neural networksCompile-time CheckingCPU, CUDA, WGPUgemm, cudarc, wgpu2024-01-25
luminalSearch-first deep learning compiler and inference runtime written in RustStatic Computation Graph, Small Primitive Op Set, Search-based Compilation, Kernel Fusion, Megakernel Compilation, PyTorch torch.compile BackendCPU, CUDA, Metalcudarc, metal2026-08-22
autographA machine learning library for RustGPGPU kernels implemented with krnlCPU, Vulkankrnl, ndarray2024-08-19
undaGeneral purpose machine learning crateCompile to XLAXLAxla-rs2024-06-19
custosA minimal OpenCL, CUDA, Vulkan and host CPU array manipulation engine / frameworkArray Manipulation, AutoDiff, Lazy ExecutionCPU, OpenCL, CUDA, Vulkan, NNAPImin-cl, libm, ash, naga, nnapi2025-08-21
zyxTensor library for machine learningLazy Execution, AutoDiffCUDA, OpenCL, WGPUwgpu, vulkano, manual bindings to CUDA, OpenCL, and HSA2026-06-26
zenuA Deep Learning Framework Written in RustTraining, AutoDiffCPU, CUDAcblas, openblas-src, manual binding to CUDA2024-12-30
maidenxA lightweight and fast AI framework in Rust focused on simplicity and performanceEducational focus, Mirror PyTorch's archCPU, CUDA-2025-10-19
ortFast ML inference & training for ONNX models in RustONNX, Various BackendsCUDA, TensorRT, OpenVINO, oneDNN, DirectML, QNN, CoreML, ACL, TVM, CANN, etc.ort-sys: Unsafe Rust bindings for ONNX Runtime 1.202026-06-12
tractTiny, no-nonsense, self-contained, Tensorflow and ONNX inferenceONNX, TensorflowCPU, Metalaccelerate-src, blis-src, cblas, metal, ndarray, openblas-src, tensorflow, tflitec2026-06-27
KyaniteA neural network inference library, written in RustONNX, Graph IRCPU, CUDAmanual binding to CUDA2026-03-15
rtenONNX neural network inference engineONNXCPUrayon2026-06-27
oxide-rsHigh-performance LLM inference engine inspired by llama.cpp.LLM Inference, QuantizationCPUllama.cpp2026-03-16
mistral.rsBlazingly fast LLM inferenceLLM inference, safetensors, QuantizationCPU, CUDA, Metalmkl, candle, metal, accelerate2026-06-27
PegaInferHigh-performance LLM inference and serving engine written in Rust with custom CUDA kernelsLLM Serving, Continuous Batching, KV Cache, Prefix Cache, CUDA Graphs, OpenAI-compatible API, Multi-GPUCUDARust, CUDA2026-08-22
hipfireHigh-performance LLM inference engine for AMD consumer GPUs written in Rust and HIPLLM Inference, Quantization, Multi-GPU, Expert Parallelism, Custom GPU KernelsAMD HIP / ROCm, RDNARust, HIP2026-08-22
PMetalRust-native machine learning platform for Apple SiliconLLM Inference, LoRA, QLoRA, DPO, GRPO, Quantization, Training, ServingMetal, Apple Neural EngineRust, Metal2026-08-22
rustaneRust-native training and inference stack targeting Apple Neural Engine and MetalNeural Network Training, Inference, Apple Neural Engine, Metal GPUANE, MetalRust, Metal2026-08-22
InfiniLMA handwriting transformer model project developed from YdrMaster/llama2.rsLLM Inference, Multiple backends supportedCPU, CUDA, OpenCL, Ascend, etc.operators2026-06-26
operatorsMulti-hardware support operator libraryMulti-hardwareCPU, CUDA, OpenCL, Ascend, Cambriconclrt, infinirt, cuda-driver2025-02-19
crabmla fast cross platform AI inference engine using Rust and WebGPULLM Inference, mmap, QuantizationCPU, WGPUvulkano, wgpu2025-01-04
diffusion-rsBlazingly fast inference of diffusion modelsDiffusion, Quantization, DDUF, OffloadingCPU, CUDA, Metal, etc.cudarc, intel-mkl-src, accelerate-sr, metal, gemm2025-04-01
mmnnrust-based bash-cli for Neural Network propagation/backpropagationbash-cli, json-config--2025-06-28

Machine Learning

NameDescriptionFeaturesBackendsMain DepsLast Commit Time
linfaA Rust machine learning frameworklike scikit-learnCPUndarray, sprs2026-05-30
jams-rsRust based model serving solution for popular machine learning frameworksModel Store, PyTorch & Tenosrflow Models, Tree ModelsPyTorch, TensorFlow, Catboost, LightGBMtensorflow, tch, catboost-rs, lgbm, ndarray2025-05-30
bulletSpecialised ML LibraryDomain-specific, NNUE-style networks, chess enginescudarc-2026-06-22
redstone-mlHigh-performance Machine Learning, Dynamic Auto-Differentiation and Tensor Algebra crate for RustAutoDiff, NdArrrayCPU, GPU-2025-06-08
RustyMLA high-performance machine learning library in pure Rust, offering statistical utilities, ML algorithms and neural networks.-CPUndarray, rayon2026-06-25
AprenderProduction-oriented machine learning framework written in RustClassical ML, Neural Networks, Training, Inference, Quantization, Model Serialization, ProfilingCPU, WGPU, CUDAndarray, trueno2026-08-22
mni-mlMachine learning framework with a high-level TypeScript API and performance-critical Rust backendTensors, AutoDiff, Neural Networks, Training, OptimizersCPU, CUDA, WebGPURust native backend2026-08-22
tenferro-rsA Rust-native tensor & autodiff stack for scientific computingopt-in autodiff, scientific computingCPU, GPUfaer, cblas, lapack, cudarc, cubecl2026-07-28

GPU Computing

NameDescriptionFeaturesBackendsMain DepsLast Commit Time
cubeclMulti-platform high-performance compute language and compiler infrastructure for RustKernels in Rust, CubeIR, Comptime Specialization, Autotuning, Kernel Fusion, Tensor Core AccelerationCUDA, HIP, Metal, SPIR-V, WGSL, CPUcudarc, cubecl-hip-sys, cubecl-spirv, wgpu2026-08-22
krnlSafe, portable, high performance compute (GPGPU) kernelsKernels in RustVulkanrsprv, vulkano, ash2025-10-20
EnzymeADA rust fork to work towards Enzyme integrationAutoDiff on LLVMLLVMEnzyme2024-11-25
Rust-CUDAEcosystem of libraries and tools for writing and executing fast GPU code fully in RustCompiling Rust to PTXCUDABinding2026-04-29
Rust-GPUMaking Rust a first-class language and ecosystem for GPU shadersCompiling Rust to SPIR-VSPIR-VBinding2026-06-23
cudarcSafe rust wrapper around CUDA toolkitMixture of safe and sys APIsCUDABinding2026-06-19
async-cudaAsynchronous CUDA for RustAsync, NPPCUDABinding2026-06-02
async-tensorrtAsynchronous TensorRT for RustAsync, TensorRTCUDAasync-cuda, Binding2026-06-02
cuda-rsRust wrapper for CUDA Driver (libcuda.so) and Runtime (libcudart.so) APIs-CUDABinding2024-01-01
tensorrt-rsRust wrapper to NVIDIA TensorRTTensorRTCUDAcuda-rs, Binding2024-01-03
oxicudaOxiCUDA replaces the entire NVIDIA CUDA Toolkit software stack with type-safe, memory-safe Rust codeCUDA driverCUDA-2026-06-25
cuda-oxideAn experimental Rust-to-CUDA compiler that lets you write (SIMT) GPU kernels in safe(ish), idiomatic RustRust to PTXCUDA-2026-06-27
RurixGPU programming language and toolchain written in RustCUDA first, Windows firstCUDA-2026-06-25
std::offload / gpu_offloadExperimental native GPU offloading support in Rust/rustc. Paper: GPU Offload in Rust: Portable, Safe, and FastRust Host/Device Offload, Ownership-aware Data Movement, LLVM Offload, Portable GPU KernelsNVIDIA, AMD, Intel GPUsrustc, LLVM Offload2026-08-22
tile-rsSafe Rust bindings for Huawei Ascend NPU (CANN framework)Kernels in Rust tile DSL, lower to MLIR then 15 backends15 backends-2026-06-29

Miscellaneous

  • gpu-allocator, GPU memory allocator for Vulkan, DirectX 12 and Metal. Written in pure Rust.
  • ZLUDA, CUDA on non-NVIDIA GPUs.
  • adk-rust, Production-ready AI agent development kit for Rust.
  • rust-norion, Rust Noiron/Norion self-evolving local LLM runtime engine for non-commercial research deployment.
  • rust-norion, Rust Noiron/Norion self-evolving local LLM runtime engine for non-commercial research deployment.

Research Papers

PaperRelated ProjectTopicYear
Fearless Concurrency on the GPUcutile-rsSafe tile-based GPU programming in Rust, ownership, data-race freedom, high-performance GPU kernels2026
GPU Offload in Rust: Portable, Safe, and Fastrustc / std::offloadNative multi-vendor GPU offloading from Rust through LLVM, ownership-aware host/device data movement2026
What Irregularity Costs: CUDA C++, Rust, and Triton on a Hash-Blocked GPU Workloadcuda-oxideCUDA C++ vs Rust vs Triton for irregular GPU workloads, atomics and data-dependent execution2026
LithOS: An Operating System for Efficient Machine Learning on GPUsLithOSRust-based GPU operating system, ML scheduling, GPU resource management and kernel execution2025

BurtonQin/Awesome-Rust-Neural-Network

A curated collection of Rust projects related to neural networks, designed to complement "Are We Learning Yet."

Python

73

20 commits

updated Aug 22, 2026

See the code

README

Awesome-Rust-Neural-Network

A curated collection of Rust projects related to neural networks, designed to complement "Are We Learning Yet". I plan to submit libraries to "Are We Learning Yet" that are included in this project but currently missing from it.

This repository aims to provide a comprehensive overview of the Rust neural network ecosystem to identify the currently missing foundational infrastructure. Thus, it focuses more on the features, backends, and main dependencies of the Rust-based neural network projects. Note that the features, backends, and main dependencies are based on my own search and understanding, and may be incomplete or even incorrect.

Table of contents

Neural Networks

NameDescriptionFeaturesBackendsMain DepsLast Commit Time
candleMinimalist ML framework for RustLike PyTorch, Training, Various ModelsCPU, CUDA, CUDA NCCL, WASMgemm, intel-mkl-src, cudarc, metal, accelerate-src2026-06-26
burnBurn is a new comprehensive dynamic Deep Learning Framework built using Rust with extreme flexibility, compute efficiency and portability as its primary goals.Various backends, Kernel Fusion, Training, Various Models, ONNXWGPU, Candle, Torch, Ndarray, Remotematrixmultiply, blas-src, libm, openblas-src, ndarray, candle-core, cubecl, cudarc, tch2026-06-26
dfdxDeep learning in Rust, with shape checked tensors and neural networksCompile-time CheckingCPU, CUDA, WGPUgemm, cudarc, wgpu2024-01-25
luminalSearch-first deep learning compiler and inference runtime written in RustStatic Computation Graph, Small Primitive Op Set, Search-based Compilation, Kernel Fusion, Megakernel Compilation, PyTorch torch.compile BackendCPU, CUDA, Metalcudarc, metal2026-08-22
autographA machine learning library for RustGPGPU kernels implemented with krnlCPU, Vulkankrnl, ndarray2024-08-19
undaGeneral purpose machine learning crateCompile to XLAXLAxla-rs2024-06-19
custosA minimal OpenCL, CUDA, Vulkan and host CPU array manipulation engine / frameworkArray Manipulation, AutoDiff, Lazy ExecutionCPU, OpenCL, CUDA, Vulkan, NNAPImin-cl, libm, ash, naga, nnapi2025-08-21
zyxTensor library for machine learningLazy Execution, AutoDiffCUDA, OpenCL, WGPUwgpu, vulkano, manual bindings to CUDA, OpenCL, and HSA2026-06-26
zenuA Deep Learning Framework Written in RustTraining, AutoDiffCPU, CUDAcblas, openblas-src, manual binding to CUDA2024-12-30
maidenxA lightweight and fast AI framework in Rust focused on simplicity and performanceEducational focus, Mirror PyTorch's archCPU, CUDA-2025-10-19
ortFast ML inference & training for ONNX models in RustONNX, Various BackendsCUDA, TensorRT, OpenVINO, oneDNN, DirectML, QNN, CoreML, ACL, TVM, CANN, etc.ort-sys: Unsafe Rust bindings for ONNX Runtime 1.202026-06-12
tractTiny, no-nonsense, self-contained, Tensorflow and ONNX inferenceONNX, TensorflowCPU, Metalaccelerate-src, blis-src, cblas, metal, ndarray, openblas-src, tensorflow, tflitec2026-06-27
KyaniteA neural network inference library, written in RustONNX, Graph IRCPU, CUDAmanual binding to CUDA2026-03-15
rtenONNX neural network inference engineONNXCPUrayon2026-06-27
oxide-rsHigh-performance LLM inference engine inspired by llama.cpp.LLM Inference, QuantizationCPUllama.cpp2026-03-16
mistral.rsBlazingly fast LLM inferenceLLM inference, safetensors, QuantizationCPU, CUDA, Metalmkl, candle, metal, accelerate2026-06-27
PegaInferHigh-performance LLM inference and serving engine written in Rust with custom CUDA kernelsLLM Serving, Continuous Batching, KV Cache, Prefix Cache, CUDA Graphs, OpenAI-compatible API, Multi-GPUCUDARust, CUDA2026-08-22
hipfireHigh-performance LLM inference engine for AMD consumer GPUs written in Rust and HIPLLM Inference, Quantization, Multi-GPU, Expert Parallelism, Custom GPU KernelsAMD HIP / ROCm, RDNARust, HIP2026-08-22
PMetalRust-native machine learning platform for Apple SiliconLLM Inference, LoRA, QLoRA, DPO, GRPO, Quantization, Training, ServingMetal, Apple Neural EngineRust, Metal2026-08-22
rustaneRust-native training and inference stack targeting Apple Neural Engine and MetalNeural Network Training, Inference, Apple Neural Engine, Metal GPUANE, MetalRust, Metal2026-08-22
InfiniLMA handwriting transformer model project developed from YdrMaster/llama2.rsLLM Inference, Multiple backends supportedCPU, CUDA, OpenCL, Ascend, etc.operators2026-06-26
operatorsMulti-hardware support operator libraryMulti-hardwareCPU, CUDA, OpenCL, Ascend, Cambriconclrt, infinirt, cuda-driver2025-02-19
crabmla fast cross platform AI inference engine using Rust and WebGPULLM Inference, mmap, QuantizationCPU, WGPUvulkano, wgpu2025-01-04
diffusion-rsBlazingly fast inference of diffusion modelsDiffusion, Quantization, DDUF, OffloadingCPU, CUDA, Metal, etc.cudarc, intel-mkl-src, accelerate-sr, metal, gemm2025-04-01
mmnnrust-based bash-cli for Neural Network propagation/backpropagationbash-cli, json-config--2025-06-28

Machine Learning

NameDescriptionFeaturesBackendsMain DepsLast Commit Time
linfaA Rust machine learning frameworklike scikit-learnCPUndarray, sprs2026-05-30
jams-rsRust based model serving solution for popular machine learning frameworksModel Store, PyTorch & Tenosrflow Models, Tree ModelsPyTorch, TensorFlow, Catboost, LightGBMtensorflow, tch, catboost-rs, lgbm, ndarray2025-05-30
bulletSpecialised ML LibraryDomain-specific, NNUE-style networks, chess enginescudarc-2026-06-22
redstone-mlHigh-performance Machine Learning, Dynamic Auto-Differentiation and Tensor Algebra crate for RustAutoDiff, NdArrrayCPU, GPU-2025-06-08
RustyMLA high-performance machine learning library in pure Rust, offering statistical utilities, ML algorithms and neural networks.-CPUndarray, rayon2026-06-25
AprenderProduction-oriented machine learning framework written in RustClassical ML, Neural Networks, Training, Inference, Quantization, Model Serialization, ProfilingCPU, WGPU, CUDAndarray, trueno2026-08-22
mni-mlMachine learning framework with a high-level TypeScript API and performance-critical Rust backendTensors, AutoDiff, Neural Networks, Training, OptimizersCPU, CUDA, WebGPURust native backend2026-08-22
tenferro-rsA Rust-native tensor & autodiff stack for scientific computingopt-in autodiff, scientific computingCPU, GPUfaer, cblas, lapack, cudarc, cubecl2026-07-28

GPU Computing

NameDescriptionFeaturesBackendsMain DepsLast Commit Time
cubeclMulti-platform high-performance compute language and compiler infrastructure for RustKernels in Rust, CubeIR, Comptime Specialization, Autotuning, Kernel Fusion, Tensor Core AccelerationCUDA, HIP, Metal, SPIR-V, WGSL, CPUcudarc, cubecl-hip-sys, cubecl-spirv, wgpu2026-08-22
krnlSafe, portable, high performance compute (GPGPU) kernelsKernels in RustVulkanrsprv, vulkano, ash2025-10-20
EnzymeADA rust fork to work towards Enzyme integrationAutoDiff on LLVMLLVMEnzyme2024-11-25
Rust-CUDAEcosystem of libraries and tools for writing and executing fast GPU code fully in RustCompiling Rust to PTXCUDABinding2026-04-29
Rust-GPUMaking Rust a first-class language and ecosystem for GPU shadersCompiling Rust to SPIR-VSPIR-VBinding2026-06-23
cudarcSafe rust wrapper around CUDA toolkitMixture of safe and sys APIsCUDABinding2026-06-19
async-cudaAsynchronous CUDA for RustAsync, NPPCUDABinding2026-06-02
async-tensorrtAsynchronous TensorRT for RustAsync, TensorRTCUDAasync-cuda, Binding2026-06-02
cuda-rsRust wrapper for CUDA Driver (libcuda.so) and Runtime (libcudart.so) APIs-CUDABinding2024-01-01
tensorrt-rsRust wrapper to NVIDIA TensorRTTensorRTCUDAcuda-rs, Binding2024-01-03
oxicudaOxiCUDA replaces the entire NVIDIA CUDA Toolkit software stack with type-safe, memory-safe Rust codeCUDA driverCUDA-2026-06-25
cuda-oxideAn experimental Rust-to-CUDA compiler that lets you write (SIMT) GPU kernels in safe(ish), idiomatic RustRust to PTXCUDA-2026-06-27
RurixGPU programming language and toolchain written in RustCUDA first, Windows firstCUDA-2026-06-25
std::offload / gpu_offloadExperimental native GPU offloading support in Rust/rustc. Paper: GPU Offload in Rust: Portable, Safe, and FastRust Host/Device Offload, Ownership-aware Data Movement, LLVM Offload, Portable GPU KernelsNVIDIA, AMD, Intel GPUsrustc, LLVM Offload2026-08-22
tile-rsSafe Rust bindings for Huawei Ascend NPU (CANN framework)Kernels in Rust tile DSL, lower to MLIR then 15 backends15 backends-2026-06-29

Miscellaneous

  • gpu-allocator, GPU memory allocator for Vulkan, DirectX 12 and Metal. Written in pure Rust.
  • ZLUDA, CUDA on non-NVIDIA GPUs.
  • adk-rust, Production-ready AI agent development kit for Rust.
  • rust-norion, Rust Noiron/Norion self-evolving local LLM runtime engine for non-commercial research deployment.
  • rust-norion, Rust Noiron/Norion self-evolving local LLM runtime engine for non-commercial research deployment.

Research Papers

PaperRelated ProjectTopicYear
Fearless Concurrency on the GPUcutile-rsSafe tile-based GPU programming in Rust, ownership, data-race freedom, high-performance GPU kernels2026
GPU Offload in Rust: Portable, Safe, and Fastrustc / std::offloadNative multi-vendor GPU offloading from Rust through LLVM, ownership-aware host/device data movement2026
What Irregularity Costs: CUDA C++, Rust, and Triton on a Hash-Blocked GPU Workloadcuda-oxideCUDA C++ vs Rust vs Triton for irregular GPU workloads, atomics and data-dependent execution2026
LithOS: An Operating System for Efficient Machine Learning on GPUsLithOSRust-based GPU operating system, ML scheduling, GPU resource management and kernel execution2025