News for hackers. Stuff that matters.
Re:System76 Will Ship Linux Laptops With Coreboot-Based Open... by yellowapple on Thursday October 10, 2019 @05:21PM (#21219304)
Fair points all around.

> Are the mobile AMD GPU options all that great?

I haven't had issues with them, even with high-performance stuff like gaming and CAD (can't speak much to machine learning, though).

> Nvidia has CUDA, which is important for (among other things) folks that use machine learning frameworks

What's stopping them from using OpenCL? Whether by using an ML library that actually supports OpenCL outright (e.g. Caffe, PlaidML) or using something like Hipify to convert from CUDA to OpenCL, that shouldn't be a limiting factor.

Re:System76 Will Ship Linux Laptops With Coreboot-Based Open... by lmeyerov on Thursday October 10, 2019 @10:08PM (#21220934)
We initially went with OpenCL to maximize optionality, e.g., back then, GPUs were just getting into the cloud, and we were thinking of eventually getting Graphistry running on FPGAs as well. However, we had to bring a bunch of stuff to the JS world, and ultimately, we wasted a ton of time & money here and with minuscule eco-system support. Intel & AMD's SW arms are very narrow in what they actually support, so if you aren't doing some precise deep learning thing or legacy fortran whatever, sorry.

Back then, the case was unclear because so little stuff existed outside of the MPI & graphics worlds. Today, for most engineering leaders today, the CUDA ecosystem, and emerging productivity layers like RAPIDS is quite rich. They make OpenCL a niche & risky call. The goal should be writing ~100X more code than the OpenCL ecosystem is giving you, it's just surface level.

Re:System76 Will Ship Linux Laptops With Coreboot-Based Open... by lliamander on Thursday October 10, 2019 @05:30PM (#21219386)
> I haven't had issues with them, even with high-performance stuff like gaming and CAD (can't speak much to machine learning, though).

Good to know. I have a laptop with the Ryzen 3500U and the Vega 8 integrated graphics. I love it for what I use it for (light gaming) but I'm not familiar with the higher-end mobile GPUs.

> What's stopping them from using OpenCL? Whether by using an ML library that actually supports OpenCL outright (e.g. Caffe, PlaidML) or using something like Hipify to convert from CUDA to OpenCL, that shouldn't be a limiting factor.

I assume just familiarity? That's just what the ML people that I know use.

I would really like to see OpenCL take a dominant position in the GPU compute space, regardless of the GPU manufacturer that has best support for it.

I think we're still a little ways off from a tipping point towards OpenCL. I think it will be accelerated with Intel's launch of the Xe discrete graphics.

Re:System76 Will Ship Linux Laptops With Coreboot-Based Open... by ngcc_hk on Thursday October 10, 2019 @05:35PM (#21219425)
Basically AI mainly use cuda. Yes there are libraries. But for the moment for most of us ... I still have to stay in high Sierra for that in my old Mac Pro. Other platform ... open CL for machine learning and AI, not sure anyone doing this. Leela zero do havr some success.