MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / save_state

Function save_state

fairseq/checkpoint_utils.py:221–244  ·  view source on GitHub ↗
(
    filename, args, model_state_dict, criterion, optimizer, lr_scheduler,
    num_updates, optim_history=None, extra_state=None,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

convert_state_dict_typeFunction · 0.85
torch_persistent_saveFunction · 0.85
state_dictMethod · 0.45

Tested by

no test coverage detected