Minimal code example to demonstrate segfault in pytorch-lighting.
Install the conda environment with conda env create -f environment.yml
then run conda activate segfault
Run python pytorch-lightning.py
to show the segfault.
pytorch.py
is a minimal code example which does not use pytorch lightning, and does not show the segfault.
Reported here: Lightning-AI/pytorch-lightning#11925