Post
7
๐ฅ
๐ก Alternatively, you can also set the
hf-mem v0.4.1 now also estimates KV cache memory requirements for any context length and batch size with the --experimental flag!uvx hf-mem --model-id ... --experimental will automatically pull the required information from the Hugging Face Hub to include the KV cache estimation, when applicable.๐ก Alternatively, you can also set the
--max-model-len, --batch-size and --kv-cache-dtype arguments (ร la vLLM) manually if preferred.