Skip to content

Commit 5763963

Browse files
authored
0.5.1 Final Release tasks (#787)
* Update changelog * Update conda environments/recipes to cudf 0.19 * Update examples notebooks and docker compose files to reference the 0.5.1 docker containers * Remove 'source activate merlin' from example notebooks/ READMES
1 parent 1a8f0ab commit 5763963

File tree

14 files changed

+127
-79
lines changed

14 files changed

+127
-79
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# NVTabular v0.5.1 (4 May 2021)
2+
3+
## Improvements
4+
5+
* Update dependencies to use cudf 0.19
6+
* Removed conda from docker containers, leading to much smaller container sizes
7+
* Added CUDA 11.2 support
8+
* Added FastAI v2.3 support
9+
10+
## Bug Fixes
11+
12+
* Fix NVTabular preprocessing with HugeCTR inference
13+
114
# NVTabular v0.5.0 (13 April 2021)
215

316
## Improvements

conda/environments/nvtabular_dev_cuda10.1.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: nvtabular_dev_10.1
22
channels:
33
- rapidsai
44
- nvidia
5+
- rapidsai-nightly
56
- fastai
67
- pytorch
78
- conda-forge
@@ -10,15 +11,15 @@ dependencies:
1011
- clang=8.0.1
1112
- clang-tools=8.0.1
1213
- cupy>=7.2.0,<9.0.0a
13-
- cudf>=0.18.*
14-
- dask-cudf>=0.18.*
15-
- dask-cuda>=0.18.*
16-
- rmm>=0.18.*
14+
- cudf>=0.19.*
15+
- dask-cudf>=0.19.*
16+
- dask-cuda>=0.19.*
17+
- rmm>=0.19.*
1718
- cmake>=3.12
1819
- cmake_setuptools>=0.1.3
1920
- python>=3.7
20-
- numba>=0.49.0,!=0.51.0
21-
- pandas>=1.0,<1.2.0dev0
21+
- numba>=0.49.0
22+
- pandas>=1.0,<=1.2.4
2223
- pyarrow=1.0.1
2324
- fastavro>=0.22.9
2425
- notebook>=0.5.0
@@ -42,8 +43,8 @@ dependencies:
4243
- black
4344
- isort
4445
- pre_commit
45-
- dask>=2.22.0
46-
- distributed>=2.22.0
46+
- dask==2021.4.0
47+
- distributed>=2.22.0,<=2021.4.0
4748
- streamz
4849
- dlpack
4950
- arrow-cpp=1.0.1

conda/environments/nvtabular_dev_cuda10.2.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: nvtabular_dev_10.2
22
channels:
33
- rapidsai
44
- nvidia
5+
- rapidsai-nightly
56
- fastai
67
- pytorch
78
- conda-forge
@@ -10,15 +11,15 @@ dependencies:
1011
- clang=8.0.1
1112
- clang-tools=8.0.1
1213
- cupy>=7.2.0,<9.0.0a
13-
- cudf>=0.18.*
14-
- dask-cudf>=0.18.*
15-
- dask-cuda>=0.18.*
16-
- rmm>=0.18.*
14+
- cudf>=0.19.*
15+
- dask-cudf>=0.19.*
16+
- dask-cuda>=0.19.*
17+
- rmm>=0.19.*
1718
- cmake>=3.12
1819
- cmake_setuptools>=0.1.3
1920
- python>=3.7
20-
- numba>=0.49.0,!=0.51.0
21-
- pandas>=1.0,<1.2.0dev0
21+
- numba>=0.49.0
22+
- pandas>=1.0,<=1.2.4
2223
- pyarrow=1.0.1
2324
- fastavro>=0.22.9
2425
- notebook>=0.5.0
@@ -42,8 +43,8 @@ dependencies:
4243
- black
4344
- isort
4445
- pre_commit
45-
- dask>=2.22.0
46-
- distributed>=2.22.0
46+
- dask==2021.4.0
47+
- distributed>=2.22.0,<=2021.4.0
4748
- streamz
4849
- dlpack
4950
- arrow-cpp=1.0.1

conda/environments/nvtabular_dev_cuda11.0.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: nvtabular_dev_11.0
22
channels:
33
- rapidsai
44
- nvidia
5+
- rapidsai-nightly
56
- fastai
67
- pytorch
78
- conda-forge
@@ -10,15 +11,15 @@ dependencies:
1011
- clang=8.0.1
1112
- clang-tools=8.0.1
1213
- cupy>=7.2.0,<9.0.0a
13-
- cudf>=0.18.*
14-
- dask-cudf>=0.18.*
15-
- dask-cuda>=0.18.*
16-
- rmm>=0.18.*
14+
- cudf>=0.19.*
15+
- dask-cudf>=0.19.*
16+
- dask-cuda>=0.19.*
17+
- rmm>=0.19.*
1718
- cmake>=3.12
1819
- cmake_setuptools>=0.1.3
1920
- python>=3.7
20-
- numba>=0.49.0,!=0.51.0
21-
- pandas>=1.0,<1.2.0dev0
21+
- numba>=0.49.0
22+
- pandas>=1.0,<=1.2.4
2223
- pyarrow=1.0.1
2324
- fastavro>=0.22.9
2425
- notebook>=0.5.0
@@ -42,8 +43,8 @@ dependencies:
4243
- black
4344
- isort
4445
- pre_commit
45-
- dask>=2.22.0
46-
- distributed>=2.22.0
46+
- dask==2021.4.0
47+
- distributed>=2.22.0,<=2021.4.0
4748
- streamz
4849
- dlpack
4950
- arrow-cpp=1.0.1
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: nvtabular_dev_11.2
2+
channels:
3+
- rapidsai
4+
- nvidia
5+
- rapidsai-nightly
6+
- fastai
7+
- pytorch
8+
- conda-forge
9+
- defaults
10+
dependencies:
11+
- clang=8.0.1
12+
- clang-tools=8.0.1
13+
- cupy>=7.2.0,<9.0.0a
14+
- cudf>=0.19.*
15+
- dask-cudf>=0.19.*
16+
- dask-cuda>=0.19.*
17+
- rmm>=0.19.*
18+
- cmake>=3.12
19+
- cmake_setuptools>=0.1.3
20+
- python>=3.7
21+
- numba>=0.49.0,!=0.51.0
22+
- pandas>=1.0,<1.3.0dev0
23+
- pyarrow=1.0.1
24+
- fastavro>=0.22.9
25+
- notebook>=0.5.0
26+
- nvtx>=0.2.1
27+
- cython>=0.29,<0.30
28+
- fsspec>=0.6.0
29+
- scikit-learn
30+
- pytest
31+
- sphinx
32+
- sphinx_rtd_theme
33+
- sphinxcontrib-websupport
34+
- nbsphinx
35+
- numpydoc
36+
- ipython
37+
- recommonmark
38+
- pandoc=<2.0.0
39+
- cudatoolkit=11.2
40+
- pip
41+
- partd
42+
- flake8
43+
- black
44+
- isort
45+
- pre_commit
46+
- dask==2021.4.0
47+
- distributed>=2.22.0,<=2021.4.0
48+
- streamz
49+
- dlpack
50+
- arrow-cpp=1.0.1
51+
- boost-cpp
52+
- double-conversion
53+
- rapidjson
54+
- flatbuffers
55+
- hypothesis
56+
- pytorch
57+
- fastai
58+
- pip:
59+
- tensorflow-gpu
60+
- graphviz
61+
- sphinx-markdown-tables
62+
- git+https://github.com/dask/dask.git
63+
- git+https://github.com/dask/distributed.git
64+
- git+https://github.com/python-streamz/streamz.git

conda/recipes/meta.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ requirements:
2525
build:
2626
- python x.x
2727
- setuptools
28-
- cudf>=0.18.0
28+
- cudf>=0.19.0
2929
run:
3030
- python>=3.7.0
31-
- cudf>=0.18.0
32-
- dask-cudf>=0.18.0
31+
- cudf>=0.19.0
32+
- dask-cudf>=0.19.0
3333
- cupy>=7.2.0,<9.0.0a
34-
- dask>=2.22.0
35-
- distributed>=2.22.0
34+
- dask==2021.4.0
35+
- distributed>=2.22.0,<=2021.4.0
3636
- PyYAML>=5.3
3737
- nvtx>=0.2.1
3838

docs/source/training/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ For additional information, see our latest `blog post
1313
.. toctree::
1414
:maxdepth: 2
1515

16-
Tensorflow <tensorflow>
16+
TensorFlow <tensorflow>
1717
PyTorch <pytorch>
1818
HugeCTR <hugectr>

examples/README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,28 +63,18 @@ To run the example notebooks using Docker containers, do the following:
6363
root@2efa5b50b909:
6464
```
6565

66-
2. Activate the ```merlin``` conda environment by running the following command:
67-
```
68-
root@2efa5b50b909: source activate merlin
69-
```
70-
71-
You should receive the following response, which indicates that the environment has been activated:
72-
```
73-
(merlin)root@2efa5b50b909:
74-
```
75-
76-
3. Install jupyter-lab with `conda` or `pip` by running the following command:
66+
2. Install jupyter-lab with `conda` or `pip` by running the following command:
7767
```
7868
pip install jupyterlab
7969
```
8070

8171
For more information, see [Installation Guide](https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html).
8272

83-
4. Start the jupyter-lab server by running the following command:
73+
3. Start the jupyter-lab server by running the following command:
8474
```
8575
jupyter-lab --allow-root --ip='0.0.0.0' --NotebookApp.token='<password>'
8676
```
8777

88-
5. Open any browser to access the jupyter-lab server using <MachineIP>:8888.
78+
4. Open any browser to access the jupyter-lab server using <MachineIP>:8888.
8979

90-
6. Once in the server, navigate to the ```/nvtabular/``` directory and try out the examples.
80+
5. Once in the server, navigate to the ```/nvtabular/``` directory and try out the examples.

examples/getting-started-movielens/04a-Triton-Inference-with-TF.ipynb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,8 @@
6262
"metadata": {},
6363
"source": [
6464
"```\n",
65-
"docker run -it --gpus device=0 -p 8000:8000 -p 8001:8001 -p 8002:8002 -v ${PWD}:/model/ nvcr.io/nvidia/merlin/merlin-inference:0.5\n",
66-
"```\n",
67-
"\n",
68-
"Once the container launches, activate the `merlin` environment:\n",
69-
"```\n",
70-
"source activate merlin\n",
71-
"```"
65+
"docker run -it --gpus device=0 -p 8000:8000 -p 8001:8001 -p 8002:8002 -v ${PWD}:/model/ nvcr.io/nvidia/merlin/merlin-inference:0.5.1\n",
66+
"```\n"
7267
]
7368
},
7469
{

examples/getting-started-movielens/inference-HugeCTR/README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,6 @@ The container will open a shell when the run command execution is completed. You
3333
root@2efa5b50b909:
3434
```
3535

36-
Activate the merlin conda environment by running the following command:
37-
```
38-
root@2efa5b50b909: source activate merlin
39-
```
40-
You should receive the following response, indicating that the environment has been activated:
41-
42-
```
43-
(merlin)root@2efa5b50b909:
44-
```
45-
4636
1) Start the jupyter-lab server by running the following command. In case the container does not have `JupyterLab`, you can easily [install](https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html) it either using conda or pip.
4737
```
4838
jupyter-lab --allow-root --ip='0.0.0.0' --NotebookApp.token='<password>'
@@ -79,11 +69,6 @@ The container will open a shell when the run command execution is completed. It
7969
root@02d56ff0738f:/opt/tritonserver#
8070
```
8171

82-
Activate the merlin conda environment by running the following command:
83-
```
84-
root@02d56ff0738f:/opt/tritonserver# source activate merlin
85-
```
86-
8772
3) Your saved model should be in the `/model` directory. Navigate to the `model` working directory inside the triton server container to check the saved models:
8873
```
8974
cd /model

0 commit comments

Comments
 (0)