backends/

directory
v0.0.0-...-99ac9cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: MIT

Directories

Path Synopsis
cuda
ptx
Package ggmlexec contains the GGML lowering planner for go-pherence graphs.
Package ggmlexec contains the GGML lowering planner for go-pherence graphs.
internal
Package mlx contains backend-neutral helpers for MLX-style affine quantized weights.
Package mlx contains backend-neutral helpers for MLX-style affine quantized weights.
Package nvidia is the namespace for NVIDIA backend implementations.
Package nvidia is the namespace for NVIDIA backend implementations.
ptx
Code generated by scripts/generate-mojev-ptx.sh; CUDA 12.8, sm_86; DO NOT EDIT.
Code generated by scripts/generate-mojev-ptx.sh; CUDA 12.8, sm_86; DO NOT EDIT.
Package simd is the namespace for CPU SIMD backend implementations.
Package simd is the namespace for CPU SIMD backend implementations.
fft
Package fft provides FFT primitives for audio processing.
Package fft provides FFT primitives for audio processing.
quant/fp8
Package fp8 implements weight-only float8 (E4M3FN) linear matrices as used by the Ideogram 4 FP8 DiT checkpoints.
Package fp8 implements weight-only float8 (E4M3FN) linear matrices as used by the Ideogram 4 FP8 DiT checkpoints.
spacemit
aicpu
Package aicpu is the Linux/RISC-V-only pure-Go transformer inference engine for the SpaceMIT K3 SoC (MilkV Jupiter 2).
Package aicpu is the Linux/RISC-V-only pure-Go transformer inference engine for the SpaceMIT K3 SoC (MilkV Jupiter 2).
aicpu/aipool
Package aipool provides the aicpu worker pool: a TCM-aware, barrier-synchronized pool that fans quantized GEMM work (AIGemmSpec) across the K3's cores, with optional TCM B-wave activation staging.
Package aipool provides the aicpu worker pool: a TCM-aware, barrier-synchronized pool that fans quantized GEMM work (AIGemmSpec) across the K3's cores, with optional TCM B-wave activation staging.
aicpu/config
Package config holds the aicpu feature flags, all driven by IME2_* environment variables.
Package config holds the aicpu feature flags, all driven by IME2_* environment variables.
board
Package k3 provides a prioritised compute-backend stack for the SpacemiT K3 SoC (MilkV Jupiter 2 and similar boards).
Package k3 provides a prioritised compute-backend stack for the SpacemiT K3 SoC (MilkV Jupiter 2 and similar boards).
ime2
Package ime2 implements low-level int8 matrix-multiply kernels for the SpaceMIT K3 IME (Integrated Matrix Engine), using the X60 RVV vmadot instructions, plus a generic barrier-based WorkerPool that fans GEMM work across cores.
Package ime2 implements low-level int8 matrix-multiply kernels for the SpaceMIT K3 IME (Integrated Matrix Engine), using the X60 RVV vmadot instructions, plus a generic barrier-based WorkerPool that fans GEMM work across cores.
inference
Package inference provides mid-level numeric building blocks layered on top of the ime2 kernels: activation quantization, RMSNorm, and Q4_K / INT8 mat-vec routines (serial, parallel, and WorkerPool-backed).
Package inference provides mid-level numeric building blocks layered on top of the ime2 kernels: activation quantization, RMSNorm, and Q4_K / INT8 mat-vec routines (serial, parallel, and WorkerPool-backed).
ort
Package spacemitort contains integration scaffolding for SpacemiT's ONNX Runtime Execution Provider on K-series RISC-V boards.
Package spacemitort contains integration scaffolding for SpacemiT's ONNX Runtime Execution Provider on K-series RISC-V boards.
rvv
Package rvv implements low-level RISC-V Vector (RVV 1.0) SIMD kernels for the SpaceMIT K3 X60 cores: int8 GEMM (dot and register-blocked outer-product), W4A8, byte-copy, and q8 block quantization.
Package rvv implements low-level RISC-V Vector (RVV 1.0) SIMD kernels for the SpaceMIT K3 X60 cores: int8 GEMM (dot and register-blocked outer-product), W4A8, byte-copy, and q8 block quantization.
tcm
Package tcm is a driver for the SpaceMIT K3 TCM (Tightly-Coupled Memory), the on-chip SRAM scratchpad.
Package tcm is a driver for the SpaceMIT K3 TCM (Tightly-Coupled Memory), the on-chip SRAM scratchpad.
Package training defines portable admission for GPU training primitives.
Package training defines portable admission for GPU training primitives.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL