Re: About CPU and GPUs

Peter Reutemann <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>
Short answer is: no, Weka doesn't run on GPUs. It runs in the JVM on the CPU.

Why? If one wants to take advantage of GPU compute resources, then one has to use libraries that give you that capability while designing your software. In case of GPUs that could be NVIDIA's CUDA library.

Weka predates this GPU capability and was aimed at being cross-platform (write once, run anywhere). Having Weka take advantage of the GPU would require a complete rewrite of its code base, unfortunately.

The wekadeeplearning4j package takes advantage of your GPU for its deep learning methods.

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174 (office)
+64 (7) 577-5304 (home office)
http://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/

Apr 2, 2022 10:41:59 Celestino Laranjeira <[email protected]>:

> Hi,
> I have an issue that certainly many people also have when there is a cpu (with integrated gpu) + graphics card gpu.
> 
> I have a laptop that has cpu with integrated gpu (amd ryzen 7 4800H) + graphics card (nVidia GeForce 1050Ti). I've been told it's a good computer.
> 
> My question is: when using weka algorithms, I use auto-weka a lot, can I benefit from the nvidia graphics card gpu? Weka is using CPU only.
> 
> How can I configure computer or weka to use nvidia gpu instead of cpu? Or at least can you compare the performance of the cpu and gpu of the nvidia graphics card?
> _______________________________________________
> Wekalist mailing list -- [email protected]
> Send posts to [email protected]
> To unsubscribe send an email to [email protected]
> To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.