MCPcopy Create free account
hub / github.com/drinkingcoder/NeuralMarker / cleanup

Function cleanup

train.py:39–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 dist.init_process_group("nccl", rank=rank, world_size=world_size)
38
39def cleanup():
40 dist.destroy_process_group()
41
42def save_checkpoint(args, model, optimizer=None, step=None, epoch=None):
43 CHECKPOINT_PATH = None

Callers 1

trainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected