Skip to content

Conversation

@rosbo
Copy link
Contributor

@rosbo rosbo commented Dec 16, 2020

This is causing other GPU library tests to fail because no GPU memory is
available with errors like:

lightgbm.basic.LightGBMError: Memory Object Allocation Failure

Tested by running the jax_test and having watch -n 1 nvidia-smi in a separate window. Before this change, GPU memory usage peaked at ~16GB. After this change it peaks at 10 Mb.

BUG=173553533

This is causing other GPU library tests to fail because no GPU memory is
available with errors like:

```
lightgbm.basic.LightGBMError: Memory Object Allocation Failure
```

BUG=173553533
@rosbo rosbo requested a review from Philmod December 16, 2020 18:00
Copy link
Contributor

@Philmod Philmod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice finding!

@rosbo rosbo merged commit 226be97 into master Dec 16, 2020
@rosbo rosbo deleted the jax-preallocation branch December 16, 2020 20:48
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.

3 participants