Skip to main contentCrate modelc
Source - cli
- Command-line parsing and helpers shared with the compiler.
- codegen
- compiler
- metal
- Apple Silicon Metal acceleration backend (macOS only).
- model
- pack
- Single-file artifact format for modelc.
- parsers
- runtime
- Tensor runtime and inference ops used by tests and examples (
matmul, linear, etc.). - serve
- HTTP server for
modelc run — loads a .modelc artifact and serves /info + /infer. - store
- Local model package store for
modelc list / modelc pull.
- CLI_VERSION
- Semver plus short git SHA from
build.rs, shown by modelc --version.