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

Cuda failure: out of memory #303

Open
ckurtz22 opened this issue Jun 1, 2023 · 2 comments
Open

Cuda failure: out of memory #303

ckurtz22 opened this issue Jun 1, 2023 · 2 comments

Comments

@ckurtz22
Copy link

ckurtz22 commented Jun 1, 2023

Getting an error when running test_yolo4 on my laptop which has an RTX 3060 GPU:

Cuda failure: out of memory
/home/connor/tkDNN/src/Conv2d.cpp:176

Running on commit d4f7b4a

@ckurtz22
Copy link
Author

ckurtz22 commented Jun 2, 2023

Could be related: when using FP16 mode it uses the wrong size for allocating WgsLayers:
https://github.com/ceccocats/tkDNN/blob/master/src/LayerWgs.cpp#L76
(should be using b_size, but uses w_size instead)

@yemuzi
Copy link

yemuzi commented Aug 21, 2023

on RTX 2070,cuda11.8,FP32 mode, have same problem,
image

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