Skip to content

[CI] fix and make less flaky#46543

Merged
vasqu merged 4 commits into
huggingface:mainfrom
zucchini-nlp:ci-stop-complaining
Jun 10, 2026
Merged

[CI] fix and make less flaky#46543
vasqu merged 4 commits into
huggingface:mainfrom
zucchini-nlp:ci-stop-complaining

Conversation

@zucchini-nlp

@zucchini-nlp zucchini-nlp commented Jun 10, 2026

Copy link
Copy Markdown
Member

What does this PR do?

as per title, deletes duplicated docstring and fixes flaky tests

@vasqu vasqu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thx, included it locally but we should also fix on main 🫡

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

@zucchini-nlp zucchini-nlp enabled auto-merge June 10, 2026 16:22
@vasqu

vasqu commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Hmm, CI is flaky today 😢

Should we fix it properly here? I think it was just a mismatch between the new kwarg introduced? Wdyt? Nvm I'm blind lol

"confidence_threshold": 0.005,
"eos_token_id": [1, 106, 50],
"pad_token_id": 0,
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

released ckpt have it and we shouldn't hardcode it, only actual generation params need a default. If model is created from scratch, it will still be able to generate with above values

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hmm seems very specific to diffusion gemma either way. I would agree in general if it were affecting multiple models but here it seems negligible

But we can keep if you feel strong about it

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

not really, we do the same in all LLM tester by forcing eos=None

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

the stopping criteria comes from AR model anyway which causes us to stop when eos is generated. Thus all our tests become flaky with random "generated sizes"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

oki, let's do it then. I guess it doesnt affect the official checkpoints tho, i.e. we need a patch or similar?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

nope, doens't affect them

@zucchini-nlp zucchini-nlp changed the title Keep one docstring [CI] fix and make less flaky Jun 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

run-slow: diffusion_gemma

@github-actions

Copy link
Copy Markdown
Contributor

CI Dashboard: View test results in Grafana

@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=46543&sha=e5268c

@vasqu

vasqu commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Merging as it's flaky and the failing tests are unrelated

@vasqu vasqu disabled auto-merge June 10, 2026 19:02
@vasqu vasqu merged commit 7d06b1a into huggingface:main Jun 10, 2026
117 of 119 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.

3 participants