Skip to content

Add fp8 checkpoint converter.#27

Open
wenscarl wants to merge 2 commits intogoogle:mainfrom
wenscarl:fp8_ckpt_convert
Open

Add fp8 checkpoint converter.#27
wenscarl wants to merge 2 commits intogoogle:mainfrom
wenscarl:fp8_ckpt_convert

Conversation

@wenscarl
Copy link

@wenscarl wenscarl commented Jun 5, 2024

Example usage:

python saxml/tools/offline_quantize.py --input_dir /tmp/ckpts/fp8_train_small//checkpoints/checkpoint_00000000/state/ --output_dir /output/patch/checkoutpoint_0000000/state --quantization_configs "gptfp8" --use_fp True 

@changlan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant