official-stockfish/nnue-pytorch

Pytorch Lightning Version

benliu961 opened this issue · 0 comments

Hello,

I am running into an error when I try running train.py. I get the error AttributeError: 'Trainer' object has no attribute 'root_device' on line 131. I am using python lightning version 1.7.7, as recommended by a previous issue because the most recent version of pytorch lightning 2.0.0 doesn't support parser = pl.Trainer.add_argparse_args(parser). I am running this on a University cluster, which is on GPU.

How can I resolve this error?