numba icon indicating copy to clipboard operation
numba copied to clipboard

Stop type inference from indefinite retry on failed function resolution

Open sklam opened this issue 2 years ago • 2 comments

Fix hang seen in https://github.com/numba/numba/issues/9257

Summary of changes:

  • Added a fail-cache to remember failed function resolution for the current compilation session and avoid repeated attempts of known failing cases.
  • The fail-cache can be disabled by an env-var to help debug any unforeseen problem arising from this change of type inference behavior.

sklam avatar Oct 31 '23 22:10 sklam

TODO:

  • [x] Add a config to disable the fail cache.

sklam avatar Nov 07 '23 15:11 sklam

TODOs:

  • [ ] check https://github.com/numba/numba/issues/9375#issuecomment-1893955887

sklam avatar Jan 16 '24 15:01 sklam