Skip to main content

Crate forgellm_codegen_metal

Crate forgellm_codegen_metal 

Source
Expand description

Forge Metal Code Generation — native Apple Silicon GPU inference.

Generates a complete Cargo project that runs GPU inference via the metal crate (metal-rs), using Metal Shading Language compute kernels compiled at runtime. Targets Apple Silicon unified memory for zero-copy weight loading.

Enums§

MetalCodegenError
Errors during Metal code generation.

Functions§

generate_metal_project
Generate a complete Metal Cargo project from a computation graph.