Repository navigation
Initial Release
The first public release of ZGC (Zig Graph Compiler), an ahead-of-time tensor graph compiler written in Zig that generates statically planned, allocation-free runtimes.
ZGC provides a common graph representation for statically defined numerical pipelines, with compile-time optimization, memory planning, and executable generation.
Highlights
- Static graph construction, validation, optimization, and compilation.
- Search-based executable planning with selectable optimization targets for performance, memory usage, and code size.
- Graph-level fusion, layout selection, SIMD kernels, and lifetime-based memory reuse.
- Native Zig API and CLI, with ZGIR serialization for external frontends.
- Versioned C ABI and Python bindings for building and executing compiled artifacts.
- Numerical validation, benchmarks, and example applications.
Requirements
- Zig 0.17.0 for compilation.
- Python 3.10+ for optional Python bindings.
Release status
ZGC is in active development. Public APIs, serialized formats, and compiled executable contracts may change between releases.
See the [README](https://github.com/krypticlogan/zig-graph-compiler#readme) for installation, usage, examples, and documentation.