Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
metalprof
command
Metalprof opens a portable Metal capture with upstream pprof and an inspector for the capture's MSL source, intermediate representation (AIR), and metrics.
|
Metalprof opens a portable Metal capture with upstream pprof and an inspector for the capture's MSL source, intermediate representation (AIR), and metrics. |
|
x
|
|
|
ane/aneegraph
Package aneegraph compiles optimized E-Graph expression DAGs directly into Apple Neural Engine (ANE) Model Intermediate Language (MIL) programs.
|
Package aneegraph compiles optimized E-Graph expression DAGs directly into Apple Neural Engine (ANE) Model Intermediate Language (MIL) programs. |
|
ane/anemil
Package anemil provides a structured builder and serializer for Apple Neural Engine (ANE) Model Intermediate Language (MIL) textual IR programs.
|
Package anemil provides a structured builder and serializer for Apple Neural Engine (ANE) Model Intermediate Language (MIL) textual IR programs. |
|
ane/anerun
Package anerun provides compilation, asset packaging, and execution runners for Apple Neural Engine (ANE) compiled model packages.
|
Package anerun provides compilation, asset packaging, and execution runners for Apple Neural Engine (ANE) compiled model packages. |
|
metal
Package metal owns a Metal device and its default command queue and provides buffer and pipeline construction helpers.
|
Package metal owns a Metal device and its default command queue and provides buffer and pipeline construction helpers. |
|
metal/egraph
Package egraph provides equality saturation, expression extraction, and execution-plan telemetry.
|
Package egraph provides equality saturation, expression extraction, and execution-plan telemetry. |
|
metal/mempool
Package mempool provides typed memory allocations and pooling for Apple Silicon Unified Memory.
|
Package mempool provides typed memory allocations and pooling for Apple Silicon Unified Memory. |
|
metal/metalattn
Package metalattn provides SIMD-group causal FlashAttention kernels and configurations for Apple Metal.
|
Package metalattn provides SIMD-group causal FlashAttention kernels and configurations for Apple Metal. |
|
metal/metalbench
Package metalbench provides experimental wall-clock timing and empirical autotuning harnesses for Apple Silicon Metal.
|
Package metalbench provides experimental wall-clock timing and empirical autotuning harnesses for Apple Silicon Metal. |
|
metal/metalcapture
Package metalcapture provides pure Go portable recording, serialization, and inspection of Metal profiling captures.
|
Package metalcapture provides pure Go portable recording, serialization, and inspection of Metal profiling captures. |
|
metal/metalgrammar
Package metalgrammar provides zero-overhead FSM grammar and bitmask logit filtering for Metal.
|
Package metalgrammar provides zero-overhead FSM grammar and bitmask logit filtering for Metal. |
|
metal/metalgraphexec
Package metalgraphexec provides Metal Indirect Command Buffer (ICB) and compute graph execution caching for single-launch multi-layer transformer dispatch on Apple Silicon GPUs.
|
Package metalgraphexec provides Metal Indirect Command Buffer (ICB) and compute graph execution caching for single-launch multi-layer transformer dispatch on Apple Silicon GPUs. |
|
metal/metalicb
Package metalicb provides Indirect Command Buffer (ICB) execution abstractions for GPU-driven hardware graph replays on Apple Silicon.
|
Package metalicb provides Indirect Command Buffer (ICB) execution abstractions for GPU-driven hardware graph replays on Apple Silicon. |
|
metal/metalio
Package metalio provides high-performance asynchronous storage ingestion and streaming into Apple Unified Memory buffers.
|
Package metalio provides high-performance asynchronous storage ingestion and streaming into Apple Unified Memory buffers. |
|
metal/metalir
Package metalir provides a symbolic computation graph and memory arena planner for Apple Metal.
|
Package metalir provides a symbolic computation graph and memory arena planner for Apple Metal. |
|
metal/metalkv
Package metalkv provides static KV-cache management in Apple Silicon Unified Memory.
|
Package metalkv provides static KV-cache management in Apple Silicon Unified Memory. |
|
metal/metalmegakernel
Package metalmegakernel provides experimental Metal kernels used by the llama inference example.
|
Package metalmegakernel provides experimental Metal kernels used by the llama inference example. |
|
metal/metalmem
Package metalmem provides typed memory management, zero-copy unified memory allocations, and host-device copy primitives for Apple Silicon Metal GPUs.
|
Package metalmem provides typed memory management, zero-copy unified memory allocations, and host-device copy primitives for Apple Silicon Metal GPUs. |
|
metal/metalmlx
Package metalmlx is an experimental, minimal Go conversion of the host-side runtime of MLX's Metal backend (mlx/backend/metal), built on the pure-Go Metal bindings.
|
Package metalmlx is an experimental, minimal Go conversion of the host-side runtime of MLX's Metal backend (mlx/backend/metal), built on the pure-Go Metal bindings. |
|
metal/metalmoe
Package metalmoe provides Mixture of Experts routing and expert cache offloading for Apple Silicon Metal.
|
Package metalmoe provides Mixture of Experts routing and expert cache offloading for Apple Silicon Metal. |
|
metal/metalmtp
Package metalmtp implements Multi-Token Prediction (MTP) and speculative tree decoding optimized via equality saturation (E-Graph) megakernels on Apple Metal.
|
Package metalmtp implements Multi-Token Prediction (MTP) and speculative tree decoding optimized via equality saturation (E-Graph) megakernels on Apple Metal. |
|
metal/metalmxfp4
Package metalmxfp4 provides Apple Silicon Metal compute kernels for OCP Microscaling FP4 (E2M1) dequantization and high-throughput fused GEMV matrix-vector multiplication.
|
Package metalmxfp4 provides Apple Silicon Metal compute kernels for OCP Microscaling FP4 (E2M1) dequantization and high-throughput fused GEMV matrix-vector multiplication. |
|
metal/metalprof
Package metalprof provides Apple Metal capture helpers, hardware timestamp sampling, caller-supplied event recording, and pprof integration.
|
Package metalprof provides Apple Metal capture helpers, hardware timestamp sampling, caller-supplied event recording, and pprof integration. |
|
metal/metalquant
Package metalquant encodes and decodes Q4_0 and Q8_0 blocks used by Metal kernels.
|
Package metalquant encodes and decodes Q4_0 and Q8_0 blocks used by Metal kernels. |
|
metal/metalref
Package metalref provides host CPU reference oracle implementations for parity testing.
|
Package metalref provides host CPU reference oracle implementations for parity testing. |
|
metal/metalsafetensors
Package metalsafetensors reads safetensors files and copies selected tensors into shared Metal buffers.
|
Package metalsafetensors reads safetensors files and copies selected tensors into shared Metal buffers. |
|
metal/metalsample
Package metalsample provides greedy argmax selection for Apple Metal.
|
Package metalsample provides greedy argmax selection for Apple Metal. |
|
metal/metalspec
Package metalspec provides speculative decoding drafters, tree verifiers, and candidate token verification for Metal.
|
Package metalspec provides speculative decoding drafters, tree verifiers, and candidate token verification for Metal. |
|
metal/metaltensor
Package metaltensor provides high-level symbolic and device-backed tensor operations for Apple Silicon Metal.
|
Package metaltensor provides high-level symbolic and device-backed tensor operations for Apple Silicon Metal. |
|
metal/metalx
Package metalx compiles Metal Shading Language libraries and owns device-scoped compute pipeline caches.
|
Package metalx compiles Metal Shading Language libraries and owns device-scoped compute pipeline caches. |
Click to show internal directories.
Click to hide internal directories.