rust-gpu VS autograph

Compare rust-gpu vs autograph and see what are their differences.

rust-gpu

🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧 (by EmbarkStudios)

autograph

Machine Learning Library for Rust (by charles-r-earp)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
rust-gpu autograph
82 5
6,930 299
1.9% -
8.2 9.2
7 days ago 27 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

rust-gpu

Posts with mentions or reviews of rust-gpu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-09.

autograph

Posts with mentions or reviews of autograph. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-04.
  • Where to Learn Vulkan for parallel computation (with references to porting from CUDA)
    5 projects | /r/vulkan | 4 Jan 2022
    I'm working on a machine learning library https://github.com/charles-r-earp/autograph implemented in Rust that uses rust-gpu to compile Rust compute shaders to spirv, and then gfx_hal to target metal and dx12. Training performance is currently about 2x slower than pytorch (cuda) on my laptop but I've made significant progress recently and I am targeting 1.5x. While rust-gpu itself has it's own restrictions, it does support inline spirv assembly, which provides direct access to operations not provided in its std lib, thus it's lower level than GLSL. For example, it should be possible to target cuda tensor cores via cooperative matrix operations (I believe Metal supports these as well but this may not be implemented in spirv-cross and certainly isn't in naga). Once I have things a bit more stabilized I'd like to provide more examples, like porting from cuda / opencl, but I'm still figuring out patterns like how to work with 16 and 8 bit types in a nice and portable way.
  • autograph v0.1.0
    3 projects | /r/rust | 30 Oct 2021
    autograph v0.1.0
  • What's the current state of GPU compute in rust?
    6 projects | /r/rust | 20 Sep 2021
    Working on autograph, for machine learning and neural networks. Unlike CUDA / HIP it's threadsafe, but doesn't expose low level things like multiple streams. Most of the shaders are glsl but I'm now using rust_gpu for pure rust gpu code.
  • Announcing neuronika 0.1.0, a deep learning framework in Rust
    7 projects | /r/rust | 15 Jun 2021
    Maybe not for learning but as inspiration I have to plug this amazing effort for ML with (vulkan) shaders: https://github.com/charles-r-earp/autograph
  • What do you think about a library that helps reducing the overhead of GPU programming, regarding ndimensional Arrays?
    5 projects | /r/rust | 13 Feb 2021
    Maybe you'd be interested in checking out my library, https://github.com/charles-r-earp/autograph?

What are some alternatives?

When comparing rust-gpu and autograph you can also consider the following projects:

llama.cpp - LLM inference in C/C++

neuronika - Tensors and dynamic neural networks in pure Rust.

wgpu - Cross-platform, safe, pure-rust graphics api.

RustaCUDA - Rusty wrapper for the CUDA Driver API

Rust-CUDA - Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.

petgraph - Graph data structure library for Rust.

onnxruntime-rs - Rust wrapper for Microsoft's ONNX Runtime (version 1.8)

VkFFT - Vulkan/CUDA/HIP/OpenCL/Level Zero/Metal Fast Fourier Transform library

kompute - General purpose GPU compute framework built on Vulkan to support 1000s of cross vendor graphics cards (AMD, Qualcomm, NVIDIA & friends). Blazing fast, mobile-enabled, asynchronous and optimized for advanced GPU data processing usecases. Backed by the Linux Foundation.

juice - The Hacker's Machine Learning Engine

DiligentEngine - A modern cross-platform low-level graphics library and rendering framework

ocl - OpenCL for Rust