Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ is_torch_npu_available
Function
is_torch_npu_available
diffusers/src/diffusers/utils/import_utils.py:351–352 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
349
350
351
def
is_torch_npu_available():
352
return
_torch_npu_available
353
354
355
def
is_flax_available():
Callers
15
train_text_to_image_lora_sdxl.py
File · 0.90
main
Function · 0.90
train_text_to_image_sdxl.py
File · 0.90
main
Function · 0.90
train_controlnet_flux.py
File · 0.90
main
Function · 0.90
train_controlnet_sdxl.py
File · 0.90
main
Function · 0.90
training_utils.py
File · 0.85
set_seed
Function · 0.85
free_memory
Function · 0.85
pipeline_utils.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected