You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Reordering workflow1 and workflow2 would resolve segfaults.
Not a deterministic issue; you may not be able to reproduce it with running the test for the first time.
Pre-initializing the 'lightning.kokkos' state-vector by calling qml.device("lightning.kokkos", ...) in workflow1 would resolve the issue.
I could reproduce this by building lightning.qubit and lightning.kokkos on the machine from src, and with using lldb, 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.
The text was updated successfully, but these errors were encountered:
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: PennyLaneAI/catalyst@507302c
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.The text was updated successfully, but these errors were encountered: