Views
No views yet
google/gemma-4-26B-A4B-it).quantize_gemma_dflash_q8.py (parameterized variant of dflash/scripts/quantize_draft_q8.py)gemma4-dflash-draftn_target_layers=30, target_layer_ids=[1,6,11,17,22,27], block_size=16, mask_token_id=4unsloth/gemma-4-26B-A4B-it-GGUF or equivalent)dflash.fc.weight and dflash.hidden_norm.weight bridge target hidden states into the draft. Do not re-quantize with stock llama-quantize — it strips these tensors. Use the script above.gemma4-dflash-draft in lucebox-hub is the next step after PR #232 (gemma4 target adapter).1# With dflash_server (once gemma4-dflash-draft arch is wired in the loader)
2dflash_server gemma-4-26B-A4B-it-UD-Q4_K_M.gguf --draft gemma-4-26B-A4B-it-DFlash-q8_0.gguf1PYTHONPATH=lucebox-hub/dflash/deps/llama.cpp/gguf-py \
2python3 quantize_gemma_dflash_q8.py \
3 gemma-4-26B-A4B-it-DFlash/ \
4 gemma-4-26B-A4B-it-DFlash-q8_0.gguf \
5 --name gemma-4-26B-A4B-it-DFlash-Q8_0