TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.54k stars 1.75k forks source link

Is there a way to accelerate this python ta-lib wrapper with Numba and run it on GPU? #216

Open whatever1983 opened 6 years ago

whatever1983 commented 6 years ago

Just a question: since this is a Python wrapper, is there a way to accelerate this python wrapper with Numba and run it on Nvidia GPUs? Or is it a better idea to simply port the Ta-Lib C files to CUDA and use nvcc compiler instead

mrjbq7 commented 6 years ago

I would imagine it would be a lot easier to re-implement the algorithms in a GPU friendly manner, since this is currently just a lightweight wrapper around the C library.

brightening-eyes commented 4 years ago

hi, beside np.array, it can be used to do computations on something like torch.tensor (pytorch), nd.array(mxnet) and so on which are deep learning libraries and support GPU.