You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error executing job with overrides: ['+trainer.accelerator=horovod']
Traceback (most recent call last):
File "run.py", line 31, in main
return train(config)
File "/home/user/code/lightning-hydra-template/src/train.py", line 82, in train
trainer.test()
File "/home/user/.conda/envs/torch18/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 579, intest
results = self._run(model)
File "/home/user/.conda/envs/torch18/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 753, in _run
self.pre_dispatch()
File "/home/user/.conda/envs/torch18/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 778, in pre_dispatch
self.accelerator.pre_dispatch(self)
File "/home/user/.conda/envs/torch18/lib/python3.8/site-packages/pytorch_lightning/accelerators/accelerator.py", line 108, in pre_dispatch
self.training_type_plugin.pre_dispatch()
File "/home/user/.conda/envs/torch18/lib/python3.8/site-packages/pytorch_lightning/plugins/training_type/horovod.py", line 93, in pre_dispatch
optimizers = [
File "/home/user/.conda/envs/torch18/lib/python3.8/site-packages/pytorch_lightning/plugins/training_type/horovod.py", line 94, in<listcomp>
hvd.DistributedOptimizer(
File "/home/user/.conda/envs/torch18/lib/python3.8/site-packages/horovod/torch/optimizer.py", line 585, in DistributedOptimizer
return cls(optimizer.param_groups, named_parameters, compression, backward_passes_per_step, op,
File "/home/user/.conda/envs/torch18/lib/python3.8/site-packages/horovod/torch/optimizer.py", line 41, in __init__
super(self.__class__, self).__init__(params)
TypeError: __init__() missing 2 required positional arguments: 'named_parameters' and 'compression'
The text was updated successfully, but these errors were encountered:
Reproduce command
the error is raised during
trainer.test()
.the full error info is below
The text was updated successfully, but these errors were encountered: