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

Where batch_size has been defined? #32

Open
dunghoilyd01 opened this issue Dec 24, 2021 · 2 comments
Open

Where batch_size has been defined? #32

dunghoilyd01 opened this issue Dec 24, 2021 · 2 comments

Comments

@dunghoilyd01
Copy link

I need to run code on on CUDA, but even colab doesn't have enough VRAM to run it. So i am trying to decrease the batch_size, but dont know where to modify it. Can you tell me where is it defined?

@Ewillingfly
Copy link

As far as i know, there are't samples in this work. You see, the entire dataset is a single graph.

@lizhixi212
Copy link

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 3.99 GiB (GPU 1; 23.70 GiB total capacity; 17.64 GiB already allocated; 1.24 GiB free; 21.34 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

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

3 participants