Skip to content

Commit

Permalink
encourage use of rapidsai/notebooks for some examples (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Jun 4, 2024
1 parent 0cc7f5c commit 8bd5b05
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ The RAPIDS versions for things like container images and install instructions ar
```python
versions = {
"stable": {
"rapids_container": "nvcr.io/nvidia/rapidsai/rapidsai-core:23.02-cuda11.8-runtime-ubuntu22.04-py3.10",
"rapids_container": "nvcr.io/nvidia/rapidsai/base:24.04-cuda11.8-py3.10",
},
"nightly": {
"rapids_container": "rapidsai/rapidsai-core-nightly:23.04-cuda11.8-runtime-ubuntu22.04-py3.10",
"rapids_container": "rapidsai/base:24.06a-cuda11.8-py3.10",
},
}
```
Expand Down
4 changes: 2 additions & 2 deletions source/_includes/install-rapids-with-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Then copy the commands shown:
docker pull {{ rapids_container }}
docker run --gpus all --rm -it \
--shm-size=1g --ulimit memlock=-1 \
-p 8888:8888 -p 8787:8787 -p 8786:8786 \
{{ rapids_container }}
-p 8888:80 -p 8787:8787 -p 8786:8786 \
{{ rapids_notebooks_container }}
```

```{note}
Expand Down
7 changes: 4 additions & 3 deletions source/_includes/test-rapids-docker-vm.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
In the terminal we can open `ipython` and check that we can import and use RAPIDS libraries like `cudf`.
To access Jupyter, navigate to `<VM ip>:8888` in the browser.

In a Python notebook, check that you can import and use RAPIDS libraries like `cudf`.

```ipython
In [1]: import cudf
Expand All @@ -14,7 +16,6 @@ timestamp
2000-01-01 00:00:04 998 Quinn 0.651381 -0.525398
```

You can also access Jupyter via `<VM ip>:8888` in the browser.
Visit `cudf/10-min.ipynb` and execute the cells to try things out.
Open `cudf/10min.ipynb` and execute the cells to explore more of how `cudf` works.

When running a Dask cluster you can also visit `<VM ip>:8787` to monitor the Dask cluster status.
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@
"In order to steam the container image to the GKE nodes our image needs to be stored in [Google Cloud Artifact Registry](https://cloud.google.com/artifact-registry/) in the same region as our cluster.\n",
"\n",
"```console\n",
"$ docker pull rapidsai/rapidsai-core:23.02-cuda11.8-runtime-ubuntu22.04-py3.10\n",
"$ docker pull rapidsai/base:24.04-cuda11.8-py3.10\n",
"\n",
"$ docker tag rapidsai/rapidsai-core:23.02-cuda11.8-runtime-ubuntu22.04-py3.10 REGION-docker.pkg.dev/PROJECT/REPO/IMAGE:TAG\n",
"$ docker tag rapidsai/base:24.04-cuda11.8-py3.10 REGION-docker.pkg.dev/PROJECT/REPO/IMAGE:TAG\n",
"\n",
"$ docker push REGION-docker.pkg.dev/PROJECT/REPO/IMAGE:TAG\n",
"```\n",
Expand Down

0 comments on commit 8bd5b05

Please sign in to comment.