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

kernel dies during prediction after "allocation of system memory exceeds 10%" #117

Open
Mrc010 opened this issue Nov 28, 2021 · 0 comments

Comments

@Mrc010
Copy link

Mrc010 commented Nov 28, 2021

When I run predictions on image stacks of a few GB, sometimes my kernel dies after I get the message

flow/core/framework/cpu_allocator_impl.cc:81] Allocation of x exceeds 10% of system memory.

I can see that all my CPUs are close to 100%, but my RAM is always below 50% usage and my GPU memory is barely used (~10%).

How can I increase the usage of GPU memory? By increasing n_tiles? Could you please characterize n_tiles a little more? Is it [block_size, factor_dim, factor_dim]?

Is it correct that what people call batch (or block) size is actually the size of the sub-matrices of a block-diagonal matrix, as explained here?

Thank you.

@Mrc010 Mrc010 changed the title during prediction: memory allocation exceeds 10% kernel dies during prediction after "allocation of system memory exceeds 10%" Nov 28, 2021
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

1 participant