Skip to content

Conversation

@faaany
Copy link
Contributor

@faaany faaany commented Sep 11, 2024

What does this PR do?

FP16 is not the only data type for mixed precision fine-tuning, e.g. XPU only supports bf16 mixed precision fine-tuning. This PR adds an additional note for XPU.

@stevhliu, pls have a review

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
@faaany
Copy link
Contributor Author

faaany commented Sep 12, 2024

Thanks for the correction!

@stevhliu stevhliu merged commit a05ce55 into huggingface:main Sep 12, 2024
8 checks passed
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
* add xpu note

* add one more case

* add more

* Update docs/source/en/run_scripts.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
@faaany faaany deleted the update_doc branch February 7, 2025 02:34
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.

3 participants