Gemma 2 Family — Google 的本地 AI 模型
作者: Jakub Rusinowski · 最后更新:
基于与Google Gemini相同的研究和技术构建。Gemma 2利用知识蒸馏实现极高效率和创意性能。
变体
Gemma 2 Family 最小的变体在 Q4_K_M 下约需 6 GB 显存——量化权重加框架开销,不含 KV 缓存。
| 模型 | Q4 下显存 | 显存 | 上下文 | 运行 |
|---|---|---|---|---|
| Gemma 2 9B IT → 9B | ~6.2 GB | 8,192 | ollama run gemma2 |
显存为 Q4_K_M 下的量化权重加开销,与 GPU 与显存检测器使用同一引擎计算。
如何在本地运行 Gemma 2 Family
安装 Ollama,然后拉取标签。
ollama run gemma2在上方选择一个尺寸,查看它自己的显存、速度估算和安装命令。
Download Gemma 2 Family — GGUF Quantizations
Pick a quantization and open it in LM Studio, Ollama, or Jan, or download the raw .gguf file directly. Quant list and sizes resolved from Hugging Face.
Gemma 2 9B IT — GGUF quants · bartowski/gemma-2-9b-it-GGUF
| Quant | Size | Download (.gguf) |
|---|---|---|
| Q3_K_M | 3.84 GB (est.) | gemma-2-9b-it-Q3_K_M.gguf |
| Q4_K_M | 5.43 GB (est.) | gemma-2-9b-it-Q4_K_M.gguf |
| Q5_K_M | 6.38 GB (est.) | gemma-2-9b-it-Q5_K_M.gguf |
| Q6_K | 7.38 GB (est.) | gemma-2-9b-it-Q6_K.gguf |
| Q8_0 | 9.56 GB (est.) | gemma-2-9b-it-Q8_0.gguf |
Download in LM Studio: lms get bartowski/gemma-2-9b-it-GGUF
Want this model on your phone? You can run it on your desktop with LM Studio and chat from your iPhone or iPad over an encrypted link — see Run LM Studio Models on Your Phone (LM Link).
许可证
Weights are downloadable and commercial use is permitted, subject to the licence’s acceptable-use terms.
适用于: Gemma 2 9B IT推荐 GPU
目录中能在本地运行 Gemma 2 Family(至少 6 GB 显存)的最便宜 GPU 是 Intel Arc B570 (10 GB).
我的 GPU 能运行 Gemma 2 Family 吗?
- Gemma 2 Family 在 AMD Radeon RX 9060 XT 8GB 上
- Gemma 2 Family 在 Intel Arc B570 上
- Gemma 2 Family 在 Intel Arc B580 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 3060 (12GB) 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 3070 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 3070 Ti 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 3080 (10GB) 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 4060 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 4070 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 4070 Super 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 4070 Ti 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 5060 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 5060 Ti 8GB 上
- Gemma 2 Family 在 NVIDIA GeForce RTX 5070 上
Gemma 2 Family — 常见问题
How much VRAM does Gemma 2 Family need?
Gemma 2 Family needs about 6 GB VRAM at Q4_K_M quantization for its smallest variant. Variants: Gemma 2 9B IT (6 GB, Q4_K_M). On Apple Silicon, unified memory counts toward this requirement.
Can I run Gemma 2 Family on an RTX 4090 (24 GB)?
Yes — Gemma 2 Family runs on an RTX 4090 (24 GB) and other 24 GB cards such as the RTX 3090. Smaller variants also fit comfortably on 8–16 GB GPUs at Q4_K_M.
What quantization should I use for Gemma 2 Family?
Q4_K_M is the best balance of quality and VRAM for Gemma 2 Family in most cases. Choose Q8_0 for near-lossless quality if you have spare VRAM, or smaller quants (Q3/Q2) only when memory is tight.
How do I run Gemma 2 Family with Ollama?
Install Ollama, then run: ollama run gemma2. This downloads Gemma 2 Family and starts a local, OpenAI-compatible endpoint — no internet connection is needed after the initial download.