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

Fix CUDA trove classifiers & update README install instructions #695

Merged
merged 7 commits into from
Feb 7, 2024
Merged
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
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",
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
"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
Loading