For a non cuda n00b, what problem does this solve?
Two obvious problems that come to mind are 1. Replacing the extremely bloated official packages with lightweight distribution that provides only the common functionality. 2. Paving the way for GPU support on *BSD.
LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
151–160 of 162 posts
Re: LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
#152Earlier quoted context omitted.
Some of us are running llama 405B locally already. All my GPUs are ancient Nvidai GPUs. IMO, the point of an open cuda is to force Nvidia to stop squeezing us. You get more performance for the buck for AMD. If I could run cuda on AMD, I would have bought new AMD gpus instead. Have enough people do that and Nvidia might take note and stop squeezing us for cash.
What are you using P100s or something?
Re: LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
#153Re: LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
#154Re: LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
#155[flagged]
Re: LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
#156Re: LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
#157Re: LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
#158Earlier quoted context omitted.
The NVidia software stack has the "no use in datacenters" clause. Is this a workaround for that?
use the open kernel driver, which is MIT/GPL and thus cannot impose usage restrictions. it's worth noting that "NVIDIA software stack" is an imprecise term. the driver is the part that has the datacenter usage term, and the open-kernel-driver bypasses that. the CUDA stack itself does not have the datacenter driver clause, the only caveat is that you can't run it on third-party hardware. So ZLUDA/GpuOcelot is still ve…
Re: LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
#159What's a CUDA elf file? Is it binary SASS code, so one would still need a open source ptxas alternative?
Replacing ptxas is highly non trivial. I will attempt to do so, but it increasingly looks like ptxas is here to stay. I started working on a nvcc + cuda SDK replacement which already works surprisingly well for a day of work.
However, ptxas is in my sight. But I know this is something that to my knowledge nobody that wasn't fed Nvidia documentation under license has ever successfully accomplished.
Re: LibreCUDA – Launch CUDA code on Nvidia GPUs without the proprietary runtime
#160Cool to see one of these in C, particularly if it can be binary compatible. Why not s/libreCuInit/cuInit? If you are interested in open source runtimes, tinygrad has them in Python for both AMD and NVIDIA, speaking directly to the kernel through ioctls and poking the command queues. https://github.com/tinygrad/tinygrad/blob/master/tinygrad/ru... https://github.com/tinygrad/tinygrad/blob/master/tinygrad/ru...