Skip to content

docs(inference): align fp_quantize's docstring with its signature - #8598

Open
simpleqt wants to merge 1 commit into
deepspeedai:masterfrom
simpleqt:sq919/quantized-linear-docstring
Open

simpleqt wants to merge 1 commit into
deepspeedai:masterfrom
simpleqt:sq919/quantized-linear-docstring

Conversation

@simpleqt

Copy link
Copy Markdown

fp_quantize's docstring in deepspeed/inference/v2/modules/implementations/linear/quantized_linear.py documents parameters that do not match the signature:

  • signature param is input: torch.FloatTensor, docstring says inputs
  • docstring says min_value/max_vlue — max_vlue is a typo for max_value

Docs-only change (docstring lines only).

Signed-off-by: simpleqt 89645338+simpleqt@users.noreply.github.com

The parameter is 'input', not 'inputs', and 'max_vlue' was a typo for
'max_value'.

Signed-off-by: simpleqt <89645338+simpleqt@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 19, 2026 08:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

No deployments
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.

2 participants