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

Dynamically reshape and adjust pool #88

Merged
merged 1 commit into from
Dec 2, 2015

Conversation

thatguymike
Copy link

Another attempt to deal with allocation issues.

  1. Caffe allocates layer by layer. The problem is we can't make sure we can actually allocate the workspace we figure out. So each run, see if the workspace we are going to request is larger than the actual memory and call reshape to cleanup our allocations.

  2. fix usage of cub to make sure we get caching of large buffers, up to 4GB.

thatguymike added a commit that referenced this pull request Dec 2, 2015
Dynamically reshape and adjust pool.  Part 1 of fixing this.  @borisfom has some improvements in #89 but we have more debugging to do.
@thatguymike thatguymike merged commit 082bf14 into NVIDIA:caffe-0.14 Dec 2, 2015
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

Successfully merging this pull request may close these issues.

1 participant