MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS / noop

Method noop

models/modeling_moss.py:598–599  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

596 logger.warning(f'Specify `wbits` with 4, 8 or 32 to load the model. ')
597 if config.wbits in [4, 8]:
598 def noop(*args, **kwargs):
599 pass
600 torch.nn.init.kaiming_uniform_ = noop
601 torch.nn.init.uniform_ = noop
602 torch.nn.init.normal_ = noop

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected