Skip to content

feat: add patch_size divisibility warning, improve MLflow checkpoint …#65

Merged
skaliy merged 1 commit intomainfrom
dev
Feb 16, 2026
Merged

feat: add patch_size divisibility warning, improve MLflow checkpoint …#65
skaliy merged 1 commit intomainfrom
dev

Conversation

@skaliy
Copy link
Copy Markdown
Member

@skaliy skaliy commented Feb 16, 2026

…detection

Add warning in PatchConfig when patch_size dimensions are not divisible by 16, since most encoder-decoder architectures (e.g., U-Net) require this for their downsampling levels.

Also improve ModelTrackingCallback to detect any TrackerCallback with fname (EMACheckpoint, etc.) instead of only SaveModelCallback, and save final weights without optimizer state to reduce file size.

…detection

Add warning in PatchConfig when patch_size dimensions are not divisible
by 16, since most encoder-decoder architectures (e.g., U-Net) require
this for their downsampling levels.

Also improve ModelTrackingCallback to detect any TrackerCallback with
fname (EMACheckpoint, etc.) instead of only SaveModelCallback, and save
final weights without optimizer state to reduce file size.
@skaliy skaliy merged commit b2bdd07 into main Feb 16, 2026
2 checks passed
@skaliy skaliy deleted the dev branch February 16, 2026 09:48
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