Earlier quoted context omitted.
Not if you can migrate to linux on a whim.
^This. People act so helpless to big tech, and especially Windows. Linux is still more effort for normies, but it should not be an issue for most people on this sub to want learn it-you are doing things already on Windows that would not be much different than Linux. AI w/ Nividia alone justifies Linux because Windows has performance issues. Then you have the freedom of leaving Windows if it continues to get hostile.
Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
31–40 of 51 posts
Re: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
#32Earlier quoted context omitted.
Not if you can migrate to linux on a whim.
^This. People act so helpless to big tech, and especially Windows. Linux is still more effort for normies, but it should not be an issue for most people on this sub to want learn it-you are doing things already on Windows that would not be much different than Linux. AI w/ Nividia alone justifies Linux because Windows has performance issues. Then you have the freedom of leaving Windows if it continues to get hostile.
Re: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
#33Bet being that I can get most games to work on it - that was the sticking point. (Thanks to Valve I think it’ll work out)
Re: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
#34Running models at home seems like a waste of money while at the same time they are currently heavily subsidized in the cloud by dumb money.
Way better utilization of expensive hardware as well ofc.
Re: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
#35Re: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
#36Running models at home seems like a waste of money while at the same time they are currently heavily subsidized in the cloud by dumb money.
How is it a waste of money if a lot of people, including the author of the article, already have an nVidia GPU in their PC? Running locally has a lot of advantages - privacy, getting to learn how to run LLMs, not having to deal with quotas, logins, outages.
Re: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
#37Just to awnser the question why not using windows. Here are some ideas why the author might have used nix instead: - reproducible (with minor adjustments even on non-WSL systems) - if you are used to nix, there is not much which beats it in terms of stability, maintainability, upgradability, and fun (?) - additional services are typically easier to set up like tailscale-acl, used by the author, which uses pulumi unde…
If the author like NixOS, they can use NixOS in native, and then they can get native Ollama again. No need to run nix on WSL
Re: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
#38Just to awnser the question why not using windows. Here are some ideas why the author might have used nix instead: - reproducible (with minor adjustments even on non-WSL systems) - if you are used to nix, there is not much which beats it in terms of stability, maintainability, upgradability, and fun (?) - additional services are typically easier to set up like tailscale-acl, used by the author, which uses pulumi unde…
IME storage speed is only an issue with if you’re using the shared folder capability. It’s as fast as any vm if you stick to the wsl block device.
Re: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
#39If you are using a system-controlling Nix (nix-darwin, NixOS…), it’s as easy as `hardware.services.ollama.enable=true` with maybe adding `.acceleration=“cuda”` to force GPU usage or `host=“0.0.0.0”` to allow connections to Ollama that are not local to your system. In a home-manager situation it is even easier: just include `pkgs.ollama` in your `home.packages`, with an `.override{}` for the same options above. That should be it, really.
I will say that if you have a more complex NixOS setup that patches the kernel or can’t lean on cachix for some reason that using the ollama package takes a long time to compile. My setup at home runs on a 3950X Threadripper and when Ollama compiles it uses all the cores at 99% for about 16 minutes.
Re: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC
#40Running models at home seems like a waste of money while at the same time they are currently heavily subsidized in the cloud by dumb money.