Missing GGUF files mentioned in README + Fixes for llama.cpp / LM Studio conversion (unstripped VL/MTP tensors & missing _shexp)

#1
by CosmicBull - opened

The model card lists gguf in the tags and gives a llama-cli -m Moderato-V1-Pro-Q4_K_M.gguf quickstart command, but there are no .gguf weights uploaded to this repository.

For anyone trying to convert the 47 bfloat16 safetensor shards to GGUF for llama.cpp or LM Studio, stock convert_hf_to_gguf.py will fail out of the box due to four packaging issues in the current checkpoint:

  1. Custom Architecture Wrapper (ModeratoRRRMoeForCausalLM / moderato_moe): The underlying backbone is Qwen3_5MoeForConditionalGeneration (qwen35moe hybrid 3:1 GatedDeltaNet linear_attn + full GQA attention), but config.json uses the custom RRR wrapper name and keeps num_experts / moe_intermediate_size at the top level instead of inside text_config.
  2. Unstripped Vision Tower & Broken MTP Tensors: The safetensor shards still contain leftover multimodal vision tower weights (model.visual.blocks.0..26.*), dense Multi-Token Prediction weights (mtp.layers.0.* in shard 47, which fail MoE tensor mapping on blk.64), and the rrr_controller.* side-probe weights. You must filter these out and pass --no-mtp.
  3. Mixtral-Style Expert Key Naming: The 6 routed experts per layer are saved under .block_sparse_moe.experts.{0..5}.* and .block_sparse_moe.gate.weight, whereas llama.cpp's Qwen3_5MoeModel converter expects .mlp.experts.{0..5}.* and .mlp.gate.weight.
  4. Hardcoded Shared Expert Check in llama.cpp (blk.0.ffn_gate_inp_shexp.weight not found): Because this model was upcycled from 6 dense 27B models without a shared expert, it lacks shared_expert tensors. However, llama.cpp's C++ loader (src/models/qwen35moe.cpp) unconditionally checks for ffn_gate_inp_shexp.weight and ffn_{gate,up,down}_shexp.weight at load time. Injecting a zeroed dummy shared expert (shared_expert_intermediate_size = 64, which adds ~105 MB total and evaluates to 0.0 so routing is 100% unchanged) allows stock llama.cpp and LM Studio to load and run the model cleanly.

I am working on a patch today.

Sign up or log in to comment