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

windwine

09/11/2023, 4:42 PM
I have just started to use it and thanks for the really nice package. I am running the "end to end walkthrough" on my windows with PC with my own data which only has 6 unique_id and ~4000 data points/ID. After calling the nf.fit(df=Y_df) I can see all the progress but the ray tuner was reporting sync errors not being able to sync the files to the desired places (could not upload checkpoint). In the end, it was reporting the .json file was not the correct format (it must be a path to an experiment checkpoint file). There are sub-folders created in the tune folder according to the num_samples and the final json files seems to contain some info of all the experiments. What went wrong with my setup? I have already updated ray and will that be the issue windows instead of linux? Any suggestion is appreciated. 🙂
f

Farzad E

09/12/2023, 2:52 PM
So you are running on Windows? I don't use Windows but I know Ray has better support for Linux and Mac and has had issues with Windows in the past although it might not be related to your case and I don't know if you have access to Linux to test it there. Where is Ray trying to sync the checkpoints to? Some local directory on your PC? And is this a blocker for you? Does the training finish and you are able to predict regardless of that error or is that raising an exception?
w

windwine

09/12/2023, 2:55 PM
Thanks for the reply. I was using windows and after several chatgpt sessions I realized the error might be coming from the windows file system format. I installed WSL on windows and it is working now when running WSL ubuntu.
🚀 1
f

Farzad E

09/12/2023, 3:01 PM
Glad it worked out. Ray is a fantastic framework for parallel processing specially for DL/ML applications and it's a great feature of Nixtla libraries to take advantage of it but Ray like most other Python libararies runs the best on Linux. Even Mac is not great anymore after Apple introduced its own chipsets (M1, M2,...).
a

Afiq Johari

09/13/2023, 9:29 AM
@windwine hi, could you share the guide you follow to install/configure GPU with the ubuntu WSL? I installed by following this https://docs.nvidia.com/cuda/wsl-user-guide/index.html But my conda or python environment in the ubuntu WSL still couldn't detect the GPU.
w

windwine

09/13/2023, 1:05 PM
I test with lightgbm in the wsl enviroment and use GPU-Z in windows to monitor the GPU load at first to make sure the cuda support is OK.
a

Afiq Johari

09/13/2023, 1:14 PM
I notice my wsl ubuntu is 18.04 while the CUDA Toolkit only provides 20.04, maybe that could be the reason why
w

windwine

09/13/2023, 1:49 PM
yeah, just get a fresh wsl to be safe.
f

Farzad E

09/13/2023, 2:08 PM
Also if you are using VSCode then you should be able to open Ray dashboard (Neuralforecast installs Ray as a dependency) and see all GPU and CPU cores during the training. VSCode automatically forwards ports so you can open the dashboard port in your browser. That's another way of seeing how many cores are detected and what they are doing.