Will It Run AI

MetaMeta

Llama 3.1 8B

旧版
10.5M下载量5.9K点赞Jul 2024发布日期128K tokens上下文Community许可证51 良好质量

Llama 3.1 8B (8B parameters) requires approximately 8.6 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 10 GB of VRAM.

快速开始

— 复制粘贴即可本地运行

Copy-paste commands to run Llama 3.1 8B on your machine.

Run

ollama run llama3.1

Quick specs

Parameters8B
Architecturedense
Context128K tokens
Modalitytext
Min RAM3.1 GB
Rec. RAM4.9 GB (Q4_K_M)
LicenseCommunity
FamilyLlama
Chat

About this model

Llama 3.1 8B 是 Meta 的高效通用模型,支持 128K 上下文和多语言文本生成,针对对话、摘要、推理和代码生成任务进行了优化。

相关模型

你的硬件

检测中...

快速推荐

最佳硬件

Llama 3.1 8B 的最佳选择

运行此模型

量化选项

各量化级别的 VRAM 估算

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
3.1 GB
Low
Q3_K_S
3
3.9 GB
Low
NVFP4
4
4.5 GB
Medium
Q4_K_M
4
4.9 GB
Medium
Q5_K_M
5
5.8 GB
High
Q6_K
6
6.6 GB
High
Q8_0
8
8.6 GB
Very High
F16
16
16.4 GB
Maximum

Quality benchmarks

Llama 3.1 8B benchmark scores

Benchmark verified

Coding

SWE-bench Verified
HumanEval+72.6%
Aider Polyglot
LiveCodeBench

Reasoning

MMLU-Pro48.3%
GPQA Diamond30.4%
MATH-50051.9%
ARC Challenge83.4%

General

Chatbot Arena
IFEval80.4%

Source: official · 2024-07-23

硬件兼容性

全部硬件的适配估算

打开计算器

Computing compatibility...

内存详细分析

Reference: RTX 2060 6GB

Weights4.9 GB
KV Cache2.0 GB
Runtime1.2 GB
Headroom0.6 GB

常见问题

FAQ — Llama 3.1 8B

另请参阅