Skip to content

Commit

Permalink
Fix CUDA trove classifiers & update README install instructions (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham authored Feb 7, 2024
1 parent e29ebc7 commit f802bdb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,32 @@ cuCIM supports the following formats:

#### [Conda (stable)](https://anaconda.org/rapidsai/cucim)

> conda create -n cucim -c rapidsai -c conda-forge cucim cudatoolkit=`<CUDA version>`
```bash
conda create -n cucim -c rapidsai -c conda-forge cucim cuda-version=`<CUDA version>`
```

`<CUDA version>` should be 11.0+ (e.g., `11.0`, `11.2`, etc.)
`<CUDA version>` should be 11.2+ (e.g., `11.2`, `12.0`, etc.)

#### [Conda (nightlies)](https://anaconda.org/rapidsai-nightly/cucim)

> conda create -n cucim -c rapidsai-nightly -c conda-forge cucim cudatoolkit=`<CUDA version>`
```bash
conda create -n cucim -c rapidsai-nightly -c conda-forge cucim cuda-version=`<CUDA version>`
```

`<CUDA version>` should be 11.0+ (e.g., `11.0`, `11.2`, etc)
`<CUDA version>` should be 11.2+ (e.g., `11.2`, `12.0`, etc.)

### [PyPI](https://pypi.org/project/cucim/)

Install for CUDA 12:

```bash
pip install cucim
pip install cucim-cu12
```

# Install dependencies for `cucim.skimage` (assuming that CUDA 11.0 is used for CuPy)
pip install scipy scikit-image cupy-cuda110
Alternatively install for CUDA 11:

```bash
pip install cucim-cu11
```

### Notebooks
Expand Down
10 changes: 3 additions & 7 deletions python/cucim/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ authors = [
{ name = "NVIDIA Corporation" },
]
license = { text = "Apache 2.0" }
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"cupy-cuda11x>=12.0.0",
"lazy_loader>=0.1",
Expand All @@ -39,16 +39,12 @@ classifiers = [
"Topic :: Scientific/Engineering",
"Operating System :: POSIX :: Linux",
"Environment :: Console",
"Environment :: GPU :: NVIDIA CUDA :: 11.0",
"Environment :: GPU :: NVIDIA CUDA :: 12.0",
"Environment :: GPU :: NVIDIA CUDA :: 11",
"Environment :: GPU :: NVIDIA CUDA :: 12",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: C++",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]

[project.urls]
Expand Down

0 comments on commit f802bdb

Please sign in to comment.