Views
No views yet
coder3101/gemma-4-26B-A4B-it-heretic model. The quantization procedure was designed to maximize inference throughput on NVIDIA hardware equipped with FP8 tensor cores (e.g., Hopper, Blackwell architectures) while preserving conversational accuracy.mgoin/ultrachat_2k dataset.AutoFP8 implicitly attempts to quantize all linear layers indiscriminately. To ensure the model remains fully multimodal and compatible with vLLM, a surgical restoration process was applied post-quantization:config.json was patched to explicitly add the vision_tower and embed_vision modules, alongside the MoE router.proj layers, to the ignored_layers list.bfloat16 weights for all vision layers (e.g., model.vision_tower.encoder.layers...) and MoE routers were extracted from the base model.bfloat16 weights were manually injected back into the quantized FP8 model.safetensors, overwriting the corrupted FP8 layers.weight_scale, input_scale) generated by AutoFP8 for these specific modules were deleted to prevent vLLM from attempting to load them as quantized layers.1python -m vllm.entrypoints.openai.api_server \
2 --model cloud19/gemma-4-26B-A4B-it-heretic-FP8-Static \
3 --served-model-name "gemma-rp-uncensored" \
4 --tensor-parallel-size 1 \
5 --max-model-len 131072 \
6 --gpu-memory-utilization 0.95 \
7 --enable-chunked-prefill \
8 --max-num-batched-tokens 8192 \
9 --enable-auto-tool-choice \
10 --tool-call-parser gemma4 \
11 --port 8080