We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Based on this notebook: https://github.com/huggingface/huggingface-llama-recipes/blob/main/local_inference/fp8-405B.ipynb
since we are loading FP8, will that matter if we specify data_type to be torch.bfloat16?
torch.bfloat16
CC @ianporada who made recent edits in this notebook
The text was updated successfully, but these errors were encountered:
I believe it doesn't matter. Even if you didn't specify torch_dtype it would default to the config.json value which is also "torch_dtype": "bfloat16".
"torch_dtype": "bfloat16"
Keep in mind not all weights are FP8, some weights of the quantized model are still BF16.
Sorry, something went wrong.
No branches or pull requests
Based on this notebook: https://github.com/huggingface/huggingface-llama-recipes/blob/main/local_inference/fp8-405B.ipynb
since we are loading FP8, will that matter if we specify data_type to be
torch.bfloat16
?CC @ianporada who made recent edits in this notebook
The text was updated successfully, but these errors were encountered: