Skip to content

Backwards compatibility with non-serialized static input checkpoints#885

Open
frodre wants to merge 3 commits intomainfrom
fix/downscaling-static-inputs-old-ckpt
Open

Backwards compatibility with non-serialized static input checkpoints#885
frodre wants to merge 3 commits intomainfrom
fix/downscaling-static-inputs-old-ckpt

Conversation

@frodre
Copy link
Collaborator

@frodre frodre commented Feb 27, 2026

Recent updates to the static inputs broke the pathway to use models without any serialized static information and when using that information passed through the data loading. This PR ensures we still get the expected number of model input channels when we expect topography.

Changes:

  • If checkpointed model has use_fine_topography as true but no static inputs were passed to the builder, it add that to the channel dimension

  • Tests added

@frodre frodre marked this pull request as ready for review February 28, 2026 00:17
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.

1 participant