Instructions to use groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- vLLM
How to use groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1
- SGLang
How to use groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 with Docker Model Runner:
docker model run hf.co/groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1
Gemma-4-Abliterated-GPTQ-4bit-Pro-v1
Overview
Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 is a GPTQ-quantized checkpoint intended for efficient GPU inference, published by groxaxo.
It is intended for open-source evaluation, reproducible experimentation, and compatible local or
hosted inference workflows. The wording below is deliberately limited to what can be verified
from this repository's metadata and artifacts.
The repository name identifies a behavior-modified or reduced-filtering lineage. That label describes the source or conversion history; it is not a guarantee of unrestricted behavior in every prompt or runtime. Test outputs carefully before sharing or deploying them.
At a glance
| Field | Details |
|---|---|
| Format | GPTQ |
| Source / base | wangzhang/gemma-4-31B-it-abliterated |
| Intended task | image-text-to-text |
| License | other |
What is included
*.safetensors(5 files)config.jsongeneration_config.jsontokenizer.jsontokenizer_config.jsonchat_template.jinjaquantize_config.json- Additional configuration, tokenizer, processor, or shard files (13 visible artifacts total)
Quick start
vLLM (documented configuration)
CUDA_VISIBLE_DEVICES=0,1 \
vllm serve groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 \
--tensor-parallel-size 2 \
--gpu-memory-utilization 0.92 \
--max-model-len 8192 \
--max-num-batched-tokens 32768 \
--trust-remote-code
This command is taken from the repository documentation. Adjust tensor parallelism, context length, and cache settings to match your hardware and vLLM version.
Compatibility and responsible use
- Use a runtime that explicitly supports this format, architecture, and modality.
- Keep configuration, tokenizer, processor, projection, and weight files from the same revision together.
- Review the source model card and license before redistribution or deployment.
- Hardware needs depend on parameter count, context length, cache precision, quantization, and concurrency.
- Report reproducible issues with the runtime version, hardware, launch command, and a minimal example.
Quantization or conversion changes numerical behavior, memory use, and throughput relative to the source checkpoint; validate quality on your own workload.
Generated outputs may be inaccurate or unsuitable for a given use case. Users are responsible for testing behavior, applying appropriate safeguards, and complying with applicable licenses and laws.
Gemma-4-Abliterated-GPTQ-4bit-Pro-v1
Big-model capability. 4-bit footprint. Built for local inference that does not melt your rig.
Base Model • GPTQ Pro • groxaxo
Overview
Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 is a deployment-ready 4-bit GPTQ Pro quantization of wangzhang/gemma-4-31B-it-abliterated, built by groxaxo for efficient local inference, reduced VRAM usage, and practical 2-GPU serving.
This release targets users who want the behavior and capability of a 31B-class Gemma 4 model without the painful memory requirements of full-precision weights.
Quantized with GPTQ Pro by groxaxo.
Why This Quant?
Most large models are annoying to deploy locally: too much VRAM, slow loading, awkward sharding, and poor usability on real-world hardware.
This release focuses on what actually matters:
- Lower VRAM pressure — 4-bit quantization makes a 31B-class model much easier to run locally.
- Consumer GPU friendly — designed for practical inference on local GPU rigs, especially 2x GPU setups.
- Deployment-first packaging — safetensors format, clean naming, and inference-oriented quantization.
- Strong quality-to-size ratio — keeps the model useful while heavily reducing the weight footprint.
- Better serving headroom — more VRAM remains available for KV cache, batching, and longer contexts.
- Abliterated behavior profile — based on the abliterated Gemma 4 31B IT variant.
- Built by groxaxo — quantized using the GPTQ Pro pipeline for practical local deployment.
Model Details
| Field | Value |
|---|---|
| Base model | wangzhang/gemma-4-31B-it-abliterated |
| Quantization | GPTQ Pro |
| Precision | 4-bit |
| Format | Safetensors |
| Model size | ~19.2 GB |
| Quantized by | groxaxo |
| GPTQ Pro repo | groxaxo/GPTQ-Pro |
| Intended use | Inference / serving |
Key Benefits
Efficient Local Serving
Run a 31B-class model with a dramatically reduced memory footprint. This makes the model more practical for local labs, private inference servers, hobbyist clusters, and dual-GPU consumer setups.
Better Hardware Utilization
Because the weights are compressed to 4-bit, more VRAM remains available for the parts that matter during inference: KV cache, batching, longer contexts, and higher request concurrency.
Practical 2-GPU Deployment
This model is suitable for tensor-parallel serving across 2 GPUs. Homogeneous GPUs are strongly preferred for maximum stability and throughput.
Smaller Download, Faster Iteration
At roughly 19.2 GB, this release is easier to download, store, move, test, and redeploy than full-precision checkpoints.
Built for Builders
This quant is intended for people actually deploying models:
- Local assistants
- Private LLM APIs
- vLLM serving
- 2-GPU inference
- Offline/private generation
- Benchmarking
- Rapid model comparison
- Text and code generation experiments
Deployment
Install vLLM
pip install -U vllm
Recommended vLLM Serving Command
For a 2x GPU setup:
CUDA_VISIBLE_DEVICES=0,1 \
vllm serve groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 \
--tensor-parallel-size 2 \
--gpu-memory-utilization 0.92 \
--max-model-len 8192 \
--trust-remote-code
For 2x RTX 3090, this is the clean setup. Keep the tensor-parallel group homogeneous; mixing a 3090 with a weaker card is only worth it when memory matters more than throughput.
Conservative 2-GPU Command
Use this if you hit OOM or want more KV-cache safety:
CUDA_VISIBLE_DEVICES=0,1 \
vllm serve groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 \
--tensor-parallel-size 2 \
--gpu-memory-utilization 0.85 \
--max-model-len 8192 \
--trust-remote-code
Higher Throughput 2-GPU Command
Use this for API-style serving with batching:
CUDA_VISIBLE_DEVICES=0,1 \
vllm serve groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 \
--tensor-parallel-size 2 \
--gpu-memory-utilization 0.92 \
--max-model-len 8192 \
--max-num-batched-tokens 32768 \
--trust-remote-code
Useful knobs:
- Lower
--max-model-lenif you do not need long context. - Increase
--gpu-memory-utilizationonly if the server is stable. - Use two matching GPUs whenever possible.
- Avoid mixing 3090 + 3060 unless memory is the priority over speed.
- If throughput tanks, the weaker GPU is probably dragging the tensor-parallel group down.
Transformers / AutoGPTQ
pip install -U transformers accelerate auto-gptq
from transformers import AutoTokenizer
from auto_gptq import AutoGPTQForCausalLM
model_id = "groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1"
tokenizer = AutoTokenizer.from_pretrained(
model_id,
use_fast=True,
trust_remote_code=True,
)
model = AutoGPTQForCausalLM.from_quantized(
model_id,
device="cuda:0",
use_safetensors=True,
trust_remote_code=True,
)
prompt = "Explain tensor parallelism in one paragraph."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.7,
top_p=0.9,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Throughput Tuning
For better serving performance:
CUDA_VISIBLE_DEVICES=0,1 \
vllm serve groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1 \
--tensor-parallel-size 2 \
--gpu-memory-utilization 0.92 \
--max-model-len 8192 \
--max-num-batched-tokens 32768 \
--trust-remote-code
Recommended tuning:
- Lower
--max-model-lenfor better throughput if long context is unnecessary. - Increase
--max-num-batched-tokensfor heavier concurrent workloads. - Keep tensor-parallel GPUs homogeneous.
- Prefer 2x RTX 3090 or equivalent over mixed VRAM/bandwidth setups.
- Watch VRAM during long prompts; KV cache grows fast.
- Do not overbatch until latency becomes trash. Throughput without usable latency is just benchmark cosplay.
Recommended Use Cases
- Local chat inference
- Private LLM serving
- vLLM deployment
- 2-GPU inference
- Research and experimentation
- Instruction-following workloads
- Text generation
- Code generation
- Offline/private assistant workflows
Limitations
This is a 4-bit quantized model. Some degradation compared to the original higher-precision checkpoint is expected, especially on:
- highly sensitive reasoning tasks
- exact numeric work
- long-context edge cases
- strict instruction-following edge cases
- tasks requiring high precision in small probability differences
This model is intended for inference only. It is not suitable for training or fine-tuning.
Credits
- Base model:
wangzhang/gemma-4-31B-it-abliterated - Quantization:
groxaxo - Quantization pipeline:
GPTQ Pro
Quantized for people who actually run models, not just collect checkpoints.
- Downloads last month
- 62
Model tree for groxaxo/Gemma-4-Abliterated-GPTQ-4bit-Pro-v1
Base model
google/gemma-4-31B