Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kohya-ss/sd-scripts
/ device
Method
device
tests/test_custom_offloading_utils.py:44–45 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
42
43
@property
44
def
device(self):
45
return
next(self.parameters()).device
46
47
48
# Device Synchronization Tests
Callers
15
create_upscaler
Function · 0.45
test_cuda_synchronize
Function · 0.45
test_xpu_synchronize
Function · 0.45
test_mps_synchronize
Function · 0.45
test_weights_to_device
Function · 0.45
test_swap_weight_devices_cuda
Function · 0.45
test_swap_weight_devices_no_cuda
Function · 0.45
offloader
Function · 0.45
model_offloader
Function · 0.45
test_create_backward_hook
Function · 0.45
test_backward_hook_execution
Function · 0.45
test_offloading_integration
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected