The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0.问题解决
numba无法支持nopython错误解决
- 错误: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
- 归因排查:
- numba是GPU加速库,可能是与pyg存在不兼容的问题,因此需要修改并尝试合适的版本,原始版本为numba 0.58.1
- 环境:cuda101+torch151+pyg150+py38
- 通过pip install numba==0.55.0解决,版本过低会报numpy不支持long的错误。