question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Move numba.experimental to numba-extras

See original GitHub issue

Edit by @gmarkall (2022-01-17): This issue records that we need to move functionality from the numba.experimental package to the numba-extras repo. Some discussion around related issues is also captured here.


Feature request

Hello all. I am opening this issue as a follow up to this: https://numba.discourse.group/t/numba-core-cpu-importing-stuff-from-numba-experimental/995

I am wondering if there is a better way to handle install_registry calls given. here: https://github.com/numba/numba/blob/6c95d38d945bb5ee77e52662bed416e24a2770ef/numba/core/cpu.py#L86

This is particularly causing a problem to me when I am bundling my package with pyinstaller(while having numba as a dependency). “_box” shared library file in numba.experimental.jitclass particularly causing trouble but I do not depend on any experimental feature and I am manually dropping experimental submodule to save the day. This is how I am handling things currently but I want to discuss here to see if we can have cleaner solutions on both end.

As far as I understood, experimental features meant to be for the users who want to use them and shouldn’t affect the stable API experience in the rest of the codebase. Aside from the inconvenience I am facing with pyinstaller, it can be useful to not import anything experimental unless user asks for it IMHO.

I can appreciate that this can be hard to resolve and I am happy to contribute as much as I can.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gmarkallcommented, Jan 17, 2022

@AhmetCanSolak I think it’s OK to keep this issue - I’ve updated the title and made an edit to the description so it’s clear what we need to do - during the process of moving numba.experimental the person undertaking it might also want to consider why binaries in that module don’t get found by PyInstaller.

0reactions
AhmetCanSolakcommented, May 3, 2022

hello @gmarkall , are there any updates on this? anything I might be helpful with?

Read more comments on GitHub >

github_iconTop Results From Across the Web

A ~5 minute guide to Numba — Numba 0.50.1 documentation
Numba can target Nvidia CUDA and (experimentally) AMD ROC GPUs. ... Python and have Numba handle the computation and data movement (or do...
Read more >
High-level extension API - Numba
The numba.experimental.structref module provides utilities for defining mutable pass-by-reference structures, a StructRef .
Read more >
Compiling Python classes with @jitclass - Numba
We call the resulting class object a jitclass. All methods of a jitclass are compiled into nopython functions. The data of a jitclass...
Read more >
Deprecation Notices — Numba 0.50.1 documentation
experimental import jitclass. Schedule¶. This feature will be moved with respect to this schedule: Deprecation warnings will be issued ...
Read more >
Installation — Numba 0.50.1 documentation
Conda-forge support for AArch64 is still quite experimental and packages are limited, but it does work enough for Numba to build and pass...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found