Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/modelscope/DiffSynth-Studio
/ __init__
Method
__init__
diffsynth/vram_management/layers.py:12–13 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
10
11
class
AutoTorchModule(torch.nn.Module):
12
def
__init__(self):
13
super().__init__()
14
15
def
check_free_vram(self):
16
gpu_mem_state = torch.cuda.mem_get_info(self.computation_device)
Callers
3
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected