作者: Jakub Rusinowski · 最后更新: 2024年7月23日
消费级硬件开源权重的领军者。Llama 3.1拥有高达128k的上下文窗口,在众多基准测试中媲美GPT-4o。
| Licence | What it permits | Applies to |
|---|---|---|
Llama Community | Commercial use permitted Weights are downloadable and commercial use is permitted, subject to the licence’s acceptable-use terms. | Llama 3.1 8B Instruct |
| Llama 3.1 8B Instruct | Min 6 GB VRAM · Q4_K_M · 128,000 ctx · ollama run llama3.1 |
The cheapest GPU that runs Llama 3.1 Family locally (min 6 GB VRAM) is the Intel Arc B570 (10 GB).
Install Ollama then run: ollama run llama3.1
Minimum VRAM: 6 GB. For best results use Q4_K_M quantization.
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.
| Quant | Size | Download (.gguf) |
|---|---|---|
| Q3_K_M | 3.41 GB (est.) | Meta-Llama-3.1-8B-Instruct-Q3_K_M.gguf |
| Q4_K_M | 4.83 GB (est.) | Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf |
| Q5_K_M | 5.67 GB (est.) | Meta-Llama-3.1-8B-Instruct-Q5_K_M.gguf |
| Q6_K | 6.56 GB (est.) | Meta-Llama-3.1-8B-Instruct-Q6_K.gguf |
| Q8_0 | 8.50 GB (est.) | Meta-Llama-3.1-8B-Instruct-Q8_0.gguf |
Download in LM Studio: lms get bartowski/Meta-Llama-3.1-8B-Instruct-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).
Llama 3.1 Family needs about 6 GB VRAM at Q4_K_M quantization for its smallest variant. Variants: Llama 3.1 8B Instruct (6 GB, Q4_K_M). On Apple Silicon, unified memory counts toward this requirement.
Yes — Llama 3.1 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.
Q4_K_M is the best balance of quality and VRAM for Llama 3.1 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.
Install Ollama, then run: ollama run llama3.1. This downloads Llama 3.1 Family and starts a local, OpenAI-compatible endpoint — no internet connection is needed after the initial download.