NixOS CUDA | 289 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 |
|---|---|---|
| 8 Feb 2025 | ||
* ok that was dumb, I should have checked nix config show first. Something was overriding the substituters this whole time, despite my flake setting them. Sorry for the noise, it's all fine now! | 16:02:25 | |
| Do we want to enable aarch64-linux for cuda package set on hydra? I think it makes sense with already available GH200 and Digits available in May | 20:25:34 | |
| in the meantime I am compiling the aarch64-linux package set on my macbook, trying to remove potential build failures | 21:21:27 | |
| 21:22:28 | ||
| 9 Feb 2025 | ||
Yes. The only "blocker" is refactoring release-cuda.nix to support specifying jetson platforms instead of sbsa | 04:21:13 | |
* Yes. The only "blocker" is refactoring release-cuda.nix to support specifying jetson platforms instead of (or in addition to? does anyone use) sbsa | 04:21:29 | |
| Yes, GH200 is SBSA iirc | 19:44:53 | |
| I am currently working on fixing On the other hand, it's kind of silly to treat I still think that we should just change
specifically only in the However, if not shipping "vulnerable" binaries is so important, then we could keep Any thoughts? | 20:24:30 | |
| what exactly is the purpose to have samples packaged in nixpkgs? my first intuition tells me this does not belong to nixpkgs at all | 22:13:09 | |
| maybe just like a sanity check whether things compile | 22:17:59 | |
| Although they are called "samples", in reality I'd say that some of them are closer to debugging utilities, tests or benchmarks. And by "tests" I mean both for verifying that they successfully compile (although currently not all of them do) and for running them on the target machine to verify that the nvidia card works as expected. | 22:18:12 | |
A lot of these binaries run some computation on the GPU, verify the results, print some information and then report Result = PASS or something. Unfortunately, the output format of these binaries differs too much and running them requires access to the GPU, so it's basically impossible to create a "proper" nixpkgs test from them. But checking that they compile successfully and providing the resulting binaries to the users is still useful. | 22:21:34 | |
* A lot of these binaries run some computation on the GPU, verify the results, print some information and then report Result = PASS or something. Unfortunately, the output format of these binaries differs too much and running them requires access to the GPU, so it's basically impossible to create a "proper" nixpkgs test from them. But checking that they compile successfully and providing the resulting binaries to the users is still useful (IMHO). | 22:22:10 | |
| Does a patched version of freeimage exist, or is it abandoned? If there is a newer version, I’d be interested in whether, as a longer term goal, it’d be possible to update the samples to use it. | 23:21:11 | |
| 10 Feb 2025 | ||
| Redacted or Malformed Event | 00:11:29 | |
In reply to @connorbaker:matrix.org It seems there is a fork https://github.com/danoli3/FreeImage | 00:11:48 | |
| Readme says: This GitHub Fork/Patch of FreeImage
| 00:12:38 | |
| I think we should use this instead (not only for cuda-samples but for all nixpkgs) | 00:13:19 | |
| 00:48:53 | ||
| AFAIC, FreeImage is "undead". I think I read that the original devs insist that it is still being maintained, but they are stubbornly stuck on SourceForge and the last official release was in 2018. :sigh: | 02:59:55 | |
| I guess, the relevant questions would be:
| 03:04:46 | |
| Taking a cursory look at that repository, it seems that the original author just commited the whole SVN repo instead of importing the history from SVN, which is kind of annoying/problematic. | 03:08:43 | |
| * Taking a cursory look at that repository, it seems that the original author just commited the whole SVN repo in the initial commit instead of importing the history from SVN, which is kind of annoying/problematic. | 03:09:06 | |
another option would be to just remove freeImageInteropNPP from the cuda-samples build | 08:19:23 | |
* another option would be to just remove freeImageInteropNPP sample from the cuda-samples build | 08:19:34 | |
| by changing https://github.com/NVIDIA/cuda-samples/blob/9c688d7ff78455ed42e345124d1495aad6bf66de/Samples/4_CUDA_Libraries/freeImageInteropNPP/Makefile#L284 | 08:22:11 | |
| or maybe even that is not necessary and the build correctly detects that FreeImage is not available and skips that sample | 08:23:19 | |
| I was under the impression that there were a lot more samples that depended on FreeImage. If this is indeed the only sample that requires FreeImage, then I will simply remove it since I am already going to remove a few broken samples that don't have easy fixes. | 09:40:54 | |
| * I was under the impression that there were a lot more samples that depended on FreeImage. If this is indeed the only sample that requires FreeImage, then I will simply remove it since I am already planning to remove a few broken samples that don't have easy fixes. | 09:41:03 | |
| * Nice catch! I was under the impression that there were a lot more samples that depended on FreeImage. If this is indeed the only sample that requires FreeImage, then I will simply remove it since I am already planning to remove a few broken samples that don't have easy fixes. | 09:41:12 | |