Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run out of memory when I tried to run "Time-Grad-Electricity.ipynb" #147

Open
ginnux opened this issue Sep 13, 2023 · 2 comments
Open

Run out of memory when I tried to run "Time-Grad-Electricity.ipynb" #147

ginnux opened this issue Sep 13, 2023 · 2 comments

Comments

@ginnux
Copy link

ginnux commented Sep 13, 2023

I am glad to read your article: Autoregressive Denoising Diffusion Models for Multivariate Probabilistic Time
Series Forecasting. But when I tried to run "Time-Grad-Electricity.ipynb", it used 77GB memory in total and the python kernel died. The article said, all experiments run on a single Nvidia V100 GPU with 16GB of memory. So, could you please tell me what should I do to run this experiment on my own computer?
Thanks!

@kashif
Copy link
Collaborator

kashif commented Sep 13, 2023

ah right! so make sure you set the lag indicies to be somewhat limited else if your multivariate dim is large the resulting input vector is of size multivar-dim*len(lag_seq) which might cause memory issues

@ginnux
Copy link
Author

ginnux commented Sep 27, 2023

Thank you very much for your timely reply. I tried the method you provided above. However, the memory issues still exist.
This is the parameter in lags_seq I set:

self.lags_seq = (
            lags_seq
            if lags_seq is not None
            else lags_for_fourier_time_features_from_frequency(freq_str=freq, num_lags=100)
        )

I set num_lags=100 , num_lags=10 and num_lags=3. All attempts have encountered memory errors.
Thank you again for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants