Skip to content

Fix predictor adapter load state dict to accept keyword arguments#1207

Merged
anwai98 merged 3 commits into
masterfrom
fix-predictor-adapter-load-state-dict
May 13, 2026
Merged

Fix predictor adapter load state dict to accept keyword arguments#1207
anwai98 merged 3 commits into
masterfrom
fix-predictor-adapter-load-state-dict

Conversation

@anwai98
Copy link
Copy Markdown
Collaborator

@anwai98 anwai98 commented May 13, 2026

pytorch's model loading engine calls has changed and strict=True is the hard default for a while (not sure what changed that the tests are breaking right now).

Let's see how the tests work at #1206, this would confirm the suspicion!

@anwai98 anwai98 self-assigned this May 13, 2026
@anwai98
Copy link
Copy Markdown
Collaborator Author

anwai98 commented May 13, 2026

Seems like there is a new release around bioimageio which broke some functionalities. Lemme have a closer look!

@anwai98
Copy link
Copy Markdown
Collaborator Author

anwai98 commented May 13, 2026

Ayy eureka it works haha (I simply adapted our exports to bioimageio.core v0.10.3`. We don't need them actively atm, but we would need them super soon ;)

If the tests pass, I'll simply merge this to fix related broken tests in other (active) branches!

@anwai98
Copy link
Copy Markdown
Collaborator Author

anwai98 commented May 13, 2026

This worked amazingly nice. I'll go ahead and merge this!

@anwai98 anwai98 merged commit fc0d044 into master May 13, 2026
6 checks passed
@anwai98 anwai98 deleted the fix-predictor-adapter-load-state-dict branch May 13, 2026 15:09
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