1QB-Information-Technologies / ccvm

Solve continuous non-convex optimization problems with Coherent Continous-Variable Machine (CCVM) architectures and solvers
GNU Affero General Public License v3.0
9 stars 0 forks source link

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) #93

Closed MehmetC-1QBit closed 1 year ago

MehmetC-1QBit commented 1 year ago

When I attempted to run the script ccvm/examples/ccvm_boxqp_plot.py I encountered an error message whose screenshot is attached Screenshot 2023-08-17 at 10 28 26 AM It is interesting that I did not observe any issue when I ran ccvm/examples/ccvm_boxqp.py.

Anyway, I ran the script ccvm/examples/ccvm_boxqp_plot.py several times in debug mode and narrowed down the range of possible cause of issue in the main loop of DLSolver.solve(). The error is reproduced in the loop when i>=20 or so. Unfortunately, I could not figure it out precisely.

Any help is appreciated

MehmetC-1QBit commented 1 year ago

Re-installation of PyTorch fixed this issue in my conda environment with conda install pytorch torchvision -c pytorch