-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: unload from RAM as intended; force empty cache
Prior to this commit the following erroneous behavior was in play: - `unload_all_models_vram()` did not effectively remove all models from VRAM - `unload_all_models_ram()` did not remove any models from RAM - With AMD specifically, though its possible more generally as well, the torch cache was not cleared as this required an argument (`True`) sent to `_comfy_soft_empty_cache(...)` I have also added some additional logging to help further identify what is and is not helpful.
- Loading branch information
Showing
1 changed file
with
37 additions
and
9 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