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 | ||
| 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 | |