Machine learning API written in Rust & C
  • Rust 66.6%
  • C 25.6%
  • GLSL 4.7%
  • CMake 2.4%
  • Shell 0.7%
Find a file
juniper 5432202b7d
All checks were successful
/ build-amd64 (push) Successful in 1m41s
/ build-aarch64 (push) Successful in 15m56s
Remove astra-gpu dependency
2026-01-04 11:45:24 +00:00
.forgejo/workflows Fix aarch64 runner 2025-12-24 12:09:41 +00:00
astra-api/src Fix: Stop using uint for windows compatibility 2025-09-02 17:57:50 +01:00
astra-api-rs Remove astra-gpu dependency 2026-01-04 11:45:24 +00:00
astra-common Pull older code for GPU support 2026-01-04 11:20:10 +00:00
.gitignore Update gitignore 2025-08-31 15:02:02 +01:00
Cargo.toml Pull older code for GPU support 2026-01-04 11:20:10 +00:00
CMakeLists.txt Pull older code for GPU support 2026-01-04 11:20:10 +00:00
configure Improve build process 2025-08-20 19:52:29 +01:00
README.md Version bump 2025-12-24 10:57:23 +00:00
test-rs-gpu.sh Make XOR test more permissive 2026-01-04 11:23:37 +00:00
test-rs-noavx.sh Ensure library can be used without enabling both the avx512 and avx2 feature 2025-09-01 11:44:18 +01:00
test-rs.sh Pull older code for GPU support 2026-01-04 11:20:10 +00:00

Astra API

Machine learning API built in Rust & C.

This library is somewhat experimental, but it's now in full release! This means that breaking changes are possible, but pretty unlikely, though some features are still planned and missing.

If you encounter any bugs, please report them.

Adding Project as a Dependency

Add the repository in your Cargo.toml:

[dependencies]
astra-api = { git = "https://forgejo.sillyjune.xyz/juniper/astra-api.git", version = "2.0.1" }

This will fetch the latest stable version of the API from this repository - Currently 2.0.1.

Documentation

Documentation can be found on the wiki page in this repository

Dependencies

  • gcc
  • pkg-config
  • shaderc (Only for GPU support)
  • fontconfig-devel (Only for graphs in tests, not necessary in production)
  • libxcb-devel
  • Appropriate vulkan drivers for your system (Only for GPU support)

Projects Using Astra API

Astra MNIST

Example project performing handwritten number image recognition using the MNIST dataset.