New laptop for Julia

I’m just about to embark on learning Julia for Deep Learning. And, my old Windows laptop just died. I want to buy a moderately priced laptop specifically for Julia that should last me several years.

I gather that I should get a machine on Ubuntu and Nvidia? Any advise on how to go about this process?

1 Like

The main thing is to get a laptop w/ a recent NVidia graphics card.
If you search “deep learning laptops” you’ll find expensive laptops w/ multiple GPUs.

Also make sure you get a nvme ssd. That will help a lot both for Julia and ml

I would go with a light, portable laptop that’s easy to use and has reasonable but not monstrous performance and then rely on eGPUs or a desktop for heavy compute.

4 Likes

What is “reasonable performance”?
-8GB RAM?
-i5 vs i7 core?
-is 512GB SSD enough?

This is my personal experience. Others may have different recommendations.

-8GB RAM?

I think this is too small these days to run a web browser, Slack, VS Code and a couple of somewhat heavy Julia sessions. So probably not less than 16 GB?

-i5 vs i7 core?

I don’t know if this is the most important metric these days. Look at benchmarks of specific processors. There are many competing factors here, e.g. number of cores, cache sizes, clock speed, energy consumption, price, AVX instruction support, etc. A slower processor with lower energy consumption and more cores might give you a better experience than a super fast one that heats up your laptop and depletes your battery in a couple of hours. But I am no expert here. Others may have better advice.

-is 512GB SSD enough?

Depends on how much hoarding you do, how many programs you have at any one time, how big these programs are, how much data you deal with, how many backups you keep, etc. So this is very person-dependent.

5 Likes

I don’t about availability yet but the new laptops coming out with the new AMD processors (5000 series) seem to be very fast. Specially the H/HS versions.
For ram I would go with 16 GB for sure.

An Nvidia graphics card can very much improve performance when doing some which require large matrix multiplications i.e Deep Learning.

For storage 512 GB is plenty if you are doing julia and basic work on the laptop. However if you plan on storing large datasets or photo/video you might want to go to 1TB.

3 Likes

I found 3 options on ebay for ~£700

1

ASUS FX 505GT
i5 9300H, Nvidia GTX 1650
32GB RAM, 512GB + 2TB

2

ASUS FX 505DT
AMD Ryzen 5-3550H,
16GB RAM, 256GB + 2TB

3

HP ZBook 15 G3
Core i7 6820HQ
64GB RAM, 1TB SSD

Any issues I should consider when installing Ubuntu?

…it depends to what else you can do with 700 £ :slight_smile: :slight_smile:

Get one with thunderbolt so that you can attach external gpu ( or simply use a cloud platform). Laptops with good gpu and large amounts of VRAM are expensive and you’ll be stuck to training small networks on a tiny 6GB laptop card. I encountered this issue where training a Yolo network I needed 10GB or VRAM for a relatively small batch size. A cheap used 12GB Titan X connected via thunderbolt did the job.
16GB or RAM is ok.
Some sort of SSD for storage.
In terma of CPU, don’t bother that much. Thin and light machines are usually thermal and power limited. I guess today you can find an 4-6 core I5 or some amd part for good price.

2 Likes

You may want to look at Apple’s New Laptops with M1 Chip such as Mac Book Air ($999) or 13" MacBook Pro ($1299) or Mac mini ($679).

1 Like

My honest advice? Don’t stress about the Ubuntu. I am working on my persona laptop which is a high end model an dual boots Windows 10 and the latest Fedora.

Regarding the laptop I have had several models for work and personal over the last three or four years. My biggest mistake was a work laptop - Microsoft surface with detachable touchscreen tablet, two GPUs - one in the tablet, one in the base unit. Sorry to say it was a boat anchor.
I would go for a light laptop any time, with a reasonable sized screen. Remember you WANT to take it around with you. So the Ultrabook form factor for me.
I would heavily advise USB-C connectors - and check that is a Thunderbolt port.
You will normally be working with an ext-ernal monitor and keyboard so USB-C is a godsend here.
You can work with a ‘dongle’ from Amazon - Ugreen is a good make. so leave your monitor plugged in and your normal USB keyboard. When you get home just plug in.

2 Likes

My home working setup at the moment is a Dell Latitude, what we call an Engineering model with 32 gigs of RAM. Remember you cant upgrade RAM on most models so go big.
I have a Dell Thunderbolt dock on the desk, which supplies power and has two monitors connected to it. Mechanical keyboard and mouse. I have a little USB hub on the Thunderbolt dock for easy connection of webcams, headsets etc.

You could consider using GPU instances on a cloud service too

For Thunderbolt external GPUs and enclosures this site has excellent advice and a forum

1 Like

I’ve thought about this as well and think, for my purposes anyway, I’d be happier with the smallest/cheapest form factor and kicking serious tasks to the cloud with Julia Run. I figure this saves me the upfront cost and I estimate compute costs to decrease in the future so I get to benefit from technology advances. Not sure if this is good for your use, but definitely something to consider.

https://juliahub.com/ui/Home

1 Like