Will It Run AI

Mistral AIMistral AI

Codestral Mamba 7B

当前
51.7K下载量617点赞Jul 2024发布日期262K tokens上下文Apache 2.0许可证60 良好质量

Codestral Mamba 7B (7B parameters) requires approximately 6.3 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 8 GB of VRAM.

快速开始

— 复制粘贴即可本地运行

Copy-paste commands to run Codestral Mamba 7B on your machine.

Run

docker run --rm -it ghcr.io/ggerganov/llama.cpp:full \ --hf-repo "mistralai/Mamba-Codestral-7B-v0.1" \ --hf-file "Mamba-Codestral-7B-v0.1-Q4_K_M.gguf" \ -c 4096 -ngl 99

Quick specs

Parameters7B
Architecturestate-space
Context262K tokens
Modalitytext
Min RAM2.7 GB
Rec. RAM4.3 GB (Q4_K_M)
LicenseApache 2.0
FamilyCodestral

About this model

Codestral Mamba is an open code model based on the Mamba2 architecture. It performs on par with state-of-the-art Transformer-based code models. \ You can read more in the official blog post.

相关模型

你的硬件

检测中...

快速推荐

最佳硬件

Codestral Mamba 7B 的最佳选择

运行此模型

量化选项

各量化级别的 VRAM 估算

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
2.7 GB
Low
Q3_K_S
3
3.4 GB
Low
NVFP4
4
3.9 GB
Medium
Q4_K_M
4
4.3 GB
Medium
Q5_K_M
5
5.0 GB
High
Q6_K
6
5.7 GB
High
Q8_0
8
7.5 GB
Very High
F16
16
14.3 GB
Maximum

硬件兼容性

全部硬件的适配估算

打开计算器

Computing compatibility...

内存详细分析

Reference: RTX 2060 6GB

Weights4.3 GB
KV Cache0.5 GB
Runtime0.9 GB
Headroom0.6 GB

常见问题

FAQ — Codestral Mamba 7B

另请参阅