corehu

开源模型

CodeLlama-34b-Instruct-hf 对比 CodeLlama-34B-Python-GGUF

CodeLlama-34B-Python-GGUF 比 CodeLlama-34b-Instruct-hf 少需约 56 GB 显存(26 GB 对 82 GB)。 目前最便宜的运行方式:CodeLlama-34b-Instruct-hf 在 GB10 上每小时 $0.56 起,CodeLlama-34B-Python-GGUF 在 Tesla V100 上每小时 $0.32 起。

CodeLlama-34b-Instruct-hfCodeLlama-34B-Python-GGUF
开发者codellamaTheBloke
参数量34B34B
权重BF16GGUF
许可证llama2llama2
所需显存≈ 82 GB≈ 26 GB
4-bit 显存≈ 26 GB—
能运行的最便宜 GPUGB10 · $0.56Tesla V100 · $0.32
速度(估算)≈ 2.3 token/秒 · 每百万 $67.24≈ 27 token/秒 · 每百万 $3.30
下载量23,3744,535

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

常见问题

CodeLlama-34b-Instruct-hf 和 CodeLlama-34B-Python-GGUF 哪个需要的显存更少?
CodeLlama-34B-Python-GGUF 比 CodeLlama-34b-Instruct-hf 少需约 56 GB 显存(26 GB 对 82 GB)。
CodeLlama-34b-Instruct-hf 和 CodeLlama-34B-Python-GGUF 哪个运行更便宜?
目前最便宜的运行方式:CodeLlama-34b-Instruct-hf 在 GB10 上每小时 $0.56 起,CodeLlama-34B-Python-GGUF 在 Tesla V100 上每小时 $0.32 起。