Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/huggingface/diffusers
/ is_torch_mlu_available
Function
is_torch_mlu_available
src/diffusers/utils/import_utils.py:249–250 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
247
248
249
def
is_torch_mlu_available():
250
return
_torch_mlu_available
251
252
253
def
is_flax_available():
Callers
1
get_device
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…