corehu

开源模型

CodeLlama-13b-hf 对比 Llama-2-13b-chat-hf

CodeLlama-13b-hf 与 Llama-2-13b-chat-hf 所需显存大致相同(33 GB)。 目前最便宜的运行方式:CodeLlama-13b-hf 在 Q RTX 8000 上每小时 $0.54 起,Llama-2-13b-chat-hf 在 Q RTX 8000 上每小时 $0.54 起。

CodeLlama-13b-hfLlama-2-13b-chat-hf
开发者codellamameta-llama
参数量13B13B
权重BF16F16
许可证llama2llama2
所需显存≈ 33 GB≈ 33 GB
4-bit 显存≈ 11 GB≈ 11 GB
能运行的最便宜 GPUQ RTX 8000 · $0.54Q RTX 8000 · $0.54
速度(估算)≈ 13 token/秒 · 每百万 $11.32≈ 13 token/秒 · 每百万 $11.32
下载量3,433136,407

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

常见问题

CodeLlama-13b-hf 和 Llama-2-13b-chat-hf 哪个需要的显存更少?
CodeLlama-13b-hf 与 Llama-2-13b-chat-hf 所需显存大致相同(33 GB)。
CodeLlama-13b-hf 和 Llama-2-13b-chat-hf 哪个运行更便宜?
目前最便宜的运行方式:CodeLlama-13b-hf 在 Q RTX 8000 上每小时 $0.54 起,Llama-2-13b-chat-hf 在 Q RTX 8000 上每小时 $0.54 起。