ollama/x
Patrick Devine fa69b833cd
mlx: add prequantized tensor packing + changes for qwen35 (#14878)
This change adds a tensorImportTransform interface for model-specific
tensor transformations during safetensors import. This allows importing
and modifying the standard HF based weights as well as the mlx-community
derived pre-quantized safetensors repos to be directly
imported into `ollama create`. Right now this only works with Qwen3.5
importing which does tensor renaming, norm weight shifting (it
adds +1 to each value of the norm vectors), conv1d transposition,
and casts to BF16s for F32 based vectors.
2026-03-17 11:21:18 -07:00
..
agent x/cmd: enable web search and web fetch with flag (#13690) 2026-01-12 13:59:40 -08:00
cmd Reapply "don't require pulling stubs for cloud models" again (#14608) 2026-03-06 14:27:47 -08:00
create mlx: add prequantized tensor packing + changes for qwen35 (#14878) 2026-03-17 11:21:18 -07:00
imagegen mlx: add prequantized tensor packing + changes for qwen35 (#14878) 2026-03-17 11:21:18 -07:00
mlxrunner sched: Model eviction for MLX 2026-03-16 17:40:29 -07:00
models mlx: perf improvements (#14768) 2026-03-12 12:01:28 -07:00
server bugfix: display the parameter count correctly in mlx for ollama show (#14285) 2026-02-16 13:03:34 -08:00
tokenizer MLX: add header vendoring and remove go build tag (#14642) 2026-03-09 17:24:45 -07:00
tools add ability to disable cloud (#14221) 2026-02-12 15:47:00 -08:00