(self, destination=None, prefix="", keep_vars=False)
| 2405 | return tensor_list |
| 2406 | |
| 2407 | def module_state_dict(self, destination=None, prefix="", keep_vars=False): |
| 2408 | sd = self.module.state_dict(destination, prefix, keep_vars) |
| 2409 | if self.random_ltd_enabled(): |
| 2410 | sd = remove_random_ltd_state_dict(sd) |
| 2411 | return sd |
| 2412 | |
| 2413 | @staticmethod |
| 2414 | def load_moe_state_dict(checkpoint_path, |
no test coverage detected