infra: Install Xcode/Metal developer tools for .metallib compilation #60
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
metalandmetallibcommand-line tools are required to compile.metalsources into.metallibat build time, but are not available on this machine.Current Behavior
zig buildcreates an emptysleepy-llm.metallib(0 bytes)LibraryLoadFailedwhen trying to load the empty metallibRequired Tools
xcrun metal— compile.metal→.airxcrun metallib— link.air→.metallibInstallation
Full Xcode from App Store or
xcode-select --install(if it includes Metal tools)Workaround
None — Metal kernels are required for GPU inference.
Verification
After installation: