Update README.md
Browse files
README.md
CHANGED
|
@@ -14,6 +14,29 @@ tags:
|
|
| 14 |
|
| 15 |
This is a variant of `moonshotai/Kimi-K3` quantized with FP8_BLOCK quantization applied to MLP and experts layers. Attention layers were not quantized due to shape mismatches, namely with `self_attn.b_proj.weight`
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
## Creation Process
|
| 18 |
|
| 19 |
Quantized using [llm-compressor](https://github.com/vllm-project/llm-compressor):
|
|
|
|
| 14 |
|
| 15 |
This is a variant of `moonshotai/Kimi-K3` quantized with FP8_BLOCK quantization applied to MLP and experts layers. Attention layers were not quantized due to shape mismatches, namely with `self_attn.b_proj.weight`
|
| 16 |
|
| 17 |
+
## Usage ##
|
| 18 |
+
```bash
|
| 19 |
+
docker run --gpus all \
|
| 20 |
+
--privileged --ipc=host -p 8000:8000 \
|
| 21 |
+
-v ~/.cache/huggingface:/root/.cache/huggingface \
|
| 22 |
+
-e GLOO_SOCKET_IFNAME=$IFACE_NAME \
|
| 23 |
+
-e NCCL_SOCKET_IFNAME=$IFACE_NAME \
|
| 24 |
+
-e VLLM_ENABLE_K3_LATENT_MOE_TAIL_FUSION=1 \
|
| 25 |
+
vllm/vllm-openai:kimi-k3 RedHatAI/Kimi-K3-FP8-BLOCK \
|
| 26 |
+
--trust-remote-code \
|
| 27 |
+
--load-format fastsafetensors \
|
| 28 |
+
--gpu-memory-utilization 0.95 \
|
| 29 |
+
--tensor-parallel-size 16 \
|
| 30 |
+
--nnodes 2 \
|
| 31 |
+
--node-rank 0 \
|
| 32 |
+
--master-addr $HEAD_IP \
|
| 33 |
+
--no-enable-flashinfer-autotune \
|
| 34 |
+
--disable-custom-all-reduce \
|
| 35 |
+
--enable-auto-tool-choice \
|
| 36 |
+
--tool-call-parser kimi_k3 \
|
| 37 |
+
--reasoning-parser kimi_k3
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
## Creation Process
|
| 41 |
|
| 42 |
Quantized using [llm-compressor](https://github.com/vllm-project/llm-compressor):
|