Skip to content

Commit d480043

Browse files
committed
docker note
1 parent f7cb735 commit d480043

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ extension.
1717
pip install torchsort
1818
```
1919

20+
To build the CUDA extension you will need the CUDA toolchain installed. If you
21+
want to build in an environment without a CUDA runtime (e.g. docker), you will
22+
need to export the environment variable
23+
`TORCH_CUDA_ARCH_LIST="Pascal;Volta;Turing"` before installing.
24+
2025
## Usage
2126

2227
`torchsort` exposes two functions: `soft_rank` and `soft_sort`, each with

0 commit comments

Comments
 (0)