Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ backend_synchronize
Function
backend_synchronize
tests/testing_utils.py:1510–1511 ·
view source on GitHub ↗
(device: str)
Source
from the content-addressed store, hash-verified
1508
1509
1510
def
backend_synchronize(device: str):
1511
return
_device_agnostic_dispatch(device, BACKEND_SYNCHRONIZE)
1512
1513
1514
def
backend_empty_cache(device: str):
Callers
4
test_quantization
Method · 0.50
test_serialization_int8wo
Method · 0.50
reset_memory_stats
Method · 0.50
reset_memory_stats
Method · 0.50
Calls
1
_device_agnostic_dispatch
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…