Holo4-27B โ€” GSQ-RCO GGUF

Per-tensor mixed-precision GGUF builds of the stock Hcompany/Holo4-27B weights for llama.cpp.

This repository has two kinds of file:

  • quant/Holo4-27B-GSQ-RCO-IQ2_S.gguf โ€” searched (2.5 bpw tier). Each of the 851 text tensors had its GGUF type chosen by a task-loss search under an exact 2.5 bpw byte budget (details below). The name is the tier label this repo has always used for 2.5 bpw; the file is a per-tensor mix of many types, not uniform IQ2_S. It replaces the earlier heuristic IQ2_S build, which remains in the repository history. The full per-tensor type list is in tensor-allocation/Holo4-27B-GSQ-RCO-IQ2_S.rco-allocation.txt.
  • quant/Holo4-27B-GSQ-RCO-3.3bpw.gguf โ€” searched (3.3 bpw tier). Searched under a 3.5 bpw budget; the search's own choices land at 3.37 bpw, so it is released as its own 3.3 bpw tier. Listing: tensor-allocation/Holo4-27B-GSQ-RCO-3.3bpw.rco-allocation.txt.
  • IQ2_XXS, IQ3_XXS, IQ3_S โ€” heuristic. These use a fixed edge-to-centre block ladder, not a search.

What this model is

Hcompany/Holo4-27B (developer: H Company) is a 27B vision-language model for computer use ("Qwen3.8 dense", built on Qwen/Qwen3.8-27B). "Dense" means no routed experts, but the network is a hybrid: 64 blocks โ€” 16 full-attention + 48 linear-attention/GDN (attn_qkv, attn_gate, ssm_out, ssm_conv1d, ssm_alpha/beta), dense MLPs everywhere (17,408 hidden), 248,320-token vocab, 262,144-token context. Vision input uses a separate mmproj projector.

License: CC BY-NC 4.0 (non-commercial; the base Qwen3.8-27B is Apache-2.0 and both licenses ship with the vendor repo).

Files

File Size BPW How the types were chosen
quant/Holo4-27B-GSQ-RCO-IQ2_S.gguf 7.72 GiB 2.47 (budget 2.50) Task-loss RCO search, per tensor (below)
tensor-allocation/Holo4-27B-GSQ-RCO-IQ2_S.rco-allocation.txt 26 KiB โ€” Type of every tensor in the IQ2_S file
quant/Holo4-27B-GSQ-RCO-3.3bpw.gguf 10.57 GiB 3.37 (budget 3.50) Task-loss RCO search, per tensor (below)
tensor-allocation/Holo4-27B-GSQ-RCO-3.3bpw.rco-allocation.txt 26 KiB โ€” Type of every tensor in the 3.3 bpw file
mmproj/Holo4-27B-mmproj-BF16.gguf 888 MiB BF16 Vendor vision tower, unquantized; use with any file here
quant/Holo4-27B-GSQ-RCO-IQ2_XXS.gguf 7.27 GiB 2.32 Heuristic: 64 blocks @ IQ2_XXS; embeddings Q4_K
quant/Holo4-27B-GSQ-RCO-IQ3_XXS.gguf 9.35 GiB 2.99 Heuristic: 10 edge @ IQ3_XXS, 39 mid @ IQ2_S, 15 inner @ IQ2_XS
quant/Holo4-27B-GSQ-RCO-IQ3_S.gguf 10.96 GiB 3.50 Heuristic: 19 edge @ IQ3_S, 16 mid @ IQ3_XXS, 29 inner @ IQ2_S
quant/mtp-Holo4-27B-GSQ-RCO-Q8_0.gguf 441 MiB โ€” MTP draft head (Qwen3.8-27B base) for speculative decoding

SHA-256 of the searched IQ2_S file: f46acd7a19a3a3aee71d0786c4afcf18c6a8c5f302d551e90e20be788883f653. SHA-256 of the searched 3.3 bpw file: 727196900e5050a9c162473bd8716a1a7da757b5391d272a65d18a97b0f79e72.

The searched 2.5 bpw build

