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

Method store

diffsynth/pipelines/wan_video.py:510–512  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

508 return not should_calc
509
510 def store(self, hidden_states):
511 self.previous_residual = hidden_states - self.previous_hidden_states
512 self.previous_hidden_states = None
513
514 def update(self, hidden_states):
515 hidden_states = hidden_states + self.previous_residual

Callers 1

model_fn_wan_videoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected