Skip to content

fix(networks): only instantiate cross-attention layers when with_cross_attention=True#8873

Closed
AlexanderSanin wants to merge 2 commits into
Project-MONAI:devfrom
AlexanderSanin:fix/transformer-block-cross-attention-always-instantiated
Closed

fix(networks): only instantiate cross-attention layers when with_cross_attention=True#8873
AlexanderSanin wants to merge 2 commits into
Project-MONAI:devfrom
AlexanderSanin:fix/transformer-block-cross-attention-always-instantiated

Commits

Commits on May 26, 2026

Commits on May 29, 2026