Skip to content

Libtorch segmentation fault with gaga #437

@tbaudier

Description

@tbaudier

From Hermann:

I am facing facing some challenges with gaga in GATE.

Using the current gate-development branch, I managed to compile it using
Ubuntu 20.04 LTS and the cuda and torch libraries:

  • cudnn-11.2-linux-x64-v8.1.1.33
  • libtorch-cxx11-abi-shared-with-deps-1.8.1+cu102

However, when starting a simulation it crashes with a segmentation fault somewhere in the pytorch initialization function.
To avoid that it is from my trained models, I downloaded the one from https://github.com/OpenGATE/GateContrib/blob/master/dosimetry/gaga-phsp/pth/001.pt but the segmentation fault is still there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions