MCPcopy Create free account
hub / github.com/Francis-Rings/MotionFollower / __init__

Method __init__

src/models/attn_process_diffuser.py:1179–1181  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1177 """
1178
1179 def __init__(self):
1180 if not hasattr(F, "scaled_dot_product_attention"):
1181 raise ImportError("AttnProcessor2_0 requires PyTorch 2.0, to use it, please upgrade PyTorch to 2.0.")
1182
1183 def __call__(
1184 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected