How to use from
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 "AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
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 "AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Quick Links

Gemma 2 9B β€” RL-MPQ Extreme Survival

Standalone RL-MPQ (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the Extreme Survival scenario β€” a quantized variant of google/gemma-2-9b.

Field Value
Base model google/gemma-2-9b
Scenario Extreme Survival
Avg bits / weight 2.7857
Compression vs FP16 5.7436Γ—
WikiText-2 PPL 424.7991
Layers 42
Bit distribution {'2': 9, '3': 33}
Format Fake-quant FP16 + rlmpq_policy.json

Collection: RL-MPQ β€” Gemma 2 9B β€” all five scenarios for Gemma 2 9B.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival"

model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="float16")
tokenizer = AutoTokenizer.from_pretrained(repo)

Other Gemma 2 9B scenarios

Scenario Avg bits Compression WikiText-2 PPL
Aggressive 3.6667 4.3636x 162.8437
Balanced 4.2857 3.7333x 127.0798
Conservative 5.1429 3.1111x 116.5244
High Fidelity 7.0476 2.2703x 104.8098

Grouped archive (all scenarios in one repo): AvoCahDoe/gemma-2-9b-rlmpq

Method

  1. Phase 3 β€” PPO agent assigns per-layer bit widths under the Extreme Survival reward target.
  2. Phase 4 β€” Policy replayed on real weights; WikiText-2 perplexity validates quality.
  3. Export β€” Fake-quantized FP16 weights compatible with Hugging Face Transformers.

Files

File Description
config.json Llama architecture + RL-MPQ metadata
model.safetensors Fake-quantized weights
rlmpq_policy.json Per-layer bit-width policy
rlmpq_metrics.json Validation & PPL summary

Citation

@misc{rlmpq_gemma_2_9b_extreme-survival_2026,
  title  = {RL-MPQ Extreme Survival: Gemma 2 9B Mixed-Precision Quantization},
  author = {AvoCahDoe},
  year   = {2026},
  url    = {https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival}
}
Downloads last month
6
Safetensors
Model size
9B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival

Finetuned
(330)
this model

Dataset used to train AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival

Collection including AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival