Skip to content

Fix dummy input docstring typos - #2467

Open
cupkk wants to merge 1 commit into
huggingface:mainfrom
cupkk:docs/fix-dummy-input-typos
Open

Fix dummy input docstring typos#2467
cupkk wants to merge 1 commit into
huggingface:mainfrom
cupkk:docs/fix-dummy-input-typos

Conversation

@cupkk

@cupkk cupkk commented Jul 22, 2026

Copy link
Copy Markdown

What does this PR do?

Fix four dummpy inputs typos in GENERATE_DUMMY_DOCSTRING. This template is attached to ExporterConfig.generate_dummy_inputs, so the misspellings surface in its generated API documentation.

This is a documentation-only change with no runtime behavior or dependency changes.

Validation

  • Parsed optimum/exporters/base.py with Python ast and compiled the source.
  • Extracted the generated docstring and checked that dummpy is absent and the corrected parameter descriptions are present.
  • Ran git diff --check.

Before submitting

  • This PR fixes a typo or improves the docs.
  • No documentation or runtime tests need to be added for this text-only correction.

Copilot AI review requested due to automatic review settings July 22, 2026 02:36

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.

@echarlaix echarlaix left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks for the fix!

@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.

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