model : Inkling 2 Mini (#32694)

* Conversion

* Separate model_type

* Add gate_rank to allow building from metadata while testing

* Base model

* Loop graph

* Support the new is_varloop attribute

* Adopt naming scheme from https://github.com/ggml-org/llama.cpp/pull/32588

* Rename to varying
This commit is contained in:
Pedro Cuenca authored and GitHub committed 2026-11-20 23:01:07 +01:00
1 parent e3c3f666a4
commit 29b52d398b
13 files changed
+644 -136

No files matched your search

+3 -2
View File
@@ -340,12 +340,13 @@ static bool tensor_allows_quantization(const llama_model_quantize_params * param
quantize &= name.find("mudd_") == std::string::npos;
}
// inkling2: short conv kernels, clip scales, residual mix queries and the relative bias projection
if (arch == LLM_ARCH_INKLING2) {
// inkling2: short conv kernels, clip scales, residual mix queries, the relative bias projection and the loop tensors
if (arch == LLM_ARCH_INKLING2 || arch == LLM_ARCH_INKLING2_LOOP) {
quantize &= name.find("_conv.weight") == std::string::npos;
quantize &= name.find("_clip.weight") == std::string::npos;
quantize &= name.find("_res_query.weight") == std::string::npos;
quantize &= name.find("attn_rel_bias.weight") == std::string::npos;
quantize &= name.find(".loop_") == std::string::npos;
}
// zaya1: the top-1 router and the grouped conv kernels stay F32