lhnguyen102 / cuTAGI

CUDA implementation of Tractable Approximate Gaussian Inference
MIT License
30 stars 9 forks source link

errors when running LSTM on cuda for electricity dataset #67

Closed van-dai-vuong closed 2 months ago

van-dai-vuong commented 5 months ago

I created the script electricity_2013_03_31 to run multiple time series in the electricity dataset. I have added:

Screenshot 2024-04-24 at 11 38 06 AM

The code runs fine in CPU but it gives this error when running on cuda:

cuda_LSTM_error

You can reproduce the error by running electricity_2014_03_31 in my repos at (https://github.com/van-dai-vuong/cuTAGI.git)

davidwardan commented 2 months ago

I have encountered the following errors as well when running the time_series_forecasting script provided in the examples folder:

@van-dai-vuong @jamesgoulet @lhnguyen102

lhnguyen102 commented 2 months ago

@davidwardan I am working on fixing the issue. I will get it fix by the end of the weekend. I'll let you know when it is done

lhnguyen102 commented 2 months ago

Here is PR for the fix. I wanted to add @davidwardan and @van-dai-vuong for the reviewers but you need to accept my invite. Please take a look at the PR and confirm if it resolves your issue.

davidwardan commented 2 months ago

Thank you @lhnguyen102! I will look at it today and get back to you.