Skip to content

Track Changes in @jit in Numba Version0.59.0. #112

Closed
QuantEcon/lecture-python.myst
#395

Description

@HumphreyYang

From #294

@jstac:

Switch over to a simple @jit once 0.59 comes out

Keep track of changes in the deprecation of fall-back behaviour.

Activity

  1. mmcky commented on Mar 4, 2024

    @mmcky
    Contributor

    I haven't seen the notices but our lectures are still using njit in
    many cases, and probably jit(nopython=True) in a few cases.

    See e.g., https://python-programming.quantecon.org/numba.html

  2. self-assigned this
    on Mar 4, 2024
  3. jstac commented on Mar 4, 2024

    @jstac
    Contributor

    These substitutions should be straightforward but touch many lectures -- and hence need to be coordinated with @mmcky

  4. mmcky commented on May 8, 2024

    @mmcky
    Contributor

    @HumphreyYang we have now updated all backends to use numba>=0.59 so I will add this to my list. Are there any examples that you know of that need updating?

  5. HumphreyYang commented on May 8, 2024

    @HumphreyYang
    MemberAuthor

    Many thanks @mmcky. The examples in my mind are cases involving @jit(nopython=True). I think we can simply change it to @jit. Here is an example where it is used: https://python.quantecon.org/mccall_model.html#implementation

  6. mmcky commented on May 8, 2024

    @mmcky
    Contributor

    thanks @HumphreyYang I have opened a PR to review starting with lecture-python.myst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions