corehu

开源模型

CodeLlama-34b-hf 对比 Qwen2.5-32B-Instruct-bnb-4bit

Qwen2.5-32B-Instruct-bnb-4bit 比 CodeLlama-34b-hf 少需约 40 GB 显存(42 GB 对 82 GB)。 目前最便宜的运行方式:CodeLlama-34b-hf 在 GB10 上每小时 $0.63 起,Qwen2.5-32B-Instruct-bnb-4bit 在 Q RTX 8000 上每小时 $0.54 起。

CodeLlama-34b-hfQwen2.5-32B-Instruct-bnb-4bit
开发者codellamaunsloth
参数量34B34B
权重BF16U8
许可证llama2apache-2.0
所需显存≈ 82 GB≈ 42 GB
4-bit 显存≈ 26 GB≈ 26 GB
能运行的最便宜 GPUGB10 · $0.63Q RTX 8000 · $0.54
速度(估算)≈ 2.3 token/秒 · 每百万 $75.65≈ 9.5 token/秒 · 每百万 $15.79
下载量2,28151,548

显存数值为我们对推理的估算;实际用量取决于分辨率、批量大小和上下文长度。 速度是按 GPU 显存带宽对单个请求的估算;同时处理多个请求会提高总吞吐量并降低每个 token 的成本。

常见问题

CodeLlama-34b-hf 和 Qwen2.5-32B-Instruct-bnb-4bit 哪个需要的显存更少?
Qwen2.5-32B-Instruct-bnb-4bit 比 CodeLlama-34b-hf 少需约 40 GB 显存(42 GB 对 82 GB)。
CodeLlama-34b-hf 和 Qwen2.5-32B-Instruct-bnb-4bit 哪个运行更便宜?
目前最便宜的运行方式:CodeLlama-34b-hf 在 GB10 上每小时 $0.63 起,Qwen2.5-32B-Instruct-bnb-4bit 在 Q RTX 8000 上每小时 $0.54 起。