Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Improve Numba caching and source generation #1419

@brandonwillard

Description

@brandonwillard

Looks like this wasn't given its own issue, but we need to improve the caching and way we generate source for Numba JITing.

To clarify, we need to do the following:

  • Cache the Python function objects returned by _numba_funcify based on their node arguments (i.e. the Apply nodes).
  • Store cached Python functions as persistent Python modules in aesara.config.compiledir

We can repurpose the compile directory code for the C backend to do most of this, but, if there are other packages that would simplify the entirely process, we should look into those, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NumbaInvolves Numba transpilationenhancementNew feature or requestimportant

    Type

    No type

    Projects

    Status

    Backends

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions