Skip to content

[BUGFIX] Fix container slimmable prewarming#259

Merged
sdatkinson merged 2 commits intomainfrom
container-fix
Apr 28, 2026
Merged

[BUGFIX] Fix container slimmable prewarming#259
sdatkinson merged 2 commits intomainfrom
container-fix

Conversation

@sdatkinson
Copy link
Copy Markdown
Owner

Fixes a bug where SetSlimmbaleSize would trigger a reset-and-prewarm even if the selected model was the one that was already active.

Added calls to ResetAndPrewarm in test_container_default_is_max_size to guarantee that both predictions start from the same model state, enhancing test reliability.
@sdatkinson sdatkinson merged commit 290dd5a into main Apr 28, 2026
3 checks passed
@sdatkinson sdatkinson deleted the container-fix branch April 28, 2026 02:27
synchu pushed a commit to synchu/NeuralAmpModelerCore that referenced this pull request Apr 29, 2026
* [BUGFIX] Avoid prewarming container slimmable model when SetSlimmableSize doesn't change which model is active.

* [TEST] Ensure consistent model state before processing in test_container

Added calls to ResetAndPrewarm in test_container_default_is_max_size to guarantee that both predictions start from the same model state, enhancing test reliability.
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