It’s necessary for my very important hobby of generating anime nudes.
Man I just built a new rig last November and went with nvidia specifically to run some niche scientific computing software that only targets CUDA. It took a bit of effort to get it to play nice, but it at least runs pretty well. Unfortunately, now I’m trying to update to KDE6 and play games and boy howdy are there graphics glitches. I really wish HPC academics would ditch CUDA for GPU acceleration, and maybe ifort + mkl while they’re at it.
Use driver 535 until explicit sync is implemented by NVIDIA.
I must admit when I learned this was Crowder I had a sad
Just change and reupload :D
Stable Diffusion works on Radeon 7900XTX on Ubuntu.
7900 GRE is officially supported too which seems like a great <$600 option on the market right now.
7900XTX
is it with Automatic1111?
Yes.
I thought NixOS was the new Arch btw
Damn you’re kinda right
From: https://knowyourmeme.com/memes/btw-i-use-arch
BTW I Use Arch is a catchphrase used to make fun of the type of person who feels superior because they use a more difficult Linux distribution.
I think that’s fair to apply to some NixOS users. Source: BTW I use NixOS.
I mean the barrier of entry is kind of high if you’re used to more traditional package managers.
Source: I tried using nix on my Debian machine
Check out my comment about setting up nix on Debian
Thanks, I’ll try that
There’s definitely a steep initial learning curve as you observed and dialing in your configuration is time consuming in my experience but once you’ve got things the way you like, it’s pretty smooth sailing from there.
Edit: removed compared to arch references. Not relevant to the comment.
As someone who tried NixOS recently for the first time, it feels like an uphill battle.
Some immediate concerns I have as a newbie are below. Bear in mind that I’m a single user on a single system.
Organisation is daunting as fuck
Even a relatively simple desktop config seems rather large to me. I expect the complexity of my config to balloon if I were to use this as my primary OS. There seems to be no consensus on how things should be separated.
I’ve heard home-manager is good, but I don’t really get the point of it. What does it achieve for me that editing configuration.nix doesn’t? I’ve yet to find a benefit. It’s just another place to dump endless configs and another command to remember to run.Installing software feels like the roll of a dice
I installed NixOS to try Hyprland, and their docs say to just useprograms.hyprland.enable = true
, which I’ve come to learn is a module. But that’s not the only way to install things! You also have system packages and user packages! I just want to install some software, I don’t want to have to look up whether it’s a module or a package every time I want something new. I’m never sure what I should add to which section. No other distro that I know of has this problem! Having 3 different places to add software seems excessive. What am I using? Windows? And now there’s Flakes too. I’m sure they’re great, but right now I just see them as yet another way to install software on Nix. Great.There’s more, but I’ll leave it there for now. I’m sure there are reasonable answers to all that I’ve said, but I’m just frustrated. I really want to like Nix, but it’s not making it easy.
tl;dr: Two things. 1) Lack of consensus on how configs are organised is confusing. 2) Having 3 different ways of installing software (modules/packages/flakes) does not feel better than
apt install
orpacman -Syu
etc.Nix is a programming language, so you have to organize your configuration yourself like you would for any programming project, usually by splitting it into multiple files. Also you can search system modules on the same page that you search for packages though usually there’s not much of an explanation for what it does outside of reading the source code.
System modules use the package from the repository while enabling some systemd stuff and whatever other options that you will want enabled with it. On a single user system, there is no meaningful difference between system packages and user packages.
Home-manager can be used to manage files in your home directory, like your configs for apps and stuff. It also can have more module options for apps so you can set up their settings declaratively. Its not for everyone but this is what its supposed to do, outside of your normal nix configuration.
Nix flakes aren’t a way to install packages, but a way to manage the nix based projects which include nix packages and your nixos configuration and is supposed to make it more reproducible, so its not directly related to installing packages. However if a package for something isn’t in the repos, someone may make a nix flake for installing and building the package.
Its understandable that you are having trouble though, because the documentation for nix and nixos is terrible, and it only got better for me once I actually spent time learning the nix programming language.
Organisation is daunting as fuck
Read up on modules. It’s obvious you haven’t even googled it.
I’ve heard home-manager is good, but I don’t really get the point of it. What does it achieve for me that editing configuration.nix doesn’t?
-
You’re not supposed to use configuration.nix for userland packages. Separation of concerns, and so you don’t need to rebuild all the time.
-
Declarative package management and configuration
-
You only need to remember one command to install and update all your packages
Installing software feels like the roll of a dice
There are many ways to install a package, and that allows you to chose the one you want to use. Nobody’s forcing you to use the module instead of just the package…
And now there’s Flakes too. I’m sure they’re great, but right now I just see them as yet another way to install software on Nix. Great.
You don’t use flakes to install packages. You use them to control the package definitions, pin specific versions, add packages from outside of nixpkgs in a declarative manner, and so on.
I really want to like Nix, but it’s not making it easy.
You really want to like Nix, but don’t want to learn basic concepts and instead expect it to behave like every other distro.
If installing packages is too much for you, give up on nixos and use something else. That’s literally the easiest and most issue free part of using it. You can install hyperland through nix on Debian or whatever distro you want.
does not feel better than
apt install
orpacman -Syu
etc.Yeah, why would anyone want a list of packages they currently have installed. Can’t think of any benefits, nope…
-
I mean at this point, people use that phrase themselves, so I don’t think it really makes fun of them anymore.
I use EndeavorOS, btw
Good point
Earlier in my career, I compiled one container with tensorflow with CUDA/cuDNN (NVIDIA) and another with ROCm (AMD) for cancerous tissue detection in computer vision tasks. GPU acceleration in training the model was significantly more performant with NVIDIA libraries.
It’s not like you can’t train deep neural networks without NVIDIA, but their tensor cores in Turing and beyond make things WAY faster.
Things have changed.
I can now run mistral on my intel iGPU using Vulkan.
If you’re talking about “running”, that’s inference. I’m talking about training-time.
Same thing. Inference just uses a lot less memory.
But I’m referring to elapsed training time.
AMD is catching up now. There are still performance differences, but they are probably not as big in the latest generation.
I run Stable Diffusion with ROCm. Who needs CUDA?
I can confirm that it works just fine for me. In my case I’m on Arch Linux btw and a 7900XTX, but it needed a few tweaks:
- Having xformers installed at all would sometimes break startup of stable-diffusion depending on the fork
- I had an internal and an external GPU, I want to set HIP_VISIBLE_DEVICE so that it only sees the correct one
- I had to update torch/torchvision and set HSA_OVERRIDE_GFX_VERSIONI threw what I did into https://github.com/icedream/sd-multiverse/blob/main/scripts/setup-venv.sh#L381-L386 to test several forks.
What distro are you using? Been looking for an excuse to strain my 6900XT.
I started looking at getting it running on Void and it seemed like (at the time) there were a lot of specific version dependencies that made it awkward.
I suspect the right answer is to spin up a container, but I resent Docker’s licensing BS too much for that. Surely by now there’d be a purpose built live image- write it to a flash drive, reboot, and boom, anime
vampire princeshot girlsI use stable diffusion on rocm in an ubuntu distrobox container. Super easy to set up and there’s a good guide in the opensuse forum for it.
That is exactly what I do too and it works perfectly! This is a link to said guide.
It’s effectively install distrobox, save the config, run
distrobox assemble
and thendistrobox enter rocm
and clone the Automatic1111 stable diffusion webui somewhere and runbash webui.sh
to launch it.
I resent Docker’s licensing BS too much for that.
Pay us if you’re a mid+ sized compan is BS?
I think people don’t like dramatic changes in business model. I had installed it for like 3 days, long before the switchover, to test out something from another dev. When they made the announcements, the hammer went down in our org not to use it. But that didn’t stop them from sending sales-prospecting/vaguely threateningly worded email to me, who has no cheque-writing authority anyway.
Plus, I’m not a fan of containers.
STOP DOING CONTAINERS.
- Machines were not meant to contain other smaller machines.
- Years of virtualization yet no real-world use found for anything but SNES emulation
- Wanted to “ship your machine to the end-user” anyway for a laugh? We had a tool for that. It was called “FedEx”.
- “Yes, Please give me
docker compose up meatball-hero
of something. Please give me Alpine Linux On Musl of it” – Statements dreamed up by the utterly deranged.
“Hello, I would like 7.5GB of VM worth of apples please”
THEY HAVE PLAYED US FOR ABSOLUTE FOOLS.
If you don’t like docker take a look at containerd and podman. I haven’t done any cuda with podman but it is supposed to work
I use Fedora. It works great, with some tweaks to the startup script.
Then show us your anime titty pics!
CUDA?! I barely even know’a!
At least the Arch people are not shilling for some corp.
I’m tired of people taking sides like companies give a shit about us. I wouldn’t be surprised to see five comments saying something like “you shouldn’t buy Nvidia AMD is open source” or “you should sell your card and get an amd card.”
I’d say whatever you have is fine, it’s better for the environment if you keep it for longer anyway. There are soo many people who parrot things without giving much though to an individuals situation or the complexity of a company’s behavior. Every companies job is to maximize profit while minimizing loss.
Basically if everyone blindly chose AMD over Nvidia the roles would flip and AMD would start doing the things Nvidia is doing to maintain dominance, increase profit, reduce cost and Nvidia would start trying to gain more market share from AMD by opening up, becoming more consumer friendly, competitively priced
For individuals, selling your old card and buying a new AMD card for the same price will net you with a slower card in general or if you go used there is a good chance it doesn’t work properly and the buyer ghosts you. I should know, I tried to get a used AMD card and it died every time I ran a GPU intensive game.
I also went the other way upgrading my mother’s Nvidia card with a new AMD card that was three times as expensive as her Nvidia card ($50) would be on eBay and it runs a bit slower than her Nvidia card did. She was happy about the upgrade though because I used that Nvidia card in her movie server resulting in better live video transcoding than a cheap AMD card would.
Who is saying to sell your card so you can buy AMD?
You’d be surprised it happens quite a bit, especially when your trying to help an Nvidia user with technical issues.
The problems I see people have are kinda trivial and is usually fixed by installing a package or changing a kernel parameter. Stuff you spend a few minutes researching for a half second fix. It’s like saying “Apple pages unintuitive to use? Throw out your MacBook and get a PC!”
I don’t like MacBooks but I’m not going to tell them to replace it.
A collection of folks ranging from moralizing open source fans, Wayland aficionados, and AMD fanboy. They also like to blame any Linux problem the user might be having on Nvidia use even when the user hasn’t actually mentioned Nvidia. Daughter got chlamydia? Shouldn’t have gone with Nvidia.
When there are only two options and one is nearly a monopoly, do you still think there’s no good side?
Both open source drivers from Nvidia and AMD have an MIT license, so what’s your point. Both firmwares are still proprietary. You have the option of Intel arc now so it’s not even a duopoly anymore.
Way to sidestep the question. I was talking about market dominance not licenses.
Why do you keep linking the creative commons copywrite websiter? It’s not music, a movie, or a piece of art.
I’ve given up on whatever you’re talking about because I don’t think you even know what you’re talking about.
I have no reading comprehension, so I won’t continue the discussion
That’s actually smart 👍
No it’s not
My only regret for picking team red is that DaVinci Resolve doesn’t support hardware encoding.
Oh please. There are better templates than this stupid Nazi cunt. I really don’t want to see this fuckface.
isnt the joke that he wont change his mind on his stupid ideas, though?
Yes! This is a nice alternative template for example.
For the longest time I just thought he was that one guy from modern family.
I just now learned he was not
mfw rocm
3D rendering with optix. I don’t do AI nonsense other than chatgpt for the occasional shell script or python function.
Back in my day, the AMD drivers were the janky ones…
Rocm is the AMD version