Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
b5f49ee5
Unverified
Commit
b5f49ee5
authored
Jul 26, 2024
by
Gurpreet Singh Dhami
Committed by
GitHub
Jul 27, 2024
Browse files
Update README.md (#6847)
parent
150a1ffb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/fp8/quantizer/README.md
examples/fp8/quantizer/README.md
+1
-1
No files found.
examples/fp8/quantizer/README.md
View file @
b5f49ee5
...
...
@@ -16,7 +16,7 @@
#### Run on H100 system for speed if FP8; number of GPUs depends on the model size
#### Example: quantize Llama2-7b model from HF to FP8 with FP8 KV Cache:
`python quantize.py --model
_
dir ./ll2-7b --dtype float16 --qformat fp8 --kv
_
cache
_
dtype fp8 --output
_
dir ./ll2_7b_fp8 --calib
_
size 512 --tp
_
size 1`
`python quantize.py --model
-
dir ./ll2-7b --dtype float16 --qformat fp8 --kv
-
cache
-
dtype fp8 --output
-
dir ./ll2_7b_fp8 --calib
-
size 512 --tp
-
size 1`
Outputs: model structure, quantized model & parameters (with scaling factors) are in JSON and Safetensors (npz is generated only for the reference)
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment