Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out why colab crashes on empty circuit graphlike error #432

Open
Strilanc opened this issue Nov 19, 2022 · 0 comments
Open

Figure out why colab crashes on empty circuit graphlike error #432

Strilanc opened this issue Nov 19, 2022 · 0 comments

Comments

@Strilanc
Copy link
Collaborator

In colab this takes down the runtime:

!pip install stim
import stim
stim.Circuit().shortest_graphlike_error()

If the architecture detection is overriden to use the sse2 build instead of avx2, the crash disappears. gdb doesn't show any avx instructions near the crash, other than vzeroupper, but it shouldn't actually be a problem.

I currently have no earthly idea why this is happening... going to disable the avx2 option as a precaution, for now.

Strilanc added a commit that referenced this issue Nov 19, 2022
Strilanc added a commit that referenced this issue Nov 19, 2022
- This is a precaution because presumably other people have environments like colab's. Ideally I would understand why the crash is happening, but currently I don't.
- Make various tweaks and improvements to CI

Related issue: #432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant