s4
s4 copied to clipboard
TypeError: Trainer.__init__() got an unexpected keyword argument 'gpus'
[2023-03-30 02:45:03,037][__main__][INFO] - Instantiating callback <pytorch_lightning.callbacks.ModelCheckpoint>
Error executing job with overrides: []
Traceback (most recent call last):
File "/home/rupax/github/state-spaces/train.py", line 553, in main
train(config)
File "/home/rupax/github/state-spaces/train.py", line 496, in train
trainer = create_trainer(config)
File "/home/rupax/github/state-spaces/train.py", line 485, in create_trainer
trainer = pl.Trainer(
File "/home/rupax/github/state-spaces/venv/lib/python3.10/site-packages/pytorch_lightning/utilities/argparse.py", line 69, in insert_env_defaults
return fn(self, **kwargs)
TypeError: Trainer.__init__() got an unexpected keyword argument 'gpus'
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
wandb: Waiting for W&B process to finish... (failed 1). Press Control-C to abort syncing.
How to fix this ? I am getting this same issue from 2 different machine
- 1 Windows 11 , python3.10, cuda11.7, torch 2.0.0 + cuda
- 2 Endovour OS, python3.10, no GPU, torch 2.0.0