Install OpenCL on Ubuntu

TL;DR:

wget https://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/15532/l_opencl_p_18.1.0.015.tgz
tar -xvzf l_opencl_p_18.1.0.015.tgz
cd l_opencl_p_18.1.0.015/
sudo ./install.sh

References:

  • https://software.intel.com/content/www/us/en/develop/articles/opencl-drivers.html
  • https://github.com/terryky/tflite_cl_app/blob/master/README.md

Install TA-Lib on Google Colab

TL;DR:

!wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz && tar -xzf ta-lib-0.4.0-src.tar.gz && cd ta-lib/ && ./configure --prefix=/usr && make && sudo make install
!pip install TA-lib

References:

  • http://mrjbq7.github.io/ta-lib/install.html
  • https://github.com/toanalien/toannotes/blob/master/notebook/mastrade.ipynb