News for hackers. Stuff that matters.
Re:Deep learning box for $1700 by jph00 on Monday May 29, 2017 @06:01PM (#14441728)
FYI the OP also created a really nice way to create persistent spot instances on AWS - see approach 2 here: http://wiki.fast.ai/index.php/AWS_Spot_instances
Re:Deep learning box for $1700 by Matthias247 on Tuesday May 30, 2017 @05:31AM (#14444002)
If the boxed fans have not improved significantly in the last years then a good heatsink/fan would have been a very good investment. At least if one sits in the same room where the box is running.
Re:Deep learning box for $1700 by joshu on Monday May 29, 2017 @04:08PM (#14441135)
Wrong CPU. Only 16 PCI lanes.
Re:Deep learning box for $1700 by slavivanov on Tuesday May 30, 2017 @03:43AM (#14443545)
Hi, I'm the author. My thought was that running 2 GPUs in a 2x8 config wasn't going to be a bottleneck. Or is it? Apparently my understanding of PCIe is totally off. What would be a suitable CPU (with 40 lanes?) for dual GPU in this price range ($200-$300)?

Thank you for the comments, eventually I can stop spreading my ignorance around :)

Re:Deep learning box for $1700 by barrkel on Monday May 29, 2017 @04:51PM (#14441359)
PCIe lane width isn't normally a significant bottleneck for GPU performance, for games at least. Going from 16x to 8x loses you 1% or so, depending on the hardware. I don't know the bus traffic profile of software being run for deep learning, but it may not be noticeable.

I'd also pick a CPU with more lanes though.

Re:Deep learning box for $1700 by joshu on Monday May 29, 2017 @05:14PM (#14441477)
It's fine for a single GPU. For multiple GPUs in a deep learning box you want more.
Re:Deep learning box for $1700 by Toast_ on Monday May 29, 2017 @07:00PM (#14441979)
What cpu would you recommend? Would it be better to go with a 2x cpu mobo?
Re:Deep learning box for $1700 by en4bz on Monday May 29, 2017 @07:06PM (#14441994)
Definitely not since only 1 socket is usually directly attached to the PCIe bus. The best CPU for the money at the moment is most likely an i7 5830K with 40 PCIe lanes. Or you could wait (probably the best idea) for AMD to release it's "threadripper" CPUs tomorrow with 44 lanes and for Intel to release it's new i7/i9 lineup in 2 weeks, also with 44 lanes.
Re:Deep learning box for $1700 by Toast_ on Monday May 29, 2017 @11:08PM (#14442816)
Cool, thanks for the info.
Re:Deep learning box for $1700 by en4bz on Monday May 29, 2017 @05:17PM (#14441494)
Agreed. This would bifurcate down to 8/4/4 if you wanted to add an NVME SSD or 10Gbit NIC
Re:Deep learning box for $1700 by polskibus on Monday May 29, 2017 @04:48PM (#14441350)
Would you mind to elaborate?
Re:Deep learning box for $1700 by joshu on Monday May 29, 2017 @05:15PM (#14441485)
It's not enough bandwidth for multiple GPUs.
Re:Deep learning box for $1700 by rahimnathwani on Tuesday May 30, 2017 @01:08AM (#14443089)
I went for a slightly cheaper option ($950), with a slower GPU, less disk, but more RAM and better PSU and case:

- Used Dell T7500 (Xeon X5675, 48GB RAM): US$350 including delivery from ebay: http://www.ebay.com/itm/Dell-T7500-Home-PC-Xeon-6-Core-3-06G...

- Nvidia GTX1080 8GB (US$480)

- SSD ($100)

- USB 3.0 PCIE card ($20)

Re:Deep learning box for $1700 by throwaway32421 on Tuesday May 30, 2017 @11:27AM (#14446010)
Considering the ridiculous amounts of time spent on training, how do those of you deal with 'work' ? Work remotely ? Run multiple experiments at the same time ?

I'm having an increasingly difficult time explaining to my client why it's taking so much longer to debug the code as opposed to getting the implementation off the ground.

Re:Deep learning box for $1700 by lowglow on Monday May 29, 2017 @03:59PM (#14441100)
This is 100% the process I've gone through to build a DL box. Anaconda saved me in he fast.course.ai lessons.
Re:Deep learning box for $1700 by monkmartinez on Monday May 29, 2017 @04:10PM (#14441147)
How did you like those courses?
Re:Deep learning box for $1700 by lowglow on Monday May 29, 2017 @06:58PM (#14441973)
It's OK but definitely think we need a bigger picture / organically growing course material.
Re:Deep learning box for $1700 by jph00 on Monday May 29, 2017 @05:57PM (#14441700)
Just to clarify - the actual url is course.fast.ai :)
Re:Deep learning box for $1700 by lowglow on Monday May 29, 2017 @06:57PM (#14441970)
haha, sorry pre-coffee! :)
Re:Deep learning box for $1700 by jacquesm on Monday May 29, 2017 @03:09PM (#14440819)
If the OP reads this, this fragment makes no sense:

> Even thought the GPU is the MVP in deep learning

Also: if you ever do another build: do not take the parts out of their protective packaging until you need them. A nice little bolt of static from your fingertips to the motherboard, memory sticks or GPU terminals could ruin the part. Those bags and the foam are conductive and help to disperse static energy so better to use them until the last moment.

Re:Deep learning box for $1700 by quadrature on Monday May 29, 2017 @03:17PM (#14440873)
MVP as in Most Valuable Player.
Re:Deep learning box for $1700 by jacquesm on Monday May 29, 2017 @03:54PM (#14441074)
Most people would read that abbreviation as 'Minimum Viable Product' in the HN context.
Re:Deep learning box for $1700 by beanpainter on Monday May 29, 2017 @04:08PM (#14441130)
Heh, there's a painting company that parks their van along Kezar Drive in SF with the name/logo "MVP", which they intend to be read as Most Valuable Painter. It always makes me think of the scene in an old episode of Mr Bean where he paints a room by putting a firecracker in a paint can.
Re:Deep learning box for $1700 by monkmartinez on Monday May 29, 2017 @04:07PM (#14441128)
Not me, I totally understood what he meant due to the context. The reality is that "Minimum Viable Product" was hijacked from the MVP of sports.
Re:Deep learning box for $1700 by jacquesm on Monday May 29, 2017 @04:16PM (#14441177)
I'm not into sports (unless I'm doing something myself :) ), so I never heard it used like that before.
Re:Deep learning box for $1700 by esrauch on Monday May 29, 2017 @09:18PM (#14442456)
Its a pretty common Americanism that is disconnected from sports in my experience, I suspect the average American would recognize it as "something/someone that is contributing a lot", and only a tiny percentage would even recognize "minimum viable product" spelled out.
Re:Deep learning box for $1700 by smcl on Monday May 29, 2017 @04:07PM (#14441129)
Or outside the US - "MVP" seems to come from US sports terminology which are still relatively niche in the rest of the world (compared to Football anyway, and I reckon there's a large amount of people who don't even care about sports)
Re:Deep learning box for $1700 by slavivanov on Tuesday May 30, 2017 @03:44PM (#14447945)
Thanks for the tip! You're the real MVP, @jacquesm ;)
Re:Deep learning box for $1700 by nacc on Monday May 29, 2017 @03:49PM (#14441034)
I have thought about the same thing when playing with deep learning at home, until I put electricity bills into the equation. A beast like what the author has built, with full power, will cost $0.1/hour in electricity bill alone at where I live ... which almost equal to the cost of a p2.xlarge spot instance on Amazon.

So if someone else is paying for the electricity, build your own gig, otherwise, Amazon is pretty hard to beat.

Re:Deep learning box for $1700 by elil17 on Monday May 29, 2017 @05:24PM (#14441522)
Re:Deep learning box for $1700 by hueving on Monday May 29, 2017 @04:15PM (#14441172)
The spot pricing is pretty crappy to compare to since you only get to use spare capacity. If you have any project where availability matters then you should compare to the on demand price of $0.9/hour.

If availability doesn't matter, it means you wouldn't run the box full time anyway, in which case your power calculation is too high.

Re:Deep learning box for $1700 by marcosdumay on Monday May 29, 2017 @04:40PM (#14441301)
It's a processing task. You run it for a fixed CPU time. Wall time may or may not matter depending on the application.

You almost never take availability into account, but taking spot prices will increase wall time.

Re:Deep learning box for $1700 by nathancahill on Monday May 29, 2017 @03:55PM (#14441076)
Same goes for Bitcoin mining.
Re:Deep learning box for $1700 by adsfk32 on Tuesday May 30, 2017 @11:31AM (#14446030)
You can get a 12-core Xeon (evaluation sample) v3 for ~$200.