llama-stack/llama_stack/providers/inline/inference/meta_reference/quantization/scripts
liyunlu0618 4e1105e563
Fix fp8 quantization script. (#500)
# What does this PR do?

Fix fp8 quantization script.

## Test Plan

```
sh run_quantize_checkpoint.sh localhost fp8 /home/yll/fp8_test/ /home/yll/fp8_test/quantized_2 /home/yll/fp8_test/tokenizer.model 1 1
```

## Sources

Please link relevant resources if necessary.


## Before submitting

- [x] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [x] Ran pre-commit to handle lint / formatting issues.
- [x] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [x] Updated relevant documentation.
- [x] Wrote necessary unit or integration tests.

Co-authored-by: Yunlu Li <yll@meta.com>
2024-11-21 09:15:28 -08:00
..
__init__.py Add provider deprecation support; change directory structure (#397) 2024-11-07 13:04:53 -08:00
build_conda.sh Add provider deprecation support; change directory structure (#397) 2024-11-07 13:04:53 -08:00
quantize_checkpoint.py Fix fp8 quantization script. (#500) 2024-11-21 09:15:28 -08:00
run_quantize_checkpoint.sh Fix fp8 quantization script. (#500) 2024-11-21 09:15:28 -08:00