unslothai / hyperlearn

2-2000x faster ML algos, 50% less memory usage, works on all hardware - new and old.

Home Page:https://hyperlearn.readthedocs.io/en/latest/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling numba code failes on Ubuntu 16.04

MCDM2018 opened this issue · comments

numba.errors.LoweringError: Failed at nopython (nopython mode backend)
Buffer dtype cannot be buffer

File "hyperlearn/numba.py", line 126:
def squaresum(v):

s = v[0]**2
for i in prange(1,len(v)):
^
[1] During: lowering "id=6[LoopNest(index_variable = parfor_index.395, range = ($const28.2, $28.5, 1))]{44: <ir.Block at /home/lee/hyperlearn/hyperlearn/numba.py (126)>}Var(parfor_index.395, /home/lee/hyperlearn/hyperlearn/numba.py (126))" at /home/lee/hyperlearn/hyperlearn/numba.py (126)

Oh interesting. I'll check that. By the way I'll continue pushing commits more frequently by the end of this week. All hell broke loose at uni (assignments, work etc) unfortunately.