sbi-dev / sbi

Simulation-based inference toolkit
https://sbi-dev.github.io/sbi/
Apache License 2.0
546 stars 133 forks source link

Analysis tests file on GPU #1167

Closed manuelgloeckler closed 3 weeks ago

manuelgloeckler commented 3 weeks ago

Describe the bug The test_analysis_modules unit test fails on GPU.

It is due to the tensors being on different devices. (maybe the device is not specified correctly?)

To Reproduce Run pytest on a GPU.

janfb commented 3 weeks ago

I am not able to reduce it. I tried

pytest tests/analysis_test.py::test_analysis_modules