Skip to content

Fix layer1x1 post FiLM for non-blended gating - #322

Open
Helshr wants to merge 1 commit into
sdatkinson:mainfrom
Helshr:fix-layer1x1-post-film-gating
Open

Fix layer1x1 post FiLM for non-blended gating#322
Helshr wants to merge 1 commit into
sdatkinson:mainfrom
Helshr:fix-layer1x1-post-film-gating

Conversation

@Helshr

@Helshr Helshr commented Aug 20, 2026

Copy link
Copy Markdown

Fixes #320

Summary

layer1x1_post_film was only applied for GatingMode::BLENDED. This caused models using the FiLM with GatingMode::NONE or GatingMode::GATED to produce different output from the trainer.

The FiLM is now applied whenever layer1x1 is active, regardless of the gating mode.

Tests

  • Added non-identity regression coverage for GatingMode::NONE
  • Added regression coverage for GatingMode::GATED
  • ./build/tools/run_tests passes successfully

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.

[BUG] layer1x1_post_film is ignored unless gating mode is blended

1 participant