Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What svm python modules use gpu?

I wonder what svm python modules use gpu accelerating.

Does libsvm or scikit-svm use gpu?

How can I use gpu accelerating with svm?

like image 787
SounBum Song Avatar asked Feb 09 '16 12:02

SounBum Song


People also ask

Does SVM run on GPU?

scikit-svm will never support GPU.

Does Sklearn use GPU?

By default it does not use GPU, especially if it is running inside Docker, unless you use nvidia-docker and an image with a built-in support. Scikit-learn is not intended to be used as a deep-learning framework and it does not provide any GPU support.

How use SVM GPU in Colab?

To fully utilize both cpu and gpu, use the gpu runtime in google colab. First, open colab and click Runtime >> Change runtime type _from the Menubar. Next, click GPU in the Hardware Accelerator _dropdown menu. This will activate a gpu backend for your google colab script.


2 Answers

There's a GPU-accelerated LIBSVM that uses the CUDA framework.

scikit-svm will never support GPU. From the FAQ:

Will you add GPU support?

No, or at least not in the near future. The main reason is that GPU support will introduce many software dependencies and introduce platform specific issues. scikit-learn is designed to be easy to install on a wide variety of platforms. Outside of neural networks, GPUs don’t play a large role in machine learning today, and much larger gains in speed can often be achieved by a careful choice of algorithms.

like image 58
TayTay Avatar answered Sep 28 '22 04:09

TayTay


ThunderSVM A Fast SVM Library on GPUs and CPUs


It also provides a scikit-learn Python interface

like image 21
Leo Gallucci Avatar answered Sep 28 '22 04:09

Leo Gallucci