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

Running into a Segmentation Fault with training script #7

Open
steven-struglia opened this issue Mar 23, 2023 · 1 comment
Open

Running into a Segmentation Fault with training script #7

steven-struglia opened this issue Mar 23, 2023 · 1 comment

Comments

@steven-struglia
Copy link

Hey there!

I wanted to try out this library to see what STAN could offer over a Pyro + Jax implementation I've been using, but am running into a segmentation fault when running the training script:

(light_env) jupyter@steven-cuda-test:~/BayesianMMM/bayesian_mmm$ python3 train.py
DIAGNOSTIC(S) FROM PARSER:
Info: assignment operator <- deprecated in the Stan language; use = instead.
Info: assignment operator <- deprecated in the Stan language; use = instead.
Info: assignment operator <- deprecated in the Stan language; use = instead.
Info: assignment operator <- deprecated in the Stan language; use = instead.

INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_bd553489cb51804a3a661777a8e7f5aa NOW.
Segmentation fault

What should I look into in order to help diagnose and fix this seg fault? Is there anything in the configuration yaml that could cause this to happen?

@DouBiBaNi
Copy link

Hey there!

I wanted to try out this library to see what STAN could offer over a Pyro + Jax implementation I've been using, but am running into a segmentation fault when running the training script:

(light_env) jupyter@steven-cuda-test:~/BayesianMMM/bayesian_mmm$ python3 train.py
DIAGNOSTIC(S) FROM PARSER:
Info: assignment operator <- deprecated in the Stan language; use = instead.
Info: assignment operator <- deprecated in the Stan language; use = instead.
Info: assignment operator <- deprecated in the Stan language; use = instead.
Info: assignment operator <- deprecated in the Stan language; use = instead.

INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_bd553489cb51804a3a661777a8e7f5aa NOW.
Segmentation fault

What should I look into in order to help diagnose and fix this seg fault? Is there anything in the configuration yaml that could cause this to happen?

I can run it with python=3.7 and pystan=1.8.0.0
Follow this issue can fix it.

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

2 participants