ollama/mlxrunner/model
Jesse Gross 66c3238b3d mlxrunner: lay out model by contract, checkpoint and construction
model is one package with three jobs: the contract between the runner
and the architectures, the opened checkpoint, and building nn layers
from checkpoint tensors. Its files did not say which was which. base.go
carried the folded package's name over the interfaces and the registry,
root.go held the safetensors header scan next to Root, and quant.go
mixed the nvfp4 global-scale helpers with quant parameter resolution.

base.go becomes model.go, named for what it holds. root.go keeps Root
and Open; TensorQuantInfo and the header scan join quant.go, so
everything the checkpoint says about quantization is read and resolved
in one file. The global-scale helpers move to globalscale.go with their
tests. Root.Close, a no-op with one caller, goes. No code changes
otherwise.
2026-09-16 14:06:08 -07:00
..
architectures
audio
cohere2_moe mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
dflash mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
gemma4 mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
glimmer mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
glm4_moe_lite mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
laguna mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
llama mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
nemotron_h mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
qwen3 mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
qwen3_5 mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
qwen3_5_moe mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
qwen4_exp mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
embedding.go
embedding_test.go
globalscale.go mlxrunner: lay out model by contract, checkpoint and construction 2026-09-16 14:06:08 -07:00
globalscale_test.go mlxrunner: lay out model by contract, checkpoint and construction 2026-09-16 14:06:08 -07:00
linear.go
media.go mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
model.go mlxrunner: lay out model by contract, checkpoint and construction 2026-09-16 14:06:08 -07:00
quant.go mlxrunner: lay out model by contract, checkpoint and construction 2026-09-16 14:06:08 -07:00
root.go mlxrunner: lay out model by contract, checkpoint and construction 2026-09-16 14:06:08 -07:00