Earlier quoted context omitted.
You are years behind if you think you're training a model worth anything on consumer grade GPUs. Table stakes these days is 8x A100 pods, and lots of them. Luckily you can just get DGX pods so you don't have to build racks but for many orgs just renting the pods is much cheaper.
Ahh yes cause there is only one way to do Deep Learning and it is ofc stacking models large enough to not be useful outside pods of GPUs and this is for sure way to go if you want to make money (from VC ofc cause you wont have much users that are ever willing to pay so much that you'll ever make even, as was OpenAI and other big model providers, maybe you can get some money/sponsoring from state or uni). Market for l…
Are GPUs Worth It for ML?
71–80 of 100 posts
Re: Are GPUs Worth It for ML?
#72Earlier quoted context omitted.
What cloud is even remotely worth it over buying 20x rtx 3090 or even some quadro for training? Maybe if u have very small team and small problems but if you have CV/Video tasks and team more than 3 maybe even 2 people in house servers are always better choice as you'll get your money back in 2-3 months of training over cloud solution and maybe even more if you wait for rtx 4090. And if you are solo dev its even easi…
You are years behind if you think you're training a model worth anything on consumer grade GPUs. Table stakes these days is 8x A100 pods, and lots of them. Luckily you can just get DGX pods so you don't have to build racks but for many orgs just renting the pods is much cheaper.
Re: Are GPUs Worth It for ML?
#73Earlier quoted context omitted.
rCUDA is super cool! One of the issues though is for a lot of the common model frameworks are not supported and a new release has not come out a while.
Fair point. It's not obvious from the website which model frameworks does exafunction supports, or when the last exafunction release was.
Re: Are GPUs Worth It for ML?
#74I think TPU is the way to go for ML, be it training or inference. We're using GPU(some contains a TPU block inside) due to 'historical reasons'. With vector unit(x86 AVX, ARM SVE, RISC-V RVV) that is part of the host cpu, either put a TPU on a separate die of the chiplet, or just put it into a PCIe card will do the heavy lift ML job fine. It shall be much cheaper than the GPU model for ML nowadays, unless you are bot…
It's true that we were initially using GPUs mostly for historical reasons, but over the last several years modern GPUs have been optimized for ML as much as anything else. If you read NVidia's marketing documents, they talk constantly about ML. The A100 is about as good, if not better, than the TPUv4 in terms of raw performance on ML workloads. The A100 can do 312 bf16 TFLOPs and costs $0.88/hr on Google Cloud [0] wh…
With Hopper 100 on the way, I wonder when TPUv5 will come out.
I also wonder how Intel's Gaudi2 vs Ponte Vecchio will work together, looks like duplicate efforts for me.
AMD has its MI300 on the way, but it seems still far behind Nvidia|TPU|Intel at this point.
Re: Are GPUs Worth It for ML?
#75For small-scale transformer CPU inference you can use, e.g., Fabrice Bellard's https://bellard.org/libnc/ Similarly, for small-scale convolutional CPU inference, where you only need to do maybe 20 ResNet-50 (batch size 1) per second per CPU (cloud CPUs cost $0.015 per hour) you can use inference engines designed for this purpose, e.g., https://NN-512.com You can expect about 2x the performance of TensorFlow or PyTorc…
Is there a thing that Fabrice Bellard hasn't built? I had no idea that he was interested in something like machine learning, but I guess I shouldn't have been surprised because he has built every tool that I use.
Re: Are GPUs Worth It for ML?
#76An interesting question, shows how insanely overpriced GPUs still are, specially in the cloud environment
Disclaimer: I work at Exafunction I empathize a bit with the cloud providers as they have to upgrade their data centers every few years with new GPU instances and it's hard for them to anticipate demand. But if you can easily use every trick in the book (CPU version of the model, autoscaling to zero, model compilation, keeping inference in your own VPC, using spot instances, etc.) then it's usually still worth it.
Re: Are GPUs Worth It for ML?
#77> And CPUs are so much cheaper Doesn't look like it. Consumer: AMD ThreadRipper 3970X: ~3000 USD on NewEgg https://www.newegg.com/amd-ryzen-threadripper-2990wx/p/N82E1... NVIDIA RTX 3080 Ti Founders' Edition: ~2000 USD https://www.newegg.com/nvidia-900-1g133-2518-000/p/1FT-0004-... For servers, a comparison is even more complicated and it wouldn't be fair to just give two numbers, but I still don't think GPUs are mor…
Re: Are GPUs Worth It for ML?
#78Re: Are GPUs Worth It for ML?
#79For some reason they focus on the inference, which is the computationally cheap part. If you're working on ML (as opposed to deploying someone else's ML) then almost all of your workload is training, not inference.
The split definitely depends on what you're doing past developing/deploying.
(Source: https://kstatic.googleusercontent.com/files/2f51b2a749a284c2...)
Re: Are GPUs Worth It for ML?
#80I think TPU is the way to go for ML, be it training or inference. We're using GPU(some contains a TPU block inside) due to 'historical reasons'. With vector unit(x86 AVX, ARM SVE, RISC-V RVV) that is part of the host cpu, either put a TPU on a separate die of the chiplet, or just put it into a PCIe card will do the heavy lift ML job fine. It shall be much cheaper than the GPU model for ML nowadays, unless you are bot…