ollama/template
Daniel Hiltgen 98acec40ae
create: add server-side MLX imports and drop GGUF conversion (#14969)
* create: add server-side MLX imports and drop GGUF conversion

Support safetensors imports through the MLX create pipeline both locally and on the server, including remote upload/staging, draft layer handling, cancellation propagation, transfer limits, and shared manifest/blob writing.

Limit GGUF create to wrapping existing GGUF inputs into Ollama manifests. Remove the in-tree safetensors-to-GGUF converter, server quantization path, and converter-only dependencies so GGUF conversion and quantization stay in llama.cpp tooling.

Keep the MLX path focused on supported safetensors model creation with validation before MLX work, and expose that flow without the --experimental CLI gate.

* address comments

* add client side gguf create fast path

* address comments

* rebase adjustments
2026-09-14 20:32:36 -07:00
..
testdata
alfred.gotmpl
alfred.json
alpaca.gotmpl
alpaca.json
chatml.gotmpl
chatml.json
chatqa.gotmpl
chatqa.json
codellama-70b-instruct.gotmpl
codellama-70b-instruct.json
command-r.gotmpl
command-r.json
falcon-instruct.gotmpl
falcon-instruct.json
gemma-instruct.gotmpl
gemma-instruct.json
gemma3-instruct.gotmpl
gemma3-instruct.json
granite-instruct.gotmpl
granite-instruct.json
index.json
llama2-chat.gotmpl
llama2-chat.json
llama3-instruct.gotmpl
llama3-instruct.json
magicoder.gotmpl
magicoder.json
mistral-instruct.gotmpl
mistral-instruct.json
openchat.gotmpl
openchat.json
phi-3.gotmpl
phi-3.json
solar-instruct.gotmpl
solar-instruct.json
starcoder2-instruct.gotmpl
starcoder2-instruct.json
template.go lint fixes (#17897) 2026-08-20 10:23:25 -07:00
template_test.go create: add server-side MLX imports and drop GGUF conversion (#14969) 2026-09-14 20:32:36 -07:00
vicuna.gotmpl
vicuna.json
zephyr.gotmpl
zephyr.json