MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / set_grad_checkpointing

Method set_grad_checkpointing

model/transformer_utils.py:412–413  ·  view source on GitHub ↗
(self, set_checkpointing=True)

Source from the content-addressed store, hash-verified

410 self.layernorm2 = LayerNorm(width)
411
412 def set_grad_checkpointing(self, set_checkpointing=True):
413 self.transformer.set_grad_checkpointing(set_checkpointing)
414
415 def forward(self, x, condition=None):
416 # x [B, V*N, D]

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected