Skip to content

Commit ec3c736

Browse files
committed
labml update
1 parent 753fbd3 commit ec3c736

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

labml_nn/scaling/zero3/finetune_neox.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ def main(rank: int, world_size: int, init_method: str = 'tcp://localhost:23456')
8080
torch.cuda.set_device(device)
8181

8282
# Create the experiment
83-
experiment.create(name='zero3_neox', writers={'screen', 'labml'})
84-
experiment.distributed(rank, world_size)
83+
experiment.create(name='zero3_neox', writers={'screen', 'labml'},
84+
distributed_world_size=world_size,
85+
distributed_rank=rank)
8586

8687
# Create configurations
8788
conf = Configs()

0 commit comments

Comments
 (0)