Skip to content

Fix/peft flattening typo#46537

Closed
leaderofARS wants to merge 3 commits into
huggingface:mainfrom
leaderofARS:fix/peft-flattening-typo
Closed

Fix/peft flattening typo#46537
leaderofARS wants to merge 3 commits into
huggingface:mainfrom
leaderofARS:fix/peft-flattening-typo

Conversation

@leaderofARS

@leaderofARS leaderofARS commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR corrects a minor spelling typo in the PEFT integration error messages. Specifically, it corrects the misspelling of "flattening operation" (previously written as "flatteing operatio") in two NotImplementedError messages within src/transformers/integrations/peft.py to improve clarity.

Code Agent Policy

  • I confirm that this is not a pure code agent PR.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline, Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the documentation guidelines, and here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

@BenjaminBossan
@githubnemo

…ariable

Renames
  _ignoge_model_config_overrides to _ignore_model_config_overrides in ClearMLCallback to correct a spelling typo.
  This fixes both the definition and its usage in ignore_model_config_section.
…smatch

Renames _ignoge_model_config_overrides to
  _ignore_model_config_overrides in ClearMLCallback. Adds a size-safe check for masked_scatter in HiggsAudioV2Model to handle cases where the source has
  fewer elements than the mask (e.g. during random generation tests), preventing size mismatch crashes.
@github-actions

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: higgs_audio_v2

@github-actions

Copy link
Copy Markdown
Contributor

View the CircleCI Test Summary for this PR:

https://huggingface.co/spaces/transformers-community/circle-ci-viz?pr=46537&sha=e7b3cc

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.

1 participant