MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / safediv

Function safediv

diffsynth/models/stepvideo_text_encoder.py:275–278  ·  view source on GitHub ↗
(n, d)

Source from the content-addressed store, hash-verified

273
274
275def safediv(n, d):
276 q, r = divmod(n, d)
277 assert r == 0
278 return q
279
280
281class MultiQueryAttention(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected