corehu

开源模型

Llama-2-7b-hf 对比 llm-compiler-7b-ftd-GGUF

llm-compiler-7b-ftd-GGUF 比 Llama-2-7b-hf 少需约 12 GB 显存(6 GB 对 18 GB)。 目前最便宜的运行方式:Llama-2-7b-hf 在 Tesla P40 上每小时 $0.25 起,llm-compiler-7b-ftd-GGUF 在 GTX 1070 上每小时 $0.13 起。

Llama-2-7b-hfllm-compiler-7b-ftd-GGUF
开发者meta-llamasecond-state
参数量6.7B6.7B
权重F16GGUF
许可证llama2—
所需显存≈ 18 GB≈ 6 GB
4-bit 显存≈ 6 GB—
能运行的最便宜 GPUTesla P40 · $0.25GTX 1070 · $0.13
速度(估算)≈ 12 token/秒 · 每百万 $5.76≈ 33 token/秒 · 每百万 $1.08
下载量174,7982,458

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

常见问题

Llama-2-7b-hf 和 llm-compiler-7b-ftd-GGUF 哪个需要的显存更少?
llm-compiler-7b-ftd-GGUF 比 Llama-2-7b-hf 少需约 12 GB 显存(6 GB 对 18 GB)。
Llama-2-7b-hf 和 llm-compiler-7b-ftd-GGUF 哪个运行更便宜?
目前最便宜的运行方式:Llama-2-7b-hf 在 Tesla P40 上每小时 $0.25 起,llm-compiler-7b-ftd-GGUF 在 GTX 1070 上每小时 $0.13 起。