numba: llvmlite 0.31 breaks numba 0.46

llvmlite 0.31 seems incompatible with numba 0.46.

If this is “intended” (ie no forward compatibility), please pin numba’s dependency to llvmlite to a supported version.

Background:

numba.errors.LoweringError: Failed in nopython mode pipeline (step: nopython mode backend)
Type of #4 arg mismatch: i1 != i32

https://ci.mxnet.io/blue/rest/organizations/jenkins/pipelines/GluonNLP-py3-master-gpu-integration/branches/master/runs/212/nodes/84/steps/128/log/?start=0

In this case, GluonNLP CI server installed numba 0.46, which depends on the most recent llvmlite release. But as the new llvmlite release is incompatible, tests started failing.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 3
  • Comments: 19 (12 by maintainers)

Most upvoted comments

Reproducer + output:

$ pip install numba==0.46
Collecting numba==0.46
<snip>
Successfully installed llvmlite-0.31.0 numba-0.46.0 numpy-1.18.0

the memset/memcpy signature change for 0.30->0.31 is the cause of the lowering error above, Numba adopted the backwards incompatible change in 0.31 for version 0.47.0.

@louisabraham thanks for reporting back and thanks for using Numba!

3Q ORZ! numba==0.47.0 solve the issue!