Those who do not recommend, do you have any suggestions for people just getting into the field?
If you’re just getting into the field, by far the easiest thing will be to start out with free Google Colab notebooks until you hit their free tier limits. Kaggle also has free GPUs to play with. When you’re starting out your bottleneck will likely not be your hardware but the learning curve of the content. After that, use a managed service with GPUs. They will keep all of the hardware working, you just pay a monthly…
Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
31–40 of 49 posts
Re: Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
#32Those who do not recommend, do you have any suggestions for people just getting into the field?
For deep learning/NNs, Google Colab/Kaggle notebooks are where most people start. There are lots of cloud providers that are harder to set up on but might be cheaper/faster for a particular project, but while Colab is limiting in some ways it's dead simple to use so you can focus on learning data science. There's a lot of talk about large models atm, but when you're learning you should probably stick to smaller model…
Re: Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
#33Multi-GPU training is a double-edged sword. If you are at the stage where you are running your code in a iPython notebook then you are almost certainly not going to benefit from the multiple GPUs, and I strongly suspect you'd be better with fewer and larger GPUs, even if training time is prolonged. The reason I say that is, if we go with PyTorch, you basically have 2 options for multi-GPU training. - DataParallel - w…
Re: Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
#34If you’re just learning, I’d actually look at using a cloud based provider where you can just spin up a gpu vps for the duration of each experiment.
Re: Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
#35While it's technically not a bad price in terms of raw compute and memory, the noise from the high speed server fans alone is reason enough not to get this. Never mind the power usage. I was going to say maybe it'd be worth it if they were 24GB GPUs, but I'm not sure you can even use recent Pytorch with cards that old. You'd have to work around the limitations. You don't even need a GPU to learn anyway, you can use t…
Had a poweredge in my apartment in college, can confirm they sound like a leaf blower.
Re: Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
#36That K40 setup requires a 1 kW power supply. With energy prices up, that can get pretty expensive in the long run. I suspect a newer Nvidia chip manufactured on a more efficient semiconductor process will deliver the same performance for a fraction of the power consumption. This is often a problem with old hardware. The power efficiency gains from improvements between chip process nodes are so fundamental that it’s h…
Re: Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
#37How much online AI compute can you get for $400. Should be enough for most smaller projects yeah?
Re: Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
#38Re: Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
#39For just 5x more cash, you can get two new 3090's... 20k cuda cores, and much more modern, so should be much faster than the core count suggests. Worth considering just building two machines, as well; the ability to train multiple models in parallel is in many cases more valuable than the ability to train one big one.
I don’t feel the words “just” and “5x more cash” really fit in the same sentence!
Not questioning 3090s being more performant, but that’s a whole lot more money before even thinking about buying the supporting components.
Re: Ask HN: Worth it to buy 4x Nvidia Tesla K40 for AI?
#40The latest Nvidia driver no longer supports the K40, so you’ll have to use version 470 (or lower, officially Nvidia says 460, but 470 seems to work). That supports CUDA 11.4 natively. Newer versions of CUDA 11.x are supported: https://docs.nvidia.com/deploy/cuda-compatibility/index.html though CUDA 12 is not.
In my testing, a system with a single RTX3060 was faster in tensorflow than with 3 K40s and probably close to the performance of 4 k40s.
If you are considering other GPUs, there are some good benchmarks here (The RTX3060 is not there, though the GTX1080Ti was almost the same performance in the tensorflow test they run): https://lambdalabs.com/gpu-benchmarks
As others have said Google CoLab is free option you can use.