News for hackers. Stuff that matters.
Re:Open Source AI Is the Path Forward by ks2048 on Tuesday July 23, 2024 @12:04PM (#41047537)
How about using some of that money to develop CUDA alternatives so everyone is not paying the Nvidia tax?
Re:Open Source AI Is the Path Forward by lukan on Tuesday July 23, 2024 @12:13PM (#41047674)
It would be probably cheaper to negate some IP. There are quite some projects and initiatives to make CUDA code run on AMD for example, but as far as I know, they all stopped at some point, probably because of fear of being sued into oblivion.
Re:Open Source AI Is the Path Forward by whimsicalism on Tuesday July 23, 2024 @12:25PM (#41047851)
It seems like rocm is already fully ready for transformer inference, so you are just referring to training?
Re:Open Source AI Is the Path Forward by janalsncm on Tuesday July 23, 2024 @01:39PM (#41048722)
ROCm is buggy and largely undocumented. That’s why we don’t use it.
Re:Open Source AI Is the Path Forward by latchkey on Tuesday July 23, 2024 @11:33PM (#41053386)
It is actively improving every day.

https://news.ycombinator.com/item?id=41052750

Re:Open Source AI Is the Path Forward by belter on Tuesday July 23, 2024 @12:48PM (#41048173)
Please start with the Windows Tax first for Linux users buying hardware...and the Apple Tax for Android users...
Re:Open Source AI Is the Path Forward by zitterbewegung on Tuesday July 23, 2024 @12:54PM (#41048250)
Either you port Tensorflow (Apple)[1] or PyTorch to your platform or you allow CUDA to run on your hardware (AMD) [2]. Companies are incentives to not have NVIDIA having a monopoly but the thing is that CUDA is a huge moat due to compatibility of all frameworks and everyone knows it. Also, all of the cloud or on premises providers use NVIDIA regardless.

[1] https://developer.apple.com/metal/tensorflow-plugin/ [2] https://www.xda-developers.com/nvidia-cuda-amd-zluda/

Re:Open Source AI Is the Path Forward by TuringNYC on Tuesday July 23, 2024 @09:07PM (#41052691)
>> Either you port Tensorflow (Apple)[1] or PyTorch to your platform or you allow CUDA to run on your hardware (AMD) [2]. Companies are incentives to not have NVIDIA having a monopoly but the thing is that CUDA is a huge moat due to compatibility of all frameworks and everyone knows it. Also, all of the cloud or on premises providers use NVIDIA regardless.

This never made sense to me -- Apple could easily hire top talent to write Apple Silicon bindings for these popular libraries. I work at a creative ad agency, we have tons of high end apple devices yet the neural cores sit unused most of the time.

Re:Open Source AI Is the Path Forward by jcheng on Tuesday July 23, 2024 @09:49PM (#41052917)
A lot of libraries seem to be working on Apple Silicon GPUs but not on ANE. I found this discussion interesting, seems like the ANE has a lot of limitations, is not well documented, and can only be used indirectly through Core ML. https://github.com/ggerganov/llama.cpp/discussions/336
Re:Open Source AI Is the Path Forward by erickj on Tuesday July 23, 2024 @01:26PM (#41048592)
That's the kind of work that can come out of academia and open source communities when societies provide the resources required.
Re:Open Source AI Is the Path Forward by latchkey on Tuesday July 23, 2024 @11:32PM (#41053379)
It is being done already...

https://docs.scale-lang.com/

Re:Open Source AI Is the Path Forward by dogcomplex on Tuesday July 23, 2024 @11:51PM (#41053456)
Or just develop the next wave of chips designed for specifically transformer-based architectures (and ternary computing), and bypass the needs for GPUs and CUDA altogether
Re:Open Source AI Is the Path Forward by Zambyte on Wednesday July 24, 2024 @09:12AM (#41056740)
That would be betting against other architectures like Mamba, which does not seem like an obviously good bet to make yet. Maybe it is though.
Re:Open Source AI Is the Path Forward by dogcomplex on Friday July 26, 2024 @03:15AM (#41076496)
You're right, there are a number of avenues that are viable alternatives to the gpu monopoly.

I like the fact that these can be made with just mass-printed multiplication (and in ternary computing's case - addition) gates which require little more than 10 year old tech which is already widely distributed.