NixOS CUDA | 286 Members | |
| CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda | 57 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 Oct 2025 | ||
| No one likes us, we don't care! We are Nix, super Nix https://repology.org/project/python%3Avllm/versions | 14:14:54 | |
| Gaétan Lepage: see https://github.com/NixOS/nixpkgs/compare/master...daniel-fahey:nixpkgs:update-vllm What's best, I'll supersede your PR? | 19:18:57 | |
| I merged the vllm bump PR. | 19:19:22 | |
Now I'm working on bumping it to v0.11.0 | 19:19:33 | |
| Me too lol | 19:20:28 | |
| Will open the PR in a minute | 19:20:59 | |
| Cool, I'm writing up what I've discovered | 19:25:37 | |
| Redacted or Malformed Event | 22:10:50 | |
| lon: oh you deleted, (hehe), I actually didn't even think about it and had completely forgotten nixpkgs didn't have CUDA 13 yet (https://github.com/NixOS/nixpkgs/pull/437723) Thanks for looking into it all the same | 22:29:03 | |
Daniel Fahey FYI vllm is broken on master as my PR was merged slightly too soon. | 23:12:03 | |
| If you have a bit of time to investigate, please go on :) | 23:12:12 | |
| Yes, sorry I deleted because I saw your commit and is the same as mine (save for the update script! I didn't know that was a pattern people in nixpkgs used, TIL) | 23:13:31 | |
| the nvidia/cutlass dependency can also be updated fwiw, with the update script | 23:18:40 | |
Download image.png | 23:18:43 | |
| yeah, just started rewriting it | 23:23:25 | |
| How can you tell? Hydra? Got a link? | 23:27:58 | |
| Looks okay for me, some other problem? CUDA build?
| 23:45:17 | |
| 5 Oct 2025 | ||
| I ended up rewriting the whole thing if you want to give it a spin and leave a review? https://github.com/NixOS/nixpkgs/pull/448828 | 12:26:53 | |
| I've been using this one-liner while cobbling it together
cc6098112333e5ac645aa14f2ea9f70878d8fe22 being the Nixpkgs revision with vLLM v0.10.2, you can also test it with other revisions corresponding to other semantic versions. I almost went to town writing tests, but I'd have enough fun by then | 12:29:44 | |
| yeah, see https://wiki.nixos.org/wiki/Nixpkgs/Update_Scripts and you use e.g. (apparently), it's my first time writing one, will have to wait and see if @r-ryantm uses it | 12:50:30 | |
| one could also automate updating e.g. https://github.com/NixOS/nixpkgs/blob/107f8b572eb41058b610f99aba21b9a1b5925cf8/pkgs/development/python-modules/vllm/default.nix#L183-216, but I thought what I'd done was try-hard over-engineering enough already I really wanted to try and make a reference implementation that could easily be adapted to other complicated Python packages that have multiple git deps | 12:54:29 | |
| https://www.explainxkcd.com/wiki/index.php/1319:_Automation | 12:55:42 | |
| vLLM is becoming a huge project and pillar in the ecosystem, sometimes their cadence for releases is daily, and going through and checking each is fiddly and tedious. May well save us all some time, but it's good to just not have to worry https://www.explainxkcd.com/wiki/index.php/1205:_Is_It_Worth_the_Time%3F hope it keeps working, lol | 13:01:36 | |
| * vLLM is becoming a huge project and pillar in the ecosystem, sometimes their cadence for releases is daily, and going through and checking each dep is fiddly and tedious. May well save us all some time, but it's good to just not have to worry https://www.explainxkcd.com/wiki/index.php/1205:_Is_It_Worth_the_Time%3F hope it keeps working, lol | 13:02:02 | |
| CUDA build! Great to see it on your Hydra server though. I might have time in the evenings this week to get to the bottom of it, but don't have access to some beefy compute with 128+ GB RAM and 16+ CPU to do the CUDA build in a reasonable timeframe https://hydra.nixos-cuda.org/build/824/nixlog/71 | 13:29:19 | |
| * CUDA build! Great to see it on your Hydra server though. I might have time in the evenings this week to get to the bottom of it, but don't have access to some beefy compute with 128+ GB RAM and 16+ CPU to do the CUDA build in a reasonable timeframe (going to be investing in an Epyc rackmount rig eventually, as my Nixbuild.net bill can get silly fast) https://hydra.nixos-cuda.org/build/824/nixlog/71 | 13:31:47 | |
| Had a quick look while on the Tube, failure cascade stems from FlashMLA build | 15:47:38 | |
I think vLLM v0.11.0 CUDA build fails because FlashMLA's SM100 (Blackwell) code requires CUTLASS v4.2.1+ APIs like make_counting_tensor, but the derivation uses CUTLASS v4.0.0.So I just disable the problematic SM100 kernels, builds chugging along, seems to have got further than the one on Hydra, going to get a PR up now. | 21:45:40 | |
* I think vLLM v0.11.0 CUDA build fails because FlashMLA's SM100 (Blackwell) code requires CUTLASS v4.2.1+ APIs like make_counting_tensor, but the derivation uses CUTLASS v4.0.0.So I just disabled the problematic SM100 kernels, build's chugging along, seems to have got further than the one on Hydra, going to get a PR up now. | 21:46:01 | |
I didn't bump cutlass because vllm 0.11.0 still uses v4.0.0:https://github.com/vllm-project/vllm/blob/v0.11.0/CMakeLists.txt#L273 | 21:53:29 | |