Closed yonghah closed 4 years ago
Good point. Thanks for reporting this! The behaviour might have changed with PyTorch 1.7 again. Currently there are no tests on GPU (and it used to work a couple of weeks ago) but I am planning some soonish.
Wonderful job! I have take the lastest version master, why it happen still? How can i solve this, thanks: pytorch: 1.7.0+cu101 pl :1.0.6 pytorch_forecasting :0.6.0
just :y = rnn.pack_padded_sequence(y, lengths=x["decoder_lengths"].cpu(), batch_first=True, enforce_sorted=False)
@BeHappyForMe I had the same issue and the .cpu() fix did it for me.
This error is still persistent.
Missed this one. Fixed in #169
Expected behavior
I executed codes to find optimal learning rate or to fit network and and expected to get result as written in pytorch-forecasting.readthedocs.io. The only difference was gpus=1 in pl.Trainer parameter.
Actual behavior
However, it gives RuntimeError like below:
Seems related to these issues: