Cannot find 'engine' branch for minpy package
mengyuest opened this issue · 3 comments
I want to use GPU on numpy opers so I tried minpy. The system is ubuntu16.04 and my display card is GTX1080 (cudnn 7.0). When I installed mxnet, I could not find "engine" branch mentioned in instruction step git clone --recursive -b engine https://github.com/dmlc/mxnet.git
So I just installed the master branch one and at last I could not use minpy correctly. My program wrote as
import minpy.numpy as np
import minpy.numpy.random as random
import time
x= random.rand(1024, 1024)
y= random.rand(1024, 1024)
st = time.time()
for i in range(10):
z= np.dot(x, y)
z.asnumpy()
print('time: {:.3f}.'.format(time.time()-st))
and when running, it said
W0123 14:35:58 22806 minpy.dispatch.registry:register:47] Type MXNet for name reshape has already existed
Can anyone tell me what to do? Thanks.
minpy
is not being actively maintained. for numpy operations on GPU, maybe try cupy?
Hi @mengyuest , most minpy's functionality have been merged to Gluon. It supports dynamic autograd and quite extensive numpy operator support. Please have a look and see if it helps!
Great! Thanks~