Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix GPU memory initialization #150

Merged

Conversation

lukeyeager
Copy link
Member

For caffe train, we weren't actually initializing the GPUMemoryManager at all unless you explicitly set -gpu on the command line. But we should - caffe gets the list of GPUs in other ways if not set on the command line.

@lukeyeager lukeyeager added the bug label May 27, 2016
@lukeyeager
Copy link
Member Author

lukeyeager commented May 27, 2016

Verified that this fix plus the fix from #149 lets me train DetectNet in DIGITS on a TitanX without running out of memory.

@lukeyeager lukeyeager force-pushed the nvidia/fix-gpu-memory-initialization branch from 43f1234 to d0f1ee9 Compare May 27, 2016 21:10
@lukeyeager
Copy link
Member Author

Thanks for the review @drnikolaev. I've updated the PR to keep arena in scope as per your suggestion.

@lukeyeager lukeyeager force-pushed the nvidia/fix-gpu-memory-initialization branch from d0f1ee9 to 5eb5d46 Compare May 27, 2016 21:51
@drendleman
Copy link

Should the memory manager be in use when caffe is invoked via python bindings?

@lukeyeager
Copy link
Member Author

An excellent question.

@drnikolaev drnikolaev merged commit c12b7ad into NVIDIA:caffe-0.15 May 28, 2016
@lukeyeager lukeyeager deleted the nvidia/fix-gpu-memory-initialization branch May 28, 2016 20:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants