Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the numba cache to be used, for development #441

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hyanwong
Copy link
Member

@hyanwong hyanwong commented Dec 1, 2024

Copied from SGKIT. Fixes #438

@hyanwong hyanwong mentioned this pull request Dec 1, 2024
@nspope
Copy link
Contributor

nspope commented Dec 1, 2024

I ran into the same issues as you here-- the bulk of stuff is still being compiled on import. I think pulling all the EP stuff into a low-level extension is the way to go.

@hyanwong
Copy link
Member Author

hyanwong commented Dec 1, 2024

I think pulling all the EP stuff into a low-level extension is the way to go.

Can we do this while keeping it in python (I presume not)? Or are you thinking of writing the low-level e.g. in rust?

@nspope
Copy link
Contributor

nspope commented Dec 1, 2024

It may be possible to build the extension with numba, but I think it'd be stabler and easier to maintain a C or rust extension.

Numba complains about these
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce import time
2 participants