Skip to content

🛠️ Fix CI#4076

Merged
qgallouedec merged 4 commits intomainfrom
fix-ci-4
Sep 13, 2025
Merged

🛠️ Fix CI#4076
qgallouedec merged 4 commits intomainfrom
fix-ci-4

Conversation

@qgallouedec
Copy link
Copy Markdown
Member

@qgallouedec qgallouedec commented Sep 13, 2025

This PR huggingface/transformers#40416 introduced a new key in the log history, which makes the CI (dev deps) to fail. We just need to check that all the keys/values are included in the log history, no need to check this new key

huggingface/transformers#40772 changed how cache is handled for encoder-decoder

@qgallouedec qgallouedec changed the title Fix CI 🛠️ Fix CI Sep 13, 2025
@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.

Comment on lines -264 to -275
config = config_class(
vocab_size=len(tokenizer.vocab),
d_model=16,
encoder_layers=2,
decoder_layers=2,
d_kv=2,
d_ff=64,
num_layers=6,
num_heads=8,
decoder_start_token_id=0,
is_encoder_decoder=True,
)
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 issue came from this config that was not correct. It's way easier to just modify the config from an existing model

@qgallouedec qgallouedec merged commit 304eaf8 into main Sep 13, 2025
19 of 20 checks passed
@qgallouedec qgallouedec deleted the fix-ci-4 branch September 13, 2025 18:38
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