MCPcopy Index your code
hub / github.com/huggingface/diffusers / is_torchao_available

Function is_torchao_available

src/diffusers/utils/import_utils.py:369–370  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367
368
369def is_torchao_available():
370 return _torchao_available
371
372
373def is_optimum_quanto_available():

Callers 8

decoratorFunction · 0.90
quantization.pyFile · 0.90
__init__.pyFile · 0.85
decoratorFunction · 0.85
validate_environmentMethod · 0.85
_is_torchao_tensorFunction · 0.85
test_torchao.pyFile · 0.85

Calls

no outgoing calls

Tested by 2

decoratorFunction · 0.72
decoratorFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…