INC4AI commited on
Commit
0826b00
·
verified ·
1 Parent(s): 2e4b629

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -2
README.md CHANGED
@@ -43,16 +43,18 @@ The checkpoint requires an inference implementation supporting AutoRound's nvfp4
43
 
44
  The evaluated setup used vLLM 0.32.0 with the QDQ plugin from Intel Neural Compressor PR #2621 (https://github.com/intel/neural-compressor/pull/2621). Install the plugin in the same Python environment as vLLM:
45
 
 
46
  git clone https://github.com/intel/neural-compressor.git
47
  cd neural-compressor
48
  python -m pip install --no-build-isolation -e benchmark/vllm-qdq-plugin/
 
49
 
50
  This inference path uses FP4 Marlin kernels with activation quantize-dequantize (QDQ), rather than native NVFP4 hardware computation.
51
 
52
  ### vLLM Usage
53
 
54
  Replace the model path with your local checkpoint directory:
55
-
56
  NCCL_NVLS_ENABLE=0 \
57
  VLLM_QDQ=1 \
58
  vllm serve /path/to/MiniMax-M2.7-NVFP4-E5M3-AutoRound \
@@ -67,7 +69,7 @@ vllm serve /path/to/MiniMax-M2.7-NVFP4-E5M3-AutoRound \
67
  --kv-cache-dtype fp8 \
68
  --gpu-memory-utilization 0.85 \
69
  --port 8001
70
-
71
  Adjust context length and GPU memory utilization according to available hardware. FP8 KV cache is a runtime setting, separate from the checkpoint's weight and activation quantization.
72
 
73
  ## Evaluation
@@ -85,11 +87,13 @@ Recovery is the quantized score divided by the supplied original-model baseline.
85
 
86
  ## Generate the Model
87
 
 
88
  auto_round MiniMaxAI/MiniMax-M2.7 \
89
  --model_free \
90
  --scheme NVFP4_E5M3 \
91
  --format auto_round \
92
  --output_dir ./MiniMax-M2.7-NVFP4-E5M3-AutoRound
 
93
 
94
  ## Ethical Considerations and Limitations
95
 
 
43
 
44
  The evaluated setup used vLLM 0.32.0 with the QDQ plugin from Intel Neural Compressor PR #2621 (https://github.com/intel/neural-compressor/pull/2621). Install the plugin in the same Python environment as vLLM:
45
 
46
+ ```bash
47
  git clone https://github.com/intel/neural-compressor.git
48
  cd neural-compressor
49
  python -m pip install --no-build-isolation -e benchmark/vllm-qdq-plugin/
50
+ ```
51
 
52
  This inference path uses FP4 Marlin kernels with activation quantize-dequantize (QDQ), rather than native NVFP4 hardware computation.
53
 
54
  ### vLLM Usage
55
 
56
  Replace the model path with your local checkpoint directory:
57
+ ```bash
58
  NCCL_NVLS_ENABLE=0 \
59
  VLLM_QDQ=1 \
60
  vllm serve /path/to/MiniMax-M2.7-NVFP4-E5M3-AutoRound \
 
69
  --kv-cache-dtype fp8 \
70
  --gpu-memory-utilization 0.85 \
71
  --port 8001
72
+ ```
73
  Adjust context length and GPU memory utilization according to available hardware. FP8 KV cache is a runtime setting, separate from the checkpoint's weight and activation quantization.
74
 
75
  ## Evaluation
 
87
 
88
  ## Generate the Model
89
 
90
+ ```bash
91
  auto_round MiniMaxAI/MiniMax-M2.7 \
92
  --model_free \
93
  --scheme NVFP4_E5M3 \
94
  --format auto_round \
95
  --output_dir ./MiniMax-M2.7-NVFP4-E5M3-AutoRound
96
+ ```
97
 
98
  ## Ethical Considerations and Limitations
99