-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Small fixes to hotswapping (#2366)
A couple of smaller issues that surfaced when working on the diffusers integration are not fixed. - Better detection if model is compiled in prepare_model_for_compiled_hotswap - Fix handling of models that are compiled but where compilation is not detected (from "inside" the model) - Handle device of swapped in adapter weights. - Wrong adapter name in compiled diffusion model test - Add hotswap test for different alphas and ranks but model not being compiled (linear and conv2d) - Make _check_hotswap_configs_compatible "public" - Don't import diffusers in test root - Add support for compiled Conv2d
- Loading branch information
1 parent
363c14e
commit 6d03360
Showing
4 changed files
with
176 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters