Image-Text-to-Text
Transformers
Safetensors
English
multilingual
gemma4
multimodal
vision-language
audio-language
quantized
4-bit precision
gptq
autoround
W4A16
text-generation
conversational
auto-round
Run this model with HF Jobs
Run OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound") model = AutoModelForMultimodalLM.from_pretrained("OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound
- SGLang
How to use OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound 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 "OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound" \ --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": "OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound" \ --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": "OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound with Docker Model Runner:
docker model run hf.co/OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound
Update namespace references from Vishva007 to OpenTensorLab
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233---language:- en- multilinguallicense: gemmalibrary_name: transformerstags:- gemma4- multimodal- vision-language- audio-language- quantized- 4-bit- gptq- autoround- W4A16- text-generationbase_model:- google/gemma-4-E2B-itpipeline_tag: image-text-to-text---# Gemma 4 E2B Instruct — W4A16 Quantized AutoRoundThis repository hosts **W4A16 INT4-quantized** versions of [`google/gemma-4-E2B-it`](https://huggingface.co/google/gemma-4-E2B-it), a multimodal mixture-of-experts model supporting text, vision, and audio inputs. Two quantized variants are available:> **Note on MTP / Speculative Decoding:**> If you want to use the official speculative decoding assistant model (`google/gemma-4-E2B-it-assistant`) for MTP support, it is recommended to use the `vllm/vllm-openai:gemma4-0505-cu129` Docker image, which includes newer Gemma 4 support and decoding patches.>> Due to INT4 quantization, the assistant acceptance rate may be lower compared to the original unquantized `google/gemma-4-E2B-it` model.| Variant | Method | Repo ||---------|--------|------|| AutoRound (RTN) | [intel/auto-round](https://github.com/intel/auto-round) | `Vishva007/gemma-4-E2B-it-W4A16-AutoRound` || GPTQ | [AutoGPTQ](https://github.com/AutoGPTQ/AutoGPTQ) | `Vishva007/gemma-4-E2B-it-W4A16-AutoRound-GPTQ` |> **Note:** Only the language model (LM) layers are quantized to INT4. The vision tower, audio tower, and multimodal projectors are kept at full precision (BF16) to preserve multimodal quality.---## Quantization Details| Parameter | Value ||-----------|-------|| **Base model** | `google/gemma-4-E2B-it` || **Quantization scheme** | W4A16 (INT4 weights, BF16 activations) || **Group size** | 128 || **Symmetric** | Yes || **Calibration samples** | 256 || **Sequence length** | 2048 || **Non-LM modules** | Kept at FP32 (vision, audio, projectors) || **Quantized layers** | All LM linear layers (`q_proj`, `k_proj`, `v_proj`, `o_proj`, `gate_proj`, `up_proj`, `down_proj`, `per_layer_input_gate`, `per_layer_projection`) || **AutoRound mode** | RTN (`iters=0`) — required for Gemma 4 compatibility || **Hardware used** | NVIDIA A5000 24GB VRAM || **Framework** | PyTorch 2.10.0 + CUDA 12.8 |---## Model ArchitectureGemma 4 E2B is a multimodal MoE model (`Gemma4ForConditionalGeneration`) with:---## Usage## vLLM InferenceThe recommended way to serve this model is via the official **`vllm/vllm-openai:gemma4`** Docker image, which ships **vLLM v0.19.1** with the latest Transformers patches required for Gemma 4.### Serve with Docker (recommended)```bashdocker run --gpus all --rm -p 8000:8000 \vllm/vllm-openai:gemma4 \vllm serve Vishva007/gemma-4-E2B-it-W4A16-AutoRound \--served-model-name Gemma-4-E2B-it \--quantization autoround \--kv-cache-dtype auto \--max-num-batched-tokens 16384 \--enable-chunked-prefill \--enable-prefix-caching \--dtype bfloat16 \--max-model-len 18432 \--enable-auto-tool-choice \--tool-call-parser gemma4 \--port 8000 \--default-chat-template-kwargs '{"enable_thinking": false}' \--mm-processor-kwargs '{"max_soft_tokens": 560}'```### Direct `vllm serve` (vLLM ≥ 0.19.0)```bashvllm serve Vishva007/gemma-4-E2B-it-W4A16-AutoRound \--served-model-name Gemma-4-E2B-it \--quantization autoround \--kv-cache-dtype auto \--max-num-batched-tokens 16384 \--enable-chunked-prefill \--enable-prefix-caching \--dtype bfloat16 \--max-model-len 18432 \--enable-auto-tool-choice \--tool-call-parser gemma4 \--port 8000 \--default-chat-template-kwargs '{"enable_thinking": false}' \--mm-processor-kwargs '{"max_soft_tokens": 560}'```### `max_soft_tokens` — Image Token BudgetThe `max_soft_tokens` parameter controls how many visual tokens are allocated **per image**. Higher values give richer image representations at the cost of context length and throughput.| `max_soft_tokens` | Detail level | Recommended use ||-------------------|-------------|-----------------|| `70` | Minimal | Fast throughput, simple images || `140` | Low | Charts, diagrams || `280` | Medium *(default)* | General-purpose || `560` | High | Dense scenes, documents || `1120` | Maximum | Fine-grained visual detail |Pass it via `--mm-processor-kwargs '{"max_soft_tokens": <value>}'`.### OpenAI-compatible API callOnce the server is running, query it like any OpenAI-compatible endpoint:```pythonfrom openai import OpenAIclient = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")response = client.chat.completions.create(model="Gemma-4-E2B-it",messages=[{"role": "user","content": [{"type": "text", "text": "Describe what you see."},{"type": "image_url", "image_url": {"url": "https://..."}},],}],max_tokens=512,)print(response.choices.message.content)```The quantized model was then exported in both **AutoRound** and **GPTQ** formats and pushed to Hugging Face Hub.---## Limitations & Notes- **RTN mode** (`iters=0`) is used instead of full AutoRound optimization due to Gemma 4's architecture constraints.- Some layers with shapes not divisible by 32 are skipped during quantization (minor precision impact).- Multimodal (vision/audio) capabilities are fully preserved as those towers are not quantized.---### 🚀 Deploy on RunPodOne-click launch environments pre-configured with PyTorch, CUDA, and dependencies for fine-tuning or quantization.> 🎁 **Need GPU compute?** Sign up via [RunPod](https://runpod.io?ref=iabrlp7z) and get **$5–$500 in free credits** when you add your first $10.#### PyTorch 2.15| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.15 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.15-runpod` | `0rsw686010` | [](https://runpod.io/console/deploy?template=0rsw686010&ref=iabrlp7z) || **PyTorch 2.15 (CUDA 13.4)** | 13.4 | `vishva123/cuda-13.4-pytorch-2.15-runpod` | `0s0rhdfaqy` | [](https://runpod.io/console/deploy?template=0s0rhdfaqy&ref=iabrlp7z) |#### PyTorch 2.14| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.14 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.14-runpod` | `d7lxsa4w9m` | [](https://runpod.io/console/deploy?template=d7lxsa4w9m&ref=iabrlp7z) || **PyTorch 2.14 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.14-runpod` | `yk0y6j6rpg` | [](https://runpod.io/console/deploy?template=yk0y6j6rpg&ref=iabrlp7z) || **PyTorch 2.14 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.14-runpod` | `gsp4gwx0nw` | [](https://runpod.io/console/deploy?template=gsp4gwx0nw&ref=iabrlp7z) |#### PyTorch 2.13| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.13 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.13-runpod` | `gmlupxnxfk` | [](https://runpod.io/console/deploy?template=gmlupxnxfk&ref=iabrlp7z) || **PyTorch 2.13 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.13-runpod` | `y3j8xvk4f4` | [](https://runpod.io/console/deploy?template=y3j8xvk4f4&ref=iabrlp7z) || **PyTorch 2.13 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.13-runpod` | `vigpissn5w` | [](https://runpod.io/console/deploy?template=vigpissn5w&ref=iabrlp7z) |#### PyTorch 2.12| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.12 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.12-runpod` | `ctmz86zmf0` | [](https://runpod.io/console/deploy?template=ctmz86zmf0&ref=iabrlp7z) || **PyTorch 2.12 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.12-runpod` | `qjko5yiwzi` | [](https://runpod.io/console/deploy?template=qjko5yiwzi&ref=iabrlp7z) || **PyTorch 2.12 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.12-runpod` | `ifg6xmye0f` | [](https://runpod.io/console/deploy?template=ifg6xmye0f&ref=iabrlp7z) |---## AcknowledgementsSpecial thanks to OLAF-OSS and the contributors of the gemma4-vllm project for their excellent work in enabling Gemma 4 support with vLLM. Their QUANTIZE.md guide was extremely helpful in understanding the correct quantization approach for gemma-4-E2B-it.At the time of writing, the original repository appears to be unavailable or removed. To ensure reproducibility, I have documented the full quantization workflow used for this model in my own repository.The full quantization process used to produce these models is documented here:📓 [auto_round_Gemma4-E2B.ipynb](https://github.com/vishvaRam/AutoRound-Quantaization/blob/main/Gemma4/auto_round_Gemma4-E2B.ipynb)## LicenseThis quantized model is derived from [`google/gemma-4-E2B-it`](https://huggingface.co/google/gemma-4-E2B-it) and is subject to the [Gemma Terms of Use](https://ai.google.dev/gemma/terms).---## CitationIf you use this quantized model, please also cite the original Gemma 4 work:```bibtex@misc{gemma4_2026,title = {Gemma 4},author = {Google DeepMind},year = {2026},url = {https://huggingface.co/google/gemma-4-E2B-it}}```---*Quantized by [Vishva007](https://huggingface.co/Vishva007)*123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233---language:- en- multilinguallicense: gemmalibrary_name: transformerstags:- gemma4- multimodal- vision-language- audio-language- quantized- 4-bit- gptq- autoround- W4A16- text-generationbase_model:- google/gemma-4-E2B-itpipeline_tag: image-text-to-text---# Gemma 4 E2B Instruct — W4A16 Quantized AutoRoundThis repository hosts **W4A16 INT4-quantized** versions of [`google/gemma-4-E2B-it`](https://huggingface.co/google/gemma-4-E2B-it), a multimodal mixture-of-experts model supporting text, vision, and audio inputs. Two quantized variants are available:> **Note on MTP / Speculative Decoding:**> If you want to use the official speculative decoding assistant model (`google/gemma-4-E2B-it-assistant`) for MTP support, it is recommended to use the `vllm/vllm-openai:gemma4-0505-cu129` Docker image, which includes newer Gemma 4 support and decoding patches.>> Due to INT4 quantization, the assistant acceptance rate may be lower compared to the original unquantized `google/gemma-4-E2B-it` model.| Variant | Method | Repo ||---------|--------|------|| AutoRound (RTN) | [intel/auto-round](https://github.com/intel/auto-round) | `OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound` || GPTQ | [AutoGPTQ](https://github.com/AutoGPTQ/AutoGPTQ) | `OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound-GPTQ` |> **Note:** Only the language model (LM) layers are quantized to INT4. The vision tower, audio tower, and multimodal projectors are kept at full precision (BF16) to preserve multimodal quality.---## Quantization Details| Parameter | Value ||-----------|-------|| **Base model** | `google/gemma-4-E2B-it` || **Quantization scheme** | W4A16 (INT4 weights, BF16 activations) || **Group size** | 128 || **Symmetric** | Yes || **Calibration samples** | 256 || **Sequence length** | 2048 || **Non-LM modules** | Kept at FP32 (vision, audio, projectors) || **Quantized layers** | All LM linear layers (`q_proj`, `k_proj`, `v_proj`, `o_proj`, `gate_proj`, `up_proj`, `down_proj`, `per_layer_input_gate`, `per_layer_projection`) || **AutoRound mode** | RTN (`iters=0`) — required for Gemma 4 compatibility || **Hardware used** | NVIDIA A5000 24GB VRAM || **Framework** | PyTorch 2.10.0 + CUDA 12.8 |---## Model ArchitectureGemma 4 E2B is a multimodal MoE model (`Gemma4ForConditionalGeneration`) with:---## Usage## vLLM InferenceThe recommended way to serve this model is via the official **`vllm/vllm-openai:gemma4`** Docker image, which ships **vLLM v0.19.1** with the latest Transformers patches required for Gemma 4.### Serve with Docker (recommended)```bashdocker run --gpus all --rm -p 8000:8000 \vllm/vllm-openai:gemma4 \vllm serve OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound \--served-model-name Gemma-4-E2B-it \--quantization autoround \--kv-cache-dtype auto \--max-num-batched-tokens 16384 \--enable-chunked-prefill \--enable-prefix-caching \--dtype bfloat16 \--max-model-len 18432 \--enable-auto-tool-choice \--tool-call-parser gemma4 \--port 8000 \--default-chat-template-kwargs '{"enable_thinking": false}' \--mm-processor-kwargs '{"max_soft_tokens": 560}'```### Direct `vllm serve` (vLLM ≥ 0.19.0)```bashvllm serve OpenTensorLab/gemma-4-E2B-it-W4A16-AutoRound \--served-model-name Gemma-4-E2B-it \--quantization autoround \--kv-cache-dtype auto \--max-num-batched-tokens 16384 \--enable-chunked-prefill \--enable-prefix-caching \--dtype bfloat16 \--max-model-len 18432 \--enable-auto-tool-choice \--tool-call-parser gemma4 \--port 8000 \--default-chat-template-kwargs '{"enable_thinking": false}' \--mm-processor-kwargs '{"max_soft_tokens": 560}'```### `max_soft_tokens` — Image Token BudgetThe `max_soft_tokens` parameter controls how many visual tokens are allocated **per image**. Higher values give richer image representations at the cost of context length and throughput.| `max_soft_tokens` | Detail level | Recommended use ||-------------------|-------------|-----------------|| `70` | Minimal | Fast throughput, simple images || `140` | Low | Charts, diagrams || `280` | Medium *(default)* | General-purpose || `560` | High | Dense scenes, documents || `1120` | Maximum | Fine-grained visual detail |Pass it via `--mm-processor-kwargs '{"max_soft_tokens": <value>}'`.### OpenAI-compatible API callOnce the server is running, query it like any OpenAI-compatible endpoint:```pythonfrom openai import OpenAIclient = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")response = client.chat.completions.create(model="Gemma-4-E2B-it",messages=[{"role": "user","content": [{"type": "text", "text": "Describe what you see."},{"type": "image_url", "image_url": {"url": "https://..."}},],}],max_tokens=512,)print(response.choices.message.content)```The quantized model was then exported in both **AutoRound** and **GPTQ** formats and pushed to Hugging Face Hub.---## Limitations & Notes- **RTN mode** (`iters=0`) is used instead of full AutoRound optimization due to Gemma 4's architecture constraints.- Some layers with shapes not divisible by 32 are skipped during quantization (minor precision impact).- Multimodal (vision/audio) capabilities are fully preserved as those towers are not quantized.---### 🚀 Deploy on RunPodOne-click launch environments pre-configured with PyTorch, CUDA, and dependencies for fine-tuning or quantization.> 🎁 **Need GPU compute?** Sign up via [RunPod](https://runpod.io?ref=iabrlp7z) and get **$5–$500 in free credits** when you add your first $10.#### PyTorch 2.15| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.15 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.15-runpod` | `0rsw686010` | [](https://runpod.io/console/deploy?template=0rsw686010&ref=iabrlp7z) || **PyTorch 2.15 (CUDA 13.4)** | 13.4 | `vishva123/cuda-13.4-pytorch-2.15-runpod` | `0s0rhdfaqy` | [](https://runpod.io/console/deploy?template=0s0rhdfaqy&ref=iabrlp7z) |#### PyTorch 2.14| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.14 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.14-runpod` | `d7lxsa4w9m` | [](https://runpod.io/console/deploy?template=d7lxsa4w9m&ref=iabrlp7z) || **PyTorch 2.14 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.14-runpod` | `yk0y6j6rpg` | [](https://runpod.io/console/deploy?template=yk0y6j6rpg&ref=iabrlp7z) || **PyTorch 2.14 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.14-runpod` | `gsp4gwx0nw` | [](https://runpod.io/console/deploy?template=gsp4gwx0nw&ref=iabrlp7z) |#### PyTorch 2.13| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.13 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.13-runpod` | `gmlupxnxfk` | [](https://runpod.io/console/deploy?template=gmlupxnxfk&ref=iabrlp7z) || **PyTorch 2.13 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.13-runpod` | `y3j8xvk4f4` | [](https://runpod.io/console/deploy?template=y3j8xvk4f4&ref=iabrlp7z) || **PyTorch 2.13 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.13-runpod` | `vigpissn5w` | [](https://runpod.io/console/deploy?template=vigpissn5w&ref=iabrlp7z) |#### PyTorch 2.12| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.12 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.12-runpod` | `ctmz86zmf0` | [](https://runpod.io/console/deploy?template=ctmz86zmf0&ref=iabrlp7z) || **PyTorch 2.12 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.12-runpod` | `qjko5yiwzi` | [](https://runpod.io/console/deploy?template=qjko5yiwzi&ref=iabrlp7z) || **PyTorch 2.12 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.12-runpod` | `ifg6xmye0f` | [](https://runpod.io/console/deploy?template=ifg6xmye0f&ref=iabrlp7z) |---## AcknowledgementsSpecial thanks to OLAF-OSS and the contributors of the gemma4-vllm project for their excellent work in enabling Gemma 4 support with vLLM. Their QUANTIZE.md guide was extremely helpful in understanding the correct quantization approach for gemma-4-E2B-it.At the time of writing, the original repository appears to be unavailable or removed. To ensure reproducibility, I have documented the full quantization workflow used for this model in my own repository.The full quantization process used to produce these models is documented here:📓 [auto_round_Gemma4-E2B.ipynb](https://github.com/vishvaRam/AutoRound-Quantaization/blob/main/Gemma4/auto_round_Gemma4-E2B.ipynb)## LicenseThis quantized model is derived from [`google/gemma-4-E2B-it`](https://huggingface.co/google/gemma-4-E2B-it) and is subject to the [Gemma Terms of Use](https://ai.google.dev/gemma/terms).---## CitationIf you use this quantized model, please also cite the original Gemma 4 work:```bibtex@misc{gemma4_2026,title = {Gemma 4},author = {Google DeepMind},year = {2026},url = {https://huggingface.co/google/gemma-4-E2B-it}}```---*Quantized by [OpenTensorLab](https://huggingface.co/OpenTensorLab)*
README.md+233-233