Skip to content

Commit

Permalink
docs: add cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Nov 18, 2024
1 parent 1782cc6 commit cdf1b57
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/cuda.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
https://discourse.nixos.org/t/cuda-cache-for-nix-community/56038

```nix
{
nixpkgs.config.cudaSupport = true;
nixpkgs.config.allowUnfreePredicate =
p:
builtins.all (
license:
license.free
|| builtins.elem license.shortName [
"CUDA EULA"
"cuDNN EULA"
"cuTENSOR EULA"
"NVidia OptiX EULA"
]
) (if builtins.isList p.meta.license then p.meta.license else [ p.meta.license ]);
}
```

[#cuda:nixos.org matrix room](https://app.element.io/#/room/#cuda:nixos.org)

[Nixpkgs CUDA team](https://nixos.org/community/teams/cuda/)

[package-sets](./package-sets.md)

[cache](./cache.md)
2 changes: 2 additions & 0 deletions docs/package-sets.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#### Nixpkgs CUDA and ROCm

See [here](./cuda.md) for more information.

[CUDA and ROCm release set in nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/release-cuda.nix)

Built on `nixos-unstable-small` for `x86_64-linux`:
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ nav:
- continuous-integration.md
- Faster GitHub Actions: namespace-actions.md
- package-sets.md
- CUDA: cuda.md
- cache.md
- community-builder.md
- R. RyanTM nixpkgs-update bot: update-bot.md
Expand Down

0 comments on commit cdf1b57

Please sign in to comment.