Skip to content

[GPT2] Fix encoder_attention_mask being silently discarded in cross-attention - #47946

Merged
Rocketknight1 merged 2 commits into
huggingface:mainfrom
DavidJohnQuinlan:gpt2_cross_attention_discarding_encoder_attention_mask
Aug 18, 2026
Merged

Rocketknight1 merged 2 commits into
huggingface:mainfrom
DavidJohnQuinlan:gpt2_cross_attention_discarding_encoder_attention_mask

Update tests/models/gpt2/test_modeling_gpt2.py

72a9509
Select commit
Loading
Failed to load commit list.
Sign in for the full log view

The logs for this run have expired and are no longer available.