Skip to content

Commit

Permalink
docker note
Browse files Browse the repository at this point in the history
  • Loading branch information
teddykoker committed Mar 24, 2021
1 parent f7cb735 commit d480043
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ extension.
pip install torchsort
```

To build the CUDA extension you will need the CUDA toolchain installed. If you
want to build in an environment without a CUDA runtime (e.g. docker), you will
need to export the environment variable
`TORCH_CUDA_ARCH_LIST="Pascal;Volta;Turing"` before installing.

## Usage

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

0 comments on commit d480043

Please sign in to comment.