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

'numpy.dtype[float64]' object has no attribute 'is_precise' #8805

Closed
Smit-create opened this issue Mar 10, 2023 · 2 comments
Closed

'numpy.dtype[float64]' object has no attribute 'is_precise' #8805

Smit-create opened this issue Mar 10, 2023 · 2 comments
Labels
more info needed This issue needs more information

Comments

@Smit-create
Copy link

I'm trying the compiler backend of Aesara by removing the nested functions and using the global jitted function. Here is the commit that I'm trying to work on.

I get the following error while running the tests:

E           numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
E           Internal error at <numba.core.typeinfer.ArgConstraint object at 0x16fc9dae0>.
E           'numpy.dtype[float64]' object has no attribute 'is_precise'
E           During: typing of argument at /Users/thebigbool/repos/aesara/aesara/link/numba/dispatch/basic.py (645)
E           Enable logging at debug level for details.
E           
E           File "aesara/link/numba/dispatch/basic.py", line 645:
E           def deepcopyop_2(x):
E               return x.copy()
@apmasell
Copy link
Contributor

Can you produce a minimal test case that triggers this error and a full trace?

@apmasell apmasell added the more info needed This issue needs more information label Mar 10, 2023
@Smit-create
Copy link
Author

Ah, sorry. I just figured out an issue on the other side, and not related to numba.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info needed This issue needs more information
Projects
None yet
Development

No branches or pull requests

2 participants