https://github.com/nixtla logo
#neural-forecast
Title
# neural-forecast
f

Felipe Rincon

04/04/2023, 10:21 PM
Hi, I keep getting this error I have all the code in Google Colab 🥲 The provided lr scheduler
StepLR
does not follow PyTorch's LRScheduler API. You should replace the
<http://LightningModule.lr|LightningModule.lr>_scheduler_step
hook with your own logic if you are using a custom LR scheduler. Thanks
f

fede (nixtla) (they/them)

04/04/2023, 10:24 PM
hey @Felipe Rincon! Yesterday we updated the library to make it compatible with torch and lightning >= 2.0, could you try installing the new version from the
main
branch? Here’s the line:
pip install "git+<https://github.com/nixtla/neuralforecast.git@main>"
f

Felipe Rincon

04/04/2023, 11:10 PM
works perfect thank you
❤️ 1
z

Zhamal Toktamysova

04/05/2023, 9:56 AM
I tried to install the new version with pipenv as i am working with Pipfile, getting an error like
Exception: Could not deserialize ATN with version  (expected 4).
when importing neuralforecast in Python
f

fede (nixtla) (they/them)

04/05/2023, 2:09 PM
hey @Zhamal Toktamysova! Do you know if the error arises only with the new version or also with the previous ones? I’m thinking that maybe it is related to the python version; what version are you using?
z

Zhamal Toktamysova

04/05/2023, 3:38 PM
@fede (nixtla) (they/them) This error arises only with the new version. Running locally on Mac M1 The previous
neuralforecast
with
torch==2.0.0
throws the same error which was stated by @Felipe Rincon
p

Patricio

04/14/2023, 7:50 AM
Hi team, quick question related to this: is there an estimated release date into PyPI for the next NF version with this fix?
f

fede (nixtla) (they/them)

04/14/2023, 6:58 PM
hey @Patricio! We are still making some improvements for the next release. I think they should be ready by the end of the next week. WDYT @Cristian (Nixtla)?
🙌 1
@Patricio, Jorge told us that you had a problem, is it fixed now? Do you know how we can help with that? 🙂
4 Views