On Mac OS X, importing ray before numba dies with llvm error: "Expected all immutable passes to be initialized"
See original GitHub issueSystem information
- OS Platform and Distribution:
Mac OS X 10.14.5
- Ray installed from (source or binary):
ray-0.7.2-cp37-cp37m-macosx_10_6_intel.whl
- Ray version:
0.7.2
- Python version:
3.7.2
- Exact command to reproduce:
import ray
import numba
Describe the problem
Versions of ray>=0.7.1
cannot be imported before numba
or an issue with llvmlite
will be triggered (see also https://github.com/numba/numba/issues/4256 for additional minimal reproduction steps). Importing numba
first seems to work around the issue.
The error reporting is an assertion failure:
Assertion failed: (PassInf && "Expected all immutable passes to be initialized"), function addImmutablePass, file /Users/buildbot/miniconda3/conda-bld/llvmdev_1556270736866/work/lib/IR/LegacyPassManager.cpp, line 849.
that leads to the python interpreter aborting. The issue does not seem to occur on Linux.
Version 0.7.0
seems unaffected.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Release Notes — Numba 0.50.1 documentation - PyData |
If a module is imported from a moved location the shim will issue a deprecation warning and suggest how to update the import...
Read more >Trouble importing numba - python - Stack Overflow
Ok, I'm using python 3.3. I have numpy, llvm, llvmpy, llpyhton, llvm_array, llvm_cbuilder and llvmath installed. I have also installed numba ...
Read more >Import isl(+imath) as an external library into Polly - Mailing Lists
We import isl b3e0fa7a05d as well as imath 4d707e5ef2. These are the git versions Polly currently was tested with when using ...
Read more >Changements — Documentation Python 3.7.14 - Python Docs
bpo-41100: Fix configure error when building on macOS 11. ... bpo-39427: Document all possibilities for the -X options in the command line help...
Read more >Release 0+untagged.50.ge6068ba.dirty Modin contributors
Modin can be installed with pip on Linux, Windows and MacOS. ... pip install modin[ray] # Install Modin dependencies and Ray to run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in ray==0.8.2.
@MQQ so yes, we are planning to do it. Not sure if it will be in the upcoming release or the following one.