(self, module, value=False)
| 321 | module.weight.data.fill_(1.0) |
| 322 | |
| 323 | def _set_gradient_checkpointing(self, module, value=False): |
| 324 | if isinstance(module, MossModel): |
| 325 | module.gradient_checkpointing = value |
| 326 | |
| 327 | |
| 328 | MOSS_START_DOCSTRING = r""" |
nothing calls this directly
no outgoing calls
no test coverage detected