Closed alre5639 closed 2 years ago
This should just be a pytorch lightning version control issue. There have been a surprising number of breaking changes made since I started this project. IIRC the recent versions changed that kwarg to strategy
.
I need to get around to marking the correct version in the requirements. I think it should be 1.6.4? Or manually edit that Trainer call.
(Also that exchange dataset is tiny and non-stationary so I'd recommend a smaller model and trying some of the time series tricks tricks like --linear_window
, --use_seasonal_decomp
, and --use_revin
)
Thanks Jake, I assumed that was the issue but wanted to be sure. For the record switching the line in the train.py file to accelerator = "GPU" did fix the issue, just incase anyone else has the same issue :) I appreciate the advice as I am fairly new to this area, thanks again!
executed the following exaple from the readme:
I get the following error:
I see in the train.py file accelerator is set to "dp". I dont seen "dp" as a valid command in the torch lightning documentation, where dp is a data parallel strategy and the accelerator s/b gpu