Skip to content

docs(quant_api): fix RST warnings in FqnToConfig and Int8DynamicActivationIntxWeightConfig docstrings (#3863)#4475

Open
Anai-Guo wants to merge 1 commit into
pytorch:mainfrom
Anai-Guo:fix-docstring-rst-fqntoconfig-int8intx
Open

docs(quant_api): fix RST warnings in FqnToConfig and Int8DynamicActivationIntxWeightConfig docstrings (#3863)#4475
Anai-Guo wants to merge 1 commit into
pytorch:mainfrom
Anai-Guo:fix-docstring-rst-fqntoconfig-int8intx

Conversation

@Anai-Guo

@Anai-Guo Anai-Guo commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Resolves several Sphinx doc-build warnings tracked in #3863, in two quant_api.py docstrings.

Int8DynamicActivationIntxWeightConfig

  • Fix a stray-backtick typo in the weight_granularity arg (a backtick preceded a leading space, breaking the inline-literal markup).
  • Add the blank line required before (and after) the intx_packing_format sub-bullet list, which fixed Definition list ends without a blank line; unexpected unindent.

FqnToConfig

  • Reflow the fqn_to_config arg body into valid RST: the (1)/(2)/(3) enumerated list and the * precedence bullet list previously had no preceding blank line and inconsistent indentation, producing Unexpected indentation and Block quote ends without a blank line; unexpected unindent. Converted to a proper numbered list + bullet list with blank-line separators and aligned continuation lines.

Wording, regex examples, and backtick style are preserved; only the RST structure/indentation changed. No code or behavior changes.

🤖 Generated with Claude Code

@pytorch-bot

pytorch-bot Bot commented Jun 11, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/4475

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant