Numpyro: NUTS with GPU (doesn't work for bnn.py)

Created on 17 Nov 2019  路  2Comments  路  Source: pyro-ppl/numpyro

Hello,

I've noticed that choosing a GPU option results in memory problems when "training" even a very simple Bayesian neural network with NUTS (to be more specific it crashes with a "segmentation fault" message). I first thought I'm doing something wrong but when I ran the original bnn.py script from NumPyro examples it also crashed. Interestingly, the gp.py example works fine with a GPU option. I was running these scripts using Colab VM and GCP VM with NVIDIA's P100 GPU. Here's a link to Colab notebook:
https://colab.research.google.com/drive/1TlRo8mr7JTM6fUF6IUIe01yt8U8_Z73Q

Thanks for your help in advance!

bug performance

Most helpful comment

Thanks! I can confirm the issue. In my system, memory keeps increasing until the crash... Looking like this is jax/jaxlib issue. I'll isolate and report to them.

All 2 comments

Thanks! I can confirm the issue. In my system, memory keeps increasing until the crash... Looking like this is jax/jaxlib issue. I'll isolate and report to them.

@ziatdinovmax Thanks for the report! Now you can upgrade jaxlib to fix the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neerajprad picture neerajprad  路  5Comments

LysSanzMoreta picture LysSanzMoreta  路  3Comments

fehiepsi picture fehiepsi  路  6Comments

vanAmsterdam picture vanAmsterdam  路  3Comments

fehiepsi picture fehiepsi  路  4Comments