Method

  1. Candidates. For every text tensor, a quantized candidate was precomputed in each of 25 GGUF types (1-bit to 8-bit plus float). The source is the vendor BF16 safetensors; there is no intermediate quantization.
  2. Search (RCO). Each tensor gets its own probability distribution over its candidate types. At each step a complete model is sampled from these distributions within the byte budget (Gumbel straight-through). The distributions are then updated from the gradient of next-token cross-entropy on calibration text.
    • The expected size stays exactly on the byte budget (a Riemannian-style projection and retraction).
    • A temperature anneal and an entropy term push each tensor towards a single type.
    • The run stops when every tensor except the two vocabulary matrices has a type with probability at least 0.9.
  3. Final assignment. Choose the types that maximize the summed log probability, subject to the exact serialized size being at most the budget. The two vocabulary matrices (output, token_embd) were chosen jointly by exhaustive search. That pairing (output 8-bit, token_embd Q2_K) scored higher than the solver's first answer and uses 97.7% of the budget instead of 94.0%.
  4. Release adjustments (made by hand and recorded in the assignment):
    • TQ1_0/TQ2_0 not allowed. Upstream CUDA has no kernels for them. The 11 tensors that the search had settled on ternary types took their most likely non-ternary type instead (IQ1_S/IQ1_M/Q1_0/Q2_0/ IQ2_XXS/IQ2_XS/IQ2_S). The search had not favoured these replacements, so these 11 tensors (about 0.18 GB) deviate from its choice.
    • token_embd raised from Q2_K to IQ3_S, to use the remaining budget. The search's top choice for it, Q6_K (p = 0.52), did not fit. The final payload is 99.4% of the budget.
Budget 8,404,999,520 bytes = 2.5 bits ร— 26,895,998,464 text weights
Chosen payload 8,351,799,808 bytes (2.484 bpw; the repacked file is 8,288,389,152 bytes)
Search length 271 steps, 4 ร— 2048 tokens per step, 2 ร— V100
Calibration 128 ร— 2048 tokens of C4 (English web text), text only
Vision tower not searched; shipped as the unquantized BF16 mmproj

What it chose (bits per weight by tensor class)

Class bpw Class bpw
output (LM head) 8.50 (Q8_0) attn_output 2.42
attn_v 4.04 attn_k 2.36
token_embd 3.44 (IQ3_S) attn_gate 2.19
ssm_out 2.54 attn_qkv 2.18
attn_q 2.14 ffn_down 2.08
ffn_up 1.98 ffn_gate 1.96

The search put about a sixth of the bytes into the LM head. The MLPs sit near 2 bits, using a mix of IQ2_XXS, IQ2_XS, IQ1_M, IQ1_S and Q2_K. Normalization vectors and other 1-D tensors are F32.

Some tensors in the mix are 1-bit (Q1_0, IQ1_S, IQ1_M). These are the search's choices under a 2.5 bpw budget, not an error.

Compatibility

This file runs on stock upstream llama.cpp. It was tested at commit 2277e75 (2026-11-08) on CPU: text completion, and image description with mmproj/Holo4-27B-mmproj-BF16.gguf. The Q1_0/Q2_0 types need a llama.cpp build at least that recent.

To make the file run upstream, it was repacked after export. The repack changes no weight values:

  • output.weight: Q8_1 โ†’ Q8_0. Upstream has no kernels for Q8_1 weights. The two formats hold the same scale and the same int8 values; Q8_1 only adds a per-block sum. The dequantized weights are bit-identical.
  • 294 small BF16 tensors (norms, conv1d): BF16 โ†’ F32. The conversion is exact; upstream's CPU path aborts on these as BF16.

Both steps were verified tensor by tensor against the exported file. The GGUF metadata key gsq_rco.public_repack records the repack.

Every type in the file has upstream CPU and CUDA kernels. The file contains no TQ1_0/TQ2_0, Q8_1, Q8_K or BF16 tensors. All 353 1-D tensors (norms, ssm_conv1d, ssm_a, biases) are F32: upstream ssm_conv requires F32 weights, and the ISTA-DASLab reference allocations do the same.

Evaluation status

Only smoke tests so far:

  • coherent text answers;
  • a correct one-line description of a test chart image.

No perplexity or agent-benchmark comparison has been run yet for either searched file, neither against BF16 nor against the heuristic builds. The 3.3 bpw file passed the same smoke tests on stock llama.cpp (text and image). Treat any quality difference as unmeasured. The calibration text is generic web text, not agent trajectories.

The searched 3.3 bpw build

Same method as the IQ2_S build above, with these differences:

Budget 11,766,999,328 bytes (3.5 bpw over the searched text weights)
Chosen payload 11,336,310,656 bytes (3.372 bpw, 96.3% of the budget)
Search length 100 steps (stopped as soon as the rule allowed; median top probability 0.9998)
Calibration 128 ร— 2048 tokens. Half are agent trajectories in Holo4's chat format: 53 AgentNet desktop tasks (reasoning + pyautogui actions, MIT) and 53 Mind2Web web tasks (HTML + actions, CC-BY-4.0), each capped at about 1,500 tokens. The other half is C4. No OSWorld data.
Candidate types Q8_1, Q8_K, TQ1_0, TQ2_0 and BF16 removed before the search, so every choice runs on stock llama.cpp CPU and CUDA as exported. No repack and no hand adjustments.
Optimizer Learning rate 0.30 with log decay toward 0.10; entropy push ramping in from step 30

