MCPcopy Create free account
hub / github.com/Francis-Rings/StableAnimator / DeepSpeedWrapperModel

Class DeepSpeedWrapperModel

train.py:834–839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832# So we create a virtual wrapper to contail all the models
833
834class DeepSpeedWrapperModel(nn.Module):
835 def __init__(self, **kwargs):
836 super().__init__()
837 for name, value in kwargs.items():
838 assert isinstance(value, nn.Module)
839 self.register_module(name, value)
840
841
842def main():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected