Ollama 发布: v0.34.2-rc1: 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.
阅读原始来源- 来源
- Ollama 发布 · 官方来源
- 来源更新
- 2026/09/17 05:06
- 首次采集
- 2026/09/19 12:56
本文为公开信息索引与摘要,详情及后续变化请以原始来源为准。