Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -26,7 +26,8 @@ python3 quantize_quark.py \
|
|
| 26 |
--kv_cache_dtype fp8 \
|
| 27 |
--num_calib_data 128 \
|
| 28 |
--model_export quark_safetensors \
|
| 29 |
-
--no_weight_matrix_merge
|
|
|
|
| 30 |
# If model size is too large for single GPU, please use multi GPU instead.
|
| 31 |
python3 quantize_quark.py \
|
| 32 |
--model_dir $MODEL_DIR \
|
|
@@ -36,7 +37,8 @@ python3 quantize_quark.py \
|
|
| 36 |
--num_calib_data 128 \
|
| 37 |
--model_export quark_safetensors \
|
| 38 |
--no_weight_matrix_merge \
|
| 39 |
-
--multi_gpu
|
|
|
|
| 40 |
```
|
| 41 |
## Deployment
|
| 42 |
Quark has its own export format and allows FP8 quantized models to be efficiently deployed using the vLLM backend(vLLM-compatible).
|
|
|
|
| 26 |
--kv_cache_dtype fp8 \
|
| 27 |
--num_calib_data 128 \
|
| 28 |
--model_export quark_safetensors \
|
| 29 |
+
--no_weight_matrix_merge \
|
| 30 |
+
--custom_mode fp8
|
| 31 |
# If model size is too large for single GPU, please use multi GPU instead.
|
| 32 |
python3 quantize_quark.py \
|
| 33 |
--model_dir $MODEL_DIR \
|
|
|
|
| 37 |
--num_calib_data 128 \
|
| 38 |
--model_export quark_safetensors \
|
| 39 |
--no_weight_matrix_merge \
|
| 40 |
+
--multi_gpu \
|
| 41 |
+
--custom_mode fp8
|
| 42 |
```
|
| 43 |
## Deployment
|
| 44 |
Quark has its own export format and allows FP8 quantized models to be efficiently deployed using the vLLM backend(vLLM-compatible).
|