Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ is_peft_available
Function
is_peft_available
src/diffusers/utils/import_utils.py:329–330 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
327
328
329
def
is_peft_available():
330
return
_peft_available
331
332
333
def
is_torchvision_available():
Callers
15
testing_utils.py
File · 0.90
decorator
Function · 0.90
utils.py
File · 0.90
test_lora_layers_ltx2.py
File · 0.90
test_lora_layers_wanvace.py
File · 0.90
test_stable_cascade_prior.py
File · 0.90
test_modeling_common.py
File · 0.90
lora.py
File · 0.90
training_utils.py
File · 0.85
constants.py
File · 0.85
check_peft_version
Function · 0.85
testing_utils.py
File · 0.85
Calls
no outgoing calls
Tested by
2
decorator
Function · 0.72
decorator
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…