corehu

开源模型

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

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

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

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

常见问题

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