corehu

开源模型

codegen2-16B_P 对比 StarCoder2-15B-GGUF

StarCoder2-15B-GGUF 比 codegen2-16B_P 少需约 27 GB 显存(13 GB 对 40 GB)。 目前最便宜的运行方式:codegen2-16B_P 在 Q RTX 8000 上每小时 $0.52 起,StarCoder2-15B-GGUF 在 RTX A4000 上每小时 $0.21 起。

codegen2-16B_PStarCoder2-15B-GGUF
开发者Salesforcesecond-state
参数量16B16B
权重—GGUF
许可证apache-2.0bigcode-openrail-m
所需显存≈ 40 GB≈ 13 GB
4-bit 显存≈ 13 GB—
能运行的最便宜 GPUQ RTX 8000 · $0.52RTX A4000 · $0.21
速度(估算)≈ 12 token/秒 · 每百万 $12.48≈ 27 token/秒 · 每百万 $2.15
下载量49,5012,724

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

常见问题

codegen2-16B_P 和 StarCoder2-15B-GGUF 哪个需要的显存更少?
StarCoder2-15B-GGUF 比 codegen2-16B_P 少需约 27 GB 显存(13 GB 对 40 GB)。
codegen2-16B_P 和 StarCoder2-15B-GGUF 哪个运行更便宜?
目前最便宜的运行方式:codegen2-16B_P 在 Q RTX 8000 上每小时 $0.52 起,StarCoder2-15B-GGUF 在 RTX A4000 上每小时 $0.21 起。