Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add cuda #1575

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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