mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-25 03:00:12 -04:00
Unload clip on demand and workaround memory leak (#1283)
This commit is contained in:
@@ -32,6 +32,11 @@ def set_sd_status(value):
|
||||
_sd_obj.status = value
|
||||
|
||||
|
||||
def set_sd_ondemand(value):
|
||||
global _sd_obj
|
||||
_sd_obj.ondemand = value
|
||||
|
||||
|
||||
def set_cfg_obj(value):
|
||||
global _config_obj
|
||||
_config_obj = value
|
||||
|
||||
Reference in New Issue
Block a user