Viewing a single comment thread. View all comments

Longjumping-Wave-123 t1_ixrxasw wrote

Windows + WSL with Ubuntu is great

6

Appropriate_Ant_4629 t1_ixtlk37 wrote

> Windows + WSL with Ubuntu is great

I wouldn't call it "great".

It's very fragile environment compared to running Linux as the host OS. At work our Linux machines have uptimes measure in years, running many jobs 24x7.

It's lucky if my co-worker's GPU-accelerated WSL environments survive a few days.

I much prefer running Linux as the host and Windows in a VM for the rare occasions I need it.

4

Longjumping-Wave-123 t1_ixtls4o wrote

Person is asking for casual non-professional, so maybe good enough? But I agree, pure Linux is better.

5

corneliusJackson1 t1_ixvxvpg wrote

I think it’s great from a local workstation perspective and see it no more fragile than a standard windows, Mac, or Linux work station environment.

I do agree it doesn’t compare to a professional server cluster. I use wsl at work for a local workstation (small builds/jobs and debugging) but farm out big jobs to a server cluster.

Based on the described use case I think wsl would be a great option. I use it on my personal machine and transitioning from a code/ml project to playing a game of league is so easy compared to switching to my dual boot partition. Running wsl does share system resources with a second os, but the over head of windows is not that large. I personally never run into the case where native Linux provides a Benifit over wsl for jobs small enough that I wouldn’t just farm out to a cloud based server (very rare with my personal projects).

2

redditrasberry t1_ixsfztx wrote

Is GPU passthrough to WSL/docker working smoothly now?

3

Longjumping-Wave-123 t1_ixtk9cr wrote

Yes it does. Confirmed for nnUnet and Docker also where the GPU follow, i.e WSL-Ubuntu-Docker-GPU

4

selvz t1_ixsyyh4 wrote

How do you install the Ubuntu GUI under WSL 2?

1

Zeratas t1_ixt1lr7 wrote

You don't, it's essentially access to a Linux 'server' OS that lives in your Windows installation.

You can ssh into it and do almost everything you normally would, except GUIs (QT, KDE, Gnome ...etc)

5

drsimonz t1_ixt68rn wrote

Actually you can run GUI applications from WSL by installing a windows version of xserv and doing little config within WSL. Check out this guide if you're interested

5

Mooks79 t1_ixud2qj wrote

Even more recently MS have provided their own solution for Windows 10 (provided you’re running a sufficiently updated version) and 11, which supports both X11 and Wayland.

See here albeit this document is slightly out of date because, as of just a few days ago, they now support Windows 10 from 19.044 (21H2) onwards iirc. Edit: as per here.

5

princeps_gauss t1_ixva656 wrote

Oh shit - this changes everything.... might need to revisit WSL.

1

Zeratas t1_ixw41o5 wrote

TIL thanks! Will have to check it out.

1