FLAML icon indicating copy to clipboard operation
FLAML copied to clipboard

error for forecasting-with-panel-datasets example

Open Sandy4321 opened this issue 2 years ago • 4 comments
trafficstars

I got error for forecasting-with-panel-datasets example https://microsoft.github.io/FLAML/docs/Examples/AutoML-Time%20series%20forecast#forecasting-with-panel-datasets

I have windows 11 FLAML 1.2.4

image builtins.FileNotFoundError: Could not find module 'C:\my_py_environments\py310_env_apr2023\Lib\site-packages\torchaudio\lib\libtorchaudio.pyd' (or one of its dependencies). Try using the full path with constructor syntax.

Sandy4321 avatar Aug 01 '23 13:08 Sandy4321

error in line data, special_days = get_stalliion_data() image

Sandy4321 avatar Aug 01 '23 13:08 Sandy4321

ok i created new enviroment only for flaml and this error gone but now there is another error builtins.TypeError: Trainer.init() got an unexpected keyword argument 'gpus'

image

Sandy4321 avatar Aug 01 '23 13:08 Sandy4321

I have encountered the same problem, in fact, it is caused by the pytorch-lightning version, which can be solved by reducing the version, but I still encounter a new environmental problem. Finally through the develop history I find the environment requirements, you can just run: pip install pytorch-forecasting==0.9.0 pytorch-lightning==1.5.10

sun-qisen avatar Mar 14 '24 03:03 sun-qisen

yes thank you for the comment, we are experiencing issues with the new pytorch-lightning version (as discussed in the discord group)

int-chaos avatar Mar 14 '24 03:03 int-chaos