Skip to content

Properly apply dropout in GPTBigCode only when in training.#2277

Merged
regisss merged 1 commit into
huggingface:mainfrom
AKloniecki:gptbigcode-dropout-training
Sep 22, 2025
Merged

Properly apply dropout in GPTBigCode only when in training.#2277
regisss merged 1 commit into
huggingface:mainfrom
AKloniecki:gptbigcode-dropout-training

Conversation

@AKloniecki
Copy link
Copy Markdown
Collaborator

What does this PR do?

Pass training parameter to dropout in BigCodeAttention, which was omitted in previous change.

Signed-off-by: Artur Kloniecki <arturx.kloniecki@intel.com>
@AKloniecki AKloniecki self-assigned this Sep 22, 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.

@astachowiczhabana
Copy link
Copy Markdown
Collaborator

FYI: I've merged this change with #2271 on v1.20-release branch. But please proceed with merge on main so the branches won't diverge

Copy link
Copy Markdown
Collaborator

@regisss regisss left a comment

Choose a reason for hiding this comment

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

LGTM

@regisss regisss merged commit f491210 into huggingface:main Sep 22, 2025
2 of 5 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.

5 participants