MCPcopy Create free account
hub / github.com/apple/ml-stable-diffusion / AttentionImplementations

Class AttentionImplementations

python_coreml_stable_diffusion/unet.py:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33
34class AttentionImplementations(Enum):
35 ORIGINAL = "ORIGINAL"
36 SPLIT_EINSUM = "SPLIT_EINSUM"
37 SPLIT_EINSUM_V2 = "SPLIT_EINSUM_V2"
38
39
40ATTENTION_IMPLEMENTATION_IN_EFFECT = AttentionImplementations.SPLIT_EINSUM

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected