Skip to content

docs: fix float16 accumulation data type - #2477

Merged
regisss merged 1 commit into
huggingface:mainfrom
Rohan170603:fix/quantization-doc-float16-accumulation
Aug 18, 2026
Merged

docs: fix float16 accumulation data type#2477
regisss merged 1 commit into
huggingface:mainfrom
Rohan170603:fix/quantization-doc-float16-accumulation

Conversation

@Rohan170603

@Rohan170603 Rohan170603 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Related to huggingface/hub-docs#1550

Corrects the accumulation data type for float16 in the quantization concept guide.

The documentation currently lists float16 as both the storage and accumulation data type. This is inconsistent with the surrounding explanation, which describes using a higher-precision accumulation type to avoid overflow and precision loss.

This PR updates:

float16, accumulation data type float16

to:

float16, accumulation data type float32

This is a documentation-only fix; no code changes or tests are required.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

Who can review?

@pcuenca pcuenca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good to me, thank you!

@pcuenca
pcuenca requested a review from regisss August 18, 2026 07:25
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@regisss
regisss merged commit 88862e1 into huggingface:main Aug 18, 2026
15 checks passed
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.

4 participants