-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
Narrowing error on macOS #127
Comments
Any reason why we wouldn't? |
I don't think there is any reason not to and I'm happy to implement. If anyone has reasons not to, let me know! |
Hi just wondering if there is any updates on this? I am running the following code:
And still receiving the same error:
My settings on MacOS Catalina:
My end goal is to use |
BTW, same issue when trying with |
All examples and discussions should be strictly in terms of the codebase after the |
Then is there another flag I can try to solve this issue on MacOS? Like I mentioned, setting |
Oh, no, I wasn't recommending anything else to try; I was only pointing out how these More specifically, |
Thank you for clarifying, i will retry running the example on an ubuntu machine instead for now. |
Unfortunately, I can't even try to reproduce that error locally, since I don't have a Mac. If it's possible to reproduce it in a virtual machine, I can take a look. |
I just checked and I can also no longer reproduce this on my Mac with Python 3.9.1 (from conda) and the master branch of Aesara. |
Oh, that's hopeful news, I will upgrade my python and aesara versions. Thank you! |
Compiling ops with fast_run on macOS results in an error because of "narrowing". This is a known issue (e.g. pymc-devs/pymc#3695) that is handled by downstream projects like PyMC3 (pymc-devs/pymc#3767). I propose that we fix this here by adding the
-Wno-c++11-narrowing
flag totheano.config.gcc.cxxflags
by default on macOS.Please provide a minimal, self-contained, and reproducible example.
Please provide the full traceback of any errors.
Please provide any additional information below.
Versions and main components
python -c "import theano; print(theano.config)"
)The text was updated successfully, but these errors were encountered: