compiled artefacts from mac_arm64 (cpu)
Browse filesFiles changed (6)
262 unmodified lines263264265266267268262 unmodified linesOn Apple Silicon the daemon runs this model through MLX (`model_gpu_mlx{VER}/`, prepared fromthe raw weights above), the only GPU lane there.## LicenseReleased under the **MIT license**.262 unmodified lines263264265266267268269270271272273274275276277278279280281282283284285286287288289290262 unmodified linesOn Apple Silicon the daemon runs this model through MLX (`model_gpu_mlx{VER}/`, prepared fromthe raw weights above), the only GPU lane there.## Apple Neural Engine (Core ML)`coreml_ane/embed.mlpackage/` is a Core ML **multifunction** package that runs thistoken classifier on the Apple Neural Engine. It is a bundle, not a file — fourentries (`Manifest.json`, `shapes.json`, `Data/com.apple.CoreML/model.mlmodel`,`Data/com.apple.CoreML/weights/weight.bin`) that must keep their relative paths.**One compiled function per shape**, named `b<batch>_s<seq>`: `b32 s128`.Fixed shapes are not a simplification. `ct.EnumeratedShapes` converts and runs, andmeasures 233 emb/s against 2 873 on the same encoder, because the dynamic ops itinjects push the graph off the Neural Engine. `shapes.json` lists what was compiled,so a caller can ask instead of assuming.Weights are fp16. The package is built from the MLX safetensors beside it, so a modelis ANE-ready exactly when it is MLX-ready — there is no second set of source weights.Load it with `MLComputeUnits.cpuAndNeuralEngine`: plain `.all` lets Core ML place thegraph on the GPU instead, which measured 809 emb/s against the ANE's 2 873.A shape the package does not carry is not an error — the caller is expected to fallback to the MLX graph, which takes any shape. That is what makes the fixed-shapepackage safe to ship alongside `model_gpu_mlx*/` rather than instead of it.## LicenseReleased under the **MIT license**.
123version https://git-lfs.github.com/spec/v1oid sha256:b311966a27e5fa32657318e33588904a96fed4791f8bb1beb846e8968082fe66size 118978123version https://git-lfs.github.com/spec/v1oid sha256:69e62da26ee993b78fd605f0f5d437cbd774b6e307111e906bea8d9f62b96611size 235011618123456789101112131415161718{ "fileFormatVersion": "1.0.0", "itemInfoEntries": { "8DBC27D3-F1C2-46B3-B86A-B4889047797D": { "author": "com.apple.CoreML", "description": "CoreML Model Weights", "name": "weights", "path": "com.apple.CoreML/weights" }, "94744E6D-FAEC-4D1F-A301-3F5385C3BEC0": { "author": "com.apple.CoreML", "description": "CoreML Model Specification", "name": "model.mlmodel", "path": "com.apple.CoreML/model.mlmodel" } }, "rootModelIdentifier": "94744E6D-FAEC-4D1F-A301-3F5385C3BEC0"}123456789101112{ "head": "token_classifier", "output_dim": 17, "per_token": true, "shapes": [ { "batch": 32, "seq": 128, "function": "b32_s128" } ]}3 unmodified lines45678910111 unmodified line1314151617183 unmodified lines"max_tokens": 128,"quantization": "int8","targets": ["openvino","tensorrt"],"runtime_tags": {"trt": "trt11.3",1 unmodified line"tvm": "tvm0.25","mlx_dir": "model_gpu_mlx0.32"},"compiled_at": "2026-09-17T21:54:50Z","compiled_by": "models/_compile"}3 unmodified lines456789101 unmodified line1213141516173 unmodified lines"max_tokens": 128,"quantization": "int8","targets": ["gpu-ane"],"runtime_tags": {"trt": "trt11.3",1 unmodified line"tvm": "tvm0.25","mlx_dir": "model_gpu_mlx0.32"},"compiled_at": "2026-09-24T02:29:13Z","compiled_by": "models/_compile"}
README.md+22
coreml_ane/embed.mlpackage/Data/com.apple.CoreML/model.mlmodelAdded+3
coreml_ane/embed.mlpackage/Data/com.apple.CoreML/weights/weight.binAdded+3
coreml_ane/embed.mlpackage/Manifest.jsonAdded+18
coreml_ane/embed.mlpackage/shapes.jsonAdded+12
manifest.json+2-3