You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example I am using: numpy.random.normal numpy.dot numpy.array numpy.transpose
I replaced numpy.array with pygpu.gpuarray.array but it is telling me TypeError: No context specified. - so I tried to create a gpu context beforehand (MacOS Intel iris 500 iGPU), but I have no idea how to successfully do that.
I tried to create a context from the pygpu.gpuarray.GpuContext class like so: pygpu.gpuarray.GpuContext(kind="opencl") but I get: __init__() got an unexpected keyword argument 'kind'
The text was updated successfully, but these errors were encountered:
This library was developed for Theano. Both Theano and libgpuarray aren't developed and are barely maintained. I would suggest to find another maintained lib.
Maybe cupy or pycuda would do what you want. They are kind of NumPy on CUDA.
If you want a DL or neural networks library that behave in a way similar to NumPy, you could look at PyTorch.
Hi there
I am a beginner to neural networks...
Basically, I want to use this lib as replacement for NumPy to have gpu acceleration in my (simple) neural network... (implementation: https://github.com/makeyourownneuralnetwork/makeyourownneuralnetwork/blob/master/part2_neural_network.ipynb)
For example I am using:
numpy.random.normal
numpy.dot
numpy.array
numpy.transpose
I replaced
numpy.array
withpygpu.gpuarray.array
but it is telling meTypeError: No context specified.
- so I tried to create a gpu context beforehand (MacOS Intel iris 500 iGPU), but I have no idea how to successfully do that.I tried to create a context from the
pygpu.gpuarray.GpuContext
class like so:pygpu.gpuarray.GpuContext(kind="opencl")
but I get:__init__() got an unexpected keyword argument 'kind'
The text was updated successfully, but these errors were encountered: