Skip to content

Commit b449a98

Browse files
authored
Merge pull request #18 from rapidsai/branch-0.19
[RELEASE] v0.19 cucim
2 parents 048d53e + bb843bf commit b449a98

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+726
-1136
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#cpp code owners
2-
cpp/ @rapidsai/<repo>-cpp-codeowners
2+
cpp/ @rapidsai/cucim-cpp-codeowners
3+
python/pybind11 @rapidsai/cucim-cpp-codeowners
34

45
#python code owners
5-
python/ @rapidsai/<repo>-python-codeowners
6-
python/dask_cudf/ @rapidsai/<repo>-dask-codeowners
6+
python/ @rapidsai/cucim-python-codeowners
77

88
#cmake code owners
9-
**/CMakeLists.txt @rapidsai/<repo>-cmake-codeowners
10-
**/cmake/ @rapidsai/<repo>-cmake-codeowners
9+
**/CMakeLists.txt @rapidsai/cucim-cmake-codeowners
10+
**/cmake/ @rapidsai/cucim-cmake-codeowners
1111

1212
#build/ops code owners
1313
.github/ @rapidsai/ops-codeowners

3rdparty/LICENSE.cuda

Lines changed: 52 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
End User License Agreement
22
--------------------------
33

4+
The CUDA Toolkit End User License Agreement applies to the
5+
NVIDIA CUDA Toolkit, the NVIDIA CUDA Samples, the NVIDIA
6+
Display Driver, NVIDIA Nsight tools (Visual Studio Edition),
7+
and the associated documentation on CUDA APIs, programming
8+
model and development tools. If you do not agree with the
9+
terms and conditions of the license agreement, then do not
10+
download or use the software.
11+
12+
Last updated: Mar 24, 2021.
13+
414

515
Preface
616
-------
@@ -99,10 +109,6 @@ Windows platform:
99109
---------------------------------------------------------
100110

101111

102-
Release Date: May 21, 2019
103-
--------------------------
104-
105-
106112
Important Notice—Read before downloading, installing,
107113
copying or using the licensed software:
108114
-------------------------------------------------------
@@ -257,6 +263,11 @@ terms, the terms of this Agreement. Copyright to third party
257263
software is held by the copyright holders indicated in the
258264
third-party software or license.
259265

266+
Subject to the other terms of this Agreement, you may use the
267+
SDK to develop and test applications released under Open
268+
Source Initiative (OSI) approved open source software
269+
licenses.
270+
260271

261272
1.1.7. Reservation of Rights
262273

@@ -304,12 +315,12 @@ SDK:
304315
application where the use or failure of the system or
305316
application can reasonably be expected to threaten or
306317
result in personal injury, death, or catastrophic loss.
307-
Examples include use in nuclear, avionics, navigation,
308-
military, medical, life support or other life critical
309-
applications. NVIDIA does not design, test or manufacture
310-
the SDK for these critical uses and NVIDIA shall not be
311-
liable to you or any third party, in whole or in part, for
312-
any claims or damages arising from such uses.
318+
Examples include use in avionics, navigation, military,
319+
medical, life support or other life critical applications.
320+
NVIDIA does not design, test or manufacture the SDK for
321+
these critical uses and NVIDIA shall not be liable to you
322+
or any third party, in whole or in part, for any claims or
323+
damages arising from such uses.
313324

314325
7. You agree to defend, indemnify and hold harmless NVIDIA
315326
and its affiliates, and their respective employees,
@@ -328,8 +339,8 @@ SDK:
328339
1. NVIDIA or its licensors hold all rights, title and
329340
interest in and to the SDK and its modifications and
330341
derivative works, including their respective intellectual
331-
property rights, subject to your rights described here .
332-
This SDK may include software and materials from
342+
property rights, subject to your rights under Section
343+
1.3.2. This SDK may include software and materials from
333344
NVIDIA’s licensors, and these licensors are intended
334345
third party beneficiaries that may enforce this Agreement
335346
with respect to their intellectual property rights.
@@ -338,7 +349,7 @@ SDK:
338349
applications and your derivative works of the sample
339350
source code delivered in the SDK, including their
340351
respective intellectual property rights, subject to
341-
NVIDIA’s rights described here .
352+
NVIDIA’s rights under Section 1.3.1.
342353

343354
3. You may, but don’t have to, provide to NVIDIA
344355
suggestions, feature requests or other feedback regarding
@@ -519,10 +530,6 @@ parties.
519530
NVIDIA Software Development Kits
520531
------------------------------------------------------------
521532

522-
523-
Release date: August 16, 2018
524-
-----------------------------
525-
526533
The terms in this supplement govern your use of the NVIDIA
527534
CUDA Toolkit SDK under the terms of your license agreement
528535
(“Agreement”) as modified by this supplement. Capitalized
@@ -582,8 +589,12 @@ [email protected].
582589

583590
2.6. Attachment A
584591

585-
The following portions of the SDK are distributable under the
586-
Agreement:
592+
The following CUDA Toolkit files may be distributed with
593+
Licensee Applications developed by you, including certain
594+
variations of these files that have version number or
595+
architecture specific information embedded in the file name -
596+
as an example only, for release version 9.0 of the 64-bit
597+
Windows software, the file cudart64_90.dll is redistributable.
587598

588599
Component
589600

@@ -729,26 +740,6 @@ libcurand.so, libcurand_static.a
729740

730741
Component
731742

732-
CUDA Accelerated Graph Library
733-
734-
Windows
735-
736-
nvgraph.dll, nvgraph.lib
737-
738-
Mac OSX
739-
740-
libnvgraph.dylib, libnvgraph_static.a
741-
742-
Linux
743-
744-
libnvgraph.so, libnvgraph_static.a
745-
746-
Android
747-
748-
libnvgraph.so, libnvgraph_static.a
749-
750-
Component
751-
752743
NVIDIA Performance Primitives Library
753744

754745
Windows
@@ -814,7 +805,11 @@ libculibos.a
814805

815806
Component
816807

817-
NVIDIA Runtime Compilation Library
808+
NVIDIA Runtime Compilation Library and Header
809+
810+
All
811+
812+
nvrtc.h
818813

819814
Windows
820815

@@ -914,8 +909,20 @@ NVIDIA CUDA Driver Libraries
914909

915910
Linux
916911

917-
libcuda.so, libnvidia-fatbinaryloader.so,
918-
libnvidia-ptxjitcompiler.so
912+
libcuda.so, libnvidia-ptxjitcompiler.so
913+
914+
Component
915+
916+
NVIDIA CUDA File IO Libraries and Header
917+
918+
All
919+
920+
cufile.h
921+
922+
Linux
923+
924+
libcufile.so, libcufile_rdma.so, libcufile_static.a,
925+
libcufile_rdma_static.a
919926

920927
The NVIDIA CUDA Driver Libraries are only distributable in
921928
applications that meet this criteria:
@@ -1062,8 +1069,9 @@ conditions:
10621069
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
10631070
DEALINGS WITH THE SOFTWARE.
10641071

1065-
5. Licensee's use of the PCRE third party component is
1066-
subject to the following terms and conditions:
1072+
5. Licensee's use (e.g. nvprof) of the PCRE third party
1073+
component is subject to the following terms and
1074+
conditions:
10671075

10681076
------------
10691077
PCRE LICENCE

CHANGELOG.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
# ___PROJECT___ 0.0.0 (DD Mon YYYY)
1+
# cuCIM 0.19.0 (15 Apr 2021)
22

3-
## New Features
4-
5-
- ...
6-
7-
## Improvements
8-
9-
- ...
10-
11-
## Bug Fixes
12-
13-
- ...
3+
Initial release of cuCIM including cuClaraImage and [cupyimg](https://github.com/mritools/cupyimg).

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2020, NVIDIA CORPORATION.
2+
# Copyright (c) 2020-2021, NVIDIA CORPORATION.
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
@@ -120,11 +120,9 @@ superbuild_depend(abseil)
120120
superbuild_depend(rmm) # this imports googletest internally
121121
#superbuild_depend(googletest)
122122
superbuild_depend(googlebenchmark)
123-
#superbuild_depend(gds)
124123
superbuild_depend(openslide)
125124
superbuild_depend(catch2)
126125
superbuild_depend(cli11)
127-
superbuild_depend(pybind11)
128126
superbuild_depend(json)
129127

130128
################################################################################

LICENSE-3rdparty.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,11 @@ DLPack
8383
- https://github.com/dmlc/dlpack/blob/main/LICENSE
8484
- Copyright: DLPack Contributors
8585

86-
NVIDIA CUDA TOOLKIT
86+
NVIDIA CUDA TOOLKIT (including libcufile)
8787
- License: NVIDIA License
8888
- https://docs.nvidia.com/cuda/pdf/EULA.pdf
8989
- Copyright: NVIDIA Corporation
9090

91-
NVIDIA cufile (GDS)
92-
- License: NVIDIA License
93-
- TBD
94-
- Copyright: NVIDIA Corporation
95-
9691
RAPIDS RMM
9792
- License: Apache-2.0 License
9893
- https://github.com/rapidsai/rmm/blob/branch-0.17/LICENSE

README.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,48 @@
55

66
**NOTE:** For the latest stable [README.md](https://github.com/rapidsai/cucim/blob/main/README.md) ensure you are on the `main` branch.
77

8+
- [GTC 2021 cuCIM: A GPU Image I/O and Processing Toolkit [S32194]](https://www.nvidia.com/en-us/gtc/catalog/?search=cuCIM#/)
9+
- [video](https://gtc21.event.nvidia.com/media/cuCIM%3A%20A%20GPU%20Image%20I_O%20and%20Processing%20Toolkit%20%5BS32194%5D/1_fwfxd0iu)
10+
811
## Install cuCIM
912

1013
### Conda
1114

1215
#### Conda (stable)
1316

14-
> conda create -n cucim -c rapidsai -c conda-forge/label/cupy_rc cucim
17+
> conda create -n cucim -c rapidsai -c conda-forge/label/cupy_rc -c conda-forge cucim cudatoolkit=`<CUDA version>`
18+
19+
`<CUDA version>` should be 11.0+ (e.g., `11.0`, `11.2`, etc.)
20+
21+
**NOTE:** The first cuCIM conda package (v0.19.0) would be available on 4/19/2021.
1522

1623
#### Conda (nightlies)
1724

18-
> conda create -n cucim -c rapidsai-nightly -c conda-forge/label/cupy_rc cucim
25+
> conda create -n cucim -c rapidsai-nightly -c conda-forge/label/cupy_rc -c conda-forge cucim cudatoolkit=`<CUDA version>`
26+
27+
`<CUDA version>` should be 11.0+ (e.g., `11.0`, `11.2`, etc)
28+
29+
### Notebooks
30+
31+
Please check out our [Welcome](notebooks/Welcome.ipynb) notebook.
32+
33+
#### Downloading sample images
34+
35+
To download images used in the notebooks, please execute the following commands from the repository root folder to copy sample input images into `notebooks/input` folder:
36+
37+
(You will need [Docker](https://www.docker.com/) installed in your system)
38+
39+
```bash
40+
./run download_testdata
41+
```
42+
or
43+
44+
```bash
45+
mkdir -p notebooks/input
46+
tmp_id=$(docker create gigony/svs-testdata:little-big)
47+
docker cp $tmp_id:/input notebooks
48+
docker rm -v ${tmp_id}
49+
```
1950

2051
## Build/Install from Source
2152
See build [instructions](CONTRIBUTING.md#setting-up-your-build-environment).

ci/cpu/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ if [ "$BUILD_LIBCUCIM" == 1 ]; then
8989
fi
9090

9191
if [ "$BUILD_CUCIM" == 1 ]; then
92-
gpuci_conda_retry build -c conda-forge/label/cupy_rc -c conda-forge -c rapidsai-nightly \
92+
# Set libcucim conda build folder for CPU build
93+
export LIBCUCIM_BLD_PATH=${WORKSPACE}/ci/artifacts/cucim/cpu/.conda-bld
94+
95+
gpuci_conda_retry build -c ${LIBCUCIM_BLD_PATH} -c conda-forge/label/cupy_rc -c conda-forge -c rapidsai-nightly \
9396
--python=${PYTHON_VER} \
9497
--dirty \
9598
--no-remove-work-dir \

ci/docs/build.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,18 @@ nvidia-smi
2525

2626
gpuci_logger "Activate conda env"
2727
. /opt/conda/etc/profile.d/conda.sh
28-
conda activate rapids
29-
# TODO: Move installs to docs-build-env meta package
30-
gpuci_conda_retry install -c anaconda markdown beautifulsoup4 jq
31-
pip install sphinx-markdown-tables
28+
29+
gpuci_logger "Installing cuCIM / Deps / Docs into new env"
30+
gpuci_conda_retry create -n cucim -y -c conda-forge -c conda-forge/label/cupy_rc -c rapidsai-nightly \
31+
rapids-doc-env \
32+
python=3.8 \
33+
conda-forge/label/cupy_rc::cupy=9 \
34+
cudatoolkit=11.2 \
35+
scikit-image=0.18.1 \
36+
cucim
37+
38+
conda activate cucim
39+
3240

3341
gpuci_logger "Check versions"
3442
python --version

conda/environments/env.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ dependencies:
2323
- gcc_linux-64=9
2424
- compilers
2525
- click
26+
- yasm # [x86_64]

conda/recipes/libcucim/meta.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ requirements:
2020
build:
2121
- cmake >=3.18.0
2222
- {{ compiler("cxx") }}
23+
- yasm # [x86_64]
2324
host:
2425
- cudatoolkit {{ cuda_version }}.*
2526
- openslide

0 commit comments

Comments
 (0)