MCPcopy Index your code
hub / github.com/huggingface/diffusers / attention_dispatch.py

File attention_dispatch.py

src/diffusers/models/attention_dispatch.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Copyright 2025 The HuggingFace Team. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.

Callers

nothing calls this directly

Calls 15

get_loggerFunction · 0.85
is_flash_attn_availableFunction · 0.85
is_flash_attn_versionFunction · 0.85
is_aiter_availableFunction · 0.85
is_aiter_versionFunction · 0.85
is_sageattention_versionFunction · 0.85
is_torch_versionFunction · 0.85
is_torch_npu_availableFunction · 0.85
is_torch_xla_availableFunction · 0.85
is_torch_xla_versionFunction · 0.85

Tested by

no test coverage detected