Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit 01a0e2f

Browse files
committed
Fixup CUDA minver/maxver in Nix and docs
1 parent b3a961b commit 01a0e2f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/writing-kernels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ depends = [ "torch" ]
101101

102102
### `general.cuda`
103103

104-
- `cuda-maxver`: the maximum CUDA toolkit version (inclusive). This option
104+
- `maxver`: the maximum CUDA toolkit version (inclusive). This option
105105
_must not_ be set under normal circumstances, since it can exclude Torch
106106
build variants that are [required for compliant kernels](https://github.com/huggingface/kernels/blob/main/docs/kernel-requirements.md).
107107
This option is provided for kernels that cause compiler errors on
108108
newer CUDA toolkit versions.
109-
- `cuda-minver`: the minimum required CUDA toolkit version. This option
109+
- `minver`: the minimum required CUDA toolkit version. This option
110110
_must not_ be set under normal circumstances, since it can exclude Torch
111111
build variants that are [required for compliant kernels](https://github.com/huggingface/kernels/blob/main/docs/kernel-requirements.md).
112112
This option is provided for kernels that require functionality only

lib/build.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ rec {
7676
buildToml: buildSets:
7777
let
7878
backends' = backends buildToml;
79-
minCuda = buildToml.general.cuda.cuda-minver or "11.8";
80-
maxCuda = buildToml.general.cuda.cuda-maxver or "99.9";
79+
minCuda = buildToml.general.cuda.minver or "11.8";
80+
maxCuda = buildToml.general.cuda.maxver or "99.9";
8181
minTorch = buildToml.torch.minver or "2.0";
8282
maxTorch = buildToml.torch.maxver or "99.9";
8383
versionBetween =

0 commit comments

Comments
 (0)