Building from source

System prerequisites (on the GB10 itself):

  • NVIDIA DGX Spark (GB10, sm_121) with the CUDA toolkit — nvcc available (CUDA_HOME is honored). The build compiles all kernel modules to PTX and fails loudly if nvcc fails; on a machine without nvcc it falls back to the checked-in PTX in src/ptx/ with a warning, so the Rust side can still be compiled anywhere.
  • Rust stable toolchain (rustup).
  • libibverbs + rdma-core dev headers (for the TP=2/TP=4 transport shim): sudo apt install libibverbs-dev rdma-core

Build:

cargo build --release

This produces target/release/gb10_inference plus the PTX kernel artifacts in src/ptx/ (the build generates all of them; the engine needs the whole set at runtime). The binary is not self-contained — it loads src/ptx/*.ptx relative to its working directory, so run it from a directory that has both (a build-fingerprint handshake refuses to run mismatched binary/PTX pairs, so the two never silently drift apart).

Don't want to build? Use the prebuilt package on the Releases page instead.

Generated from README.md in the engine repository at v0.8.1. To correct this page, open an issue or pull request there.