Open maliasadi opened 10 months ago
Does anyone know if this is still an issue?
I noticed that our wheels do not use the same kokkos version than the one used in check-catalyst, I'll keep a note of this and maybe we can investigate after StatePrep is merged. See here: https://github.com/PennyLaneAI/catalyst/pull/955/commits/507302c42d96a2f6f1eac774096f6cfa54ebc639
Running the following script on macOS
x86_64
using PL-Lightning and PL-Lightning-Kokkos version 0.33.1 (installed via pip) will lead to memory segfaults. These segfaults are related to the initialization of the "lightning.kokkos" state vector.A few notes:
workflow1
andworkflow2
would resolve segfaults.qml.device("lightning.kokkos", ...)
inworkflow1
would resolve the issue.I could reproduce this by building
lightning.qubit
andlightning.kokkos
on the machine from src, and with usinglldb
, it seems that the issue is propagated from Kokkos vector kernels. I didn't dig more to see if this is related to the Lightning implementation or Kokkos kernels.