Skip to content

Commit

Permalink
remove nccl stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
samsja committed Oct 7, 2024
1 parent 38b5aea commit ce84987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zeroband/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def train(config: Config):
num = 1 if isinstance(config.train.ac_ckpt, bool) else config.train.ac_ckpt
apply_ac_ckpt(model, num)

elastic_device_mesh = ElasticDeviceMesh("nccl")
elastic_device_mesh = ElasticDeviceMesh()

mp_policy = MixedPrecisionPolicy(
param_dtype=torch.bfloat16, reduce_dtype=torch.float32 if config.train.reduce_fp32 else None
Expand Down

0 comments on commit ce84987

Please sign in to comment.