mitsuba2 icon indicating copy to clipboard operation
mitsuba2 copied to clipboard

[🐛 bug report] invert_cbox_torch.py example results in Segmentation fault with pytorchV1.6 but not V1.4

Open hakanyi opened this issue 3 years ago • 2 comments

Summary

The title says it all :) Running on NVIDIA GeForce RTX 2080 Ti. Happy to help debug this - thanks!

System configuration

  • Platform: Ubuntu 18.04
  • Compiler: Clang-9
  • Python version: 3.6.9
  • Mitsuba 2 version: 2.1.0 pathreparam-optix7 branch
  • Compiled variants:
    • scalar_rgb
    • gpu_autodiff_rgb

Steps to reproduce

  1. Run example with Pytorch 1.4.0 installed and observe the optimization running smoothly
  2. Run example with Pytorch 1.6.0 installed and observe a Segmentation fault

hakanyi avatar Jan 14 '21 10:01 hakanyi

Hi @hakanyi ,

This will most likely be fixed in the upcoming release of Mitsuba 2.

Speierers avatar Feb 02 '21 08:02 Speierers

Hi @hakanyi , This is an unix related issue since running invert_cbox_torch.py using torch1.7.1 and torch1.9.0 under windows works for me.

kopetri avatar Jul 22 '21 14:07 kopetri