IBM Granite 4.0 — IBM 的本地 AI 模型
作者: Jakub Rusinowski · 最后更新:
The Granite 4.0 generation, listed here for the one tier that has no Granite 4.1 counterpart: the 32B-total / 9B-active hybrid mamba-2 build. Granite models are finetuned from their base models on permissively-licensed open instruction datasets plus internally-collected synthetic data, with improved instruction-following and tool-calling aimed squarely at enterprise RAG and agent workloads. Apache 2.0. For the smaller sizes, see Granite 4.1 — those tiers are newer and supersede their 4.0 equivalents.
变体
IBM Granite 4.0 最小的变体在 Q4_K_M 下约需 20 GB 显存——量化权重加框架开销,不含 KV 缓存。
| 模型 | Q4 下显存 | 显存 | 上下文 | 运行 |
|---|---|---|---|---|
| Granite 4.0 Small-H 32B-A9B → 32B (9B active) | ~20.1 GB | 128,000 | ollama run granite4:32b-a9b-h |
显存为 Q4_K_M 下的量化权重加开销,与 GPU 与显存检测器使用同一引擎计算。
如何在本地运行 IBM Granite 4.0
安装 Ollama,然后拉取标签。
ollama run granite4:32b-a9b-h在上方选择一个尺寸,查看它自己的显存、速度估算和安装命令。
许可证
Commercial use permitted. No usage restrictions beyond attribution.
适用于: Granite 4.0 Small-H 32B-A9B推荐 GPU
目录中能在本地运行 IBM Granite 4.0(至少 20 GB 显存)的最便宜 GPU 是 AMD Radeon RX 7900 XTX (24 GB).
我的 GPU 能运行 IBM Granite 4.0 吗?
- IBM Granite 4.0 在 AMD Radeon RX 7800 XT 上
- IBM Granite 4.0 在 AMD Radeon RX 7900 XT 上
- IBM Granite 4.0 在 AMD Radeon RX 7900 XTX 上
- IBM Granite 4.0 在 AMD Radeon RX 9060 XT 16GB 上
- IBM Granite 4.0 在 AMD Radeon RX 9060 XT 8GB 上
- IBM Granite 4.0 在 AMD Radeon RX 9070 上
- IBM Granite 4.0 在 AMD Radeon RX 9070 XT 上
- IBM Granite 4.0 在 Apple M1 上
- IBM Granite 4.0 在 Apple M1 Pro 上
- IBM Granite 4.0 在 Apple M2 上
- IBM Granite 4.0 在 Apple M2 Pro 上
- IBM Granite 4.0 在 Apple M3 上
- IBM Granite 4.0 在 Apple M3 Pro 上
- IBM Granite 4.0 在 Apple M4 上
- IBM Granite 4.0 在 Apple M4 Pro 上
- IBM Granite 4.0 在 Apple M5 上
- IBM Granite 4.0 在 Intel Arc B570 上
- IBM Granite 4.0 在 Intel Arc B580 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 3060 (12GB) 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 3070 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 3070 Ti 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 3080 (10GB) 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 3090 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 4060 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 4060 Ti 16GB 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 4070 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 4070 Super 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 4070 Ti 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 4070 Ti Super 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 4080 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 4080 Super 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 4090 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 5060 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 5060 Ti 16GB 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 5060 Ti 8GB 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 5070 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 5070 Ti 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 5080 上
- IBM Granite 4.0 在 NVIDIA GeForce RTX 5090 上
- IBM Granite 4.0 在 NVIDIA L40S 上
- IBM Granite 4.0 在 NVIDIA RTX 6000 Ada Generation 上
IBM Granite 4.0 — 常见问题
How much VRAM does IBM Granite 4.0 need?
IBM Granite 4.0 needs about 20 GB VRAM at Q4_K_M quantization for its smallest variant. Variants: Granite 4.0 Small-H 32B-A9B (20 GB, Q4_K_M). On Apple Silicon, unified memory counts toward this requirement.
Can I run IBM Granite 4.0 on an RTX 4090 (24 GB)?
Yes — IBM Granite 4.0 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 IBM Granite 4.0?
Q4_K_M is the best balance of quality and VRAM for IBM Granite 4.0 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 IBM Granite 4.0 with Ollama?
Install Ollama, then run: ollama run granite4:32b-a9b-h. This downloads IBM Granite 4.0 and starts a local, OpenAI-compatible endpoint — no internet connection is needed after the initial download.