Open WYHZQ opened 2 years ago
In jit_handles.py prod is producing numpy.int32 if imported from numpy.
Fix: replace
try: from math import prod except ImportError: from numpy import prod
by
try: from math import prod except ImportError: from numpy import prod as prodnp def prod(x): return int(prodnp(x))
Please provide code to reproduce the issue.
thanks a lot i can run just modify like what you say!!!
Thanks a lot
thx!!!!!
ValueError: Invalid type <class 'numpy.int32'> for the flop count! Please use a wider type to avoid overflow.