Bits per weight by tensor class (from the file):

Class bpw Class bpw
output (LM head) 8.50 (Q8_0) attn_k 3.12
attn_v 3.92 attn_qkv 3.03
ffn_down 3.35 attn_output 3.02
ffn_gate 3.29 ssm_out 2.98
ffn_up 3.24 attn_q 2.94
attn_gate 2.78 token_embd 1.56 (IQ1_S)

The search left 431 MB of the 3.5 bpw budget unused because no larger type was more likely than the one it chose for any tensor. token_embd was its least certain choice (IQ1_S, p = 0.38), and every larger option was less likely. The two searched files used different calibration data and slightly different search settings, so compare them as separate builds, not as a controlled pair.

Usage

# text
llama-cli -m quant/Holo4-27B-GSQ-RCO-IQ2_S.gguf -ngl 99 \
  -p "Explain mixed-precision quantization."

# vision
llama-mtmd-cli -m quant/Holo4-27B-GSQ-RCO-IQ2_S.gguf \
  --mmproj mmproj/Holo4-27B-mmproj-BF16.gguf \
  --image screenshot.png -p "Describe this screen."

Heuristic builds (earlier files)

The IQ2_XXS, IQ3_XXS and IQ3_S files (and the earlier IQ2_S build, now replaced) predate the search. They use a format-compatible recipe in the style of the GSQ/RCO 3-bit method. The published GSQ/RCO engines emit only HF compressed-tensors and target sm_90+ GPUs, so they cannot produce GGUF directly. The allocation spans every 2-D matrix of a block: dense MLPs, attention and the GDN ssm_out projection.

  • Block ladder: edge blocks (by distance from block 0/63) take the top rung; redundant inner blocks take the bottom rung.
  • Embeddings:
    • 3.50 tier: tied embeddings at Q8_0.
    • 3.00 tier: embeddings at Q6_K.
    • 2.30 tier (and the replaced 2.50 build): embeddings at Q4_K.
  • 1-D norms/biases: fp32.
  • Importance matrix: these builds used mradermacher/Holo4-27B-i1-GGUF โ†’ Holo4-27B.imatrix.gguf. It covers 496 of 498 significant 2-D matrices; token_embd and output have no rows and use K-quants instead.
  • Testing: they were smoke-tested for load and coherent output with CPU-only llama.cpp; vision was not tested for them. The 2-bit files are aggressive by design.

Speculative decoding (MTP)

The vendor Holo checkpoint declares an MTP head but ships no mtp.* weights, so no file here has a usable built-in MTP layer. The draft head in this repository is the MTP block from the matching base model (Qwen/Qwen3.8-27B), quantized to Q8_0. Its tokenizer and dimensions match the Holo weights exactly, and Q8_0 acceptance was identical to BF16 in testing.

llama-server -m quant/Holo4-27B-GSQ-RCO-IQ3_S.gguf \
  -md quant/mtp-Holo4-27B-GSQ-RCO-Q8_0.gguf \
  --spec-type draft-mtp --spec-draft-n-max 3 -ngl 99

Measured greedy CPU acceptance on a code prompt (earlier test, heuristic builds): 86.5% (mean accepted length 3.50). It has not been measured with the searched file. The draft file has no token_embd.weight of its own, so load it with -md, not as a standalone model. A borrow_shared_tensor log line is expected and harmless.

Source and provenance

Hcompany BF16 safetensors
   โ†’ per-type quantized candidates for every tensor (no intermediate quantization)
   โ†’ RCO search (searched file) / fixed block ladder (heuristic files)
   โ†’ GGUF
  • Source: Hcompany/Holo4-27B, the vendor BF16 safetensors.
  • Vision projector: converted from the same vendor safetensors to BF16 GGUF, and not quantized. The vendor's own mmproj.f16.gguf works as well.

Honest limits

  • License: CC BY-NC 4.0, so not for commercial redistribution.
  • Quality is unmeasured: the searched build has only been smoke-tested.
  • Calibration: text only. The IQ2_S build used C4 only; the 3.3 bpw build used half agent trajectories and half C4. Neither search saw screenshots.
  • MTP draft: this is the base-Qwen head, not a Holo-trained head. It is a generic draft for this architecture, validated against the heuristic builds.
Downloads last month
4,916
GGUF
Model size
27B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for lavendercomputing/Holo4-27B-GSQ-RCO-GGUF

Base model

Qwen/Qwen3.8-27B
Quantized
(16)
this model