rapidsai-community / notebooks-contrib

RAPIDS Community Notebooks
Apache License 2.0
513 stars 267 forks source link

[QST] Jupyter Notebook CUDA 11.5 Runtime #366

Closed antikilahdjs closed 1 year ago

antikilahdjs commented 1 year ago

Hello everyone,

I am trying use the Notebook Runtime Image nvcr.io/nvidia/rapidsai/rapidsai-core:23.02-cuda11.5-runtime-ubuntu20.04-py3.10 and I tried use the rapidsai/rapidsai:cuda11.5-runtime-ubuntu20.04-py3.10 but I got the same error as screenshot below.

image

Somebody can help and guide me what am doing wrong? I am using the SingleUser in Jupyter because I have more than 3 environment.

I have this logs in my container.

`

his container image and its contents are governed by the NVIDIA Deep Learning Container License.

y pulling and using the container, you accept the terms and conditions of this license:

ttps://developer.download.nvidia.com/licenses/NVIDIA_Deep_Learning_Container_License.pdf

I 2023-03-01 18:11:24.669 ServerApp] Package jupyterlab took 0.0000s to import

I 2023-03-01 18:11:24.977 ServerApp] Package dask_labextension took 0.3079s to import

W 2023-03-01 18:11:24.977 ServerApp] A `_jupyter_server_extension_points` function was not found in dask_labextension. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.

I 2023-03-01 18:11:24.979 ServerApp] Package jupyter_server_fileid took 0.0015s to import

I 2023-03-01 18:11:24.979 ServerApp] Package jupyter_server_proxy took 0.0000s to import

I 2023-03-01 18:11:24.982 ServerApp] Package jupyter_server_terminals took 0.0026s to import

I 2023-03-01 18:11:24.995 ServerApp] Package jupyter_server_ydoc took 0.0132s to import

I 2023-03-01 18:11:24.996 ServerApp] Package jupyterlab_nvdashboard took 0.0002s to import

I 2023-03-01 18:11:24.996 ServerApp] Package nbclassic took 0.0000s to import

W 2023-03-01 18:11:24.997 ServerApp] A `_jupyter_server_extension_points` function was not found in nbclassic. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.

I 2023-03-01 18:11:24.998 ServerApp] Package notebook_shim took 0.0000s to import

W 2023-03-01 18:11:24.998 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.

I 2023-03-01 18:11:25.924 ServerApp] Package panel.io.jupyter_server_extension took 0.9261s to import

I 2023-03-01 18:11:25.924 ServerApp] dask_labextension | extension was successfully linked.

I 2023-03-01 18:11:25.928 ServerApp] jupyter_server_fileid | extension was successfully linked.

I 2023-03-01 18:11:25.928 ServerApp] jupyter_server_proxy | extension was successfully linked.

I 2023-03-01 18:11:25.931 ServerApp] jupyter_server_terminals | extension was successfully linked.

I 2023-03-01 18:11:25.937 ServerApp] jupyter_server_ydoc | extension was successfully linked.

W 2023-03-01 18:11:25.939 LabApp] 'token' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.

W 2023-03-01 18:11:25.939 LabApp] 'allow_origin' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.

W 2023-03-01 18:11:25.939 LabApp] 'base_url' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.

W 2023-03-01 18:11:25.941 ServerApp] ServerApp.token config is deprecated in 2.0. Use IdentityProvider.token.

I 2023-03-01 18:11:25.941 ServerApp] jupyterlab | extension was successfully linked.

I 2023-03-01 18:11:25.941 ServerApp] jupyterlab_nvdashboard | extension was successfully linked.

I 2023-03-01 18:11:25.944 ServerApp] nbclassic | extension was successfully linked.

I 2023-03-01 18:11:25.945 ServerApp] Writing Jupyter server cookie secret to /root/.local/share/jupyter/runtime/jupyter_cookie_secret

I 2023-03-01 18:11:25.948 ServerApp] notebook_shim | extension was successfully linked.

I 2023-03-01 18:11:25.948 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.

W 2023-03-01 18:11:26.009 ServerApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.

I 2023-03-01 18:11:26.009 ServerApp] notebook_shim | extension was successfully loaded.

I 2023-03-01 18:11:26.010 ServerApp] dask_labextension | extension was successfully loaded.

I 2023-03-01 18:11:26.010 FileIdExtension] Configured File ID manager: ArbitraryFileIdManager

I 2023-03-01 18:11:26.010 FileIdExtension] ArbitraryFileIdManager : Configured root dir: /rapids/notebooks

I 2023-03-01 18:11:26.010 FileIdExtension] ArbitraryFileIdManager : Configured database path: /root/.local/share/jupyter/file_id_manager.db

I 2023-03-01 18:11:26.011 FileIdExtension] ArbitraryFileIdManager : Successfully connected to database file.

I 2023-03-01 18:11:26.011 FileIdExtension] ArbitraryFileIdManager : Creating File ID tables and indices.

I 2023-03-01 18:11:26.014 FileIdExtension] Attached event listeners.

I 2023-03-01 18:11:26.014 ServerApp] jupyter_server_fileid | extension was successfully loaded.

W 2023-03-01 18:11:26.138 ServerApp] jupyter_server_proxy | extension failed loading with message: DistributionNotFound(Requirement.parse('webcolors>=1.11; extra == "format-nongpl"'), {'jsonschema'})

    Traceback (most recent call last):

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 356, in load_extension

        extension.load_all_points(self.serverapp)

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 228, in load_all_points

        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 228, in <listcomp>

        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 219, in load_point

        return point.load(serverapp)

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 147, in load

        return loader(serverapp)

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server_proxy/__init__.py", line 30, in _load_jupyter_server_extension

        server_processes += get_entrypoint_server_processes(serverproxy_config)

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server_proxy/config.py", line 83, in get_entrypoint_server_processes

        server_process_config = entry_point.load()()

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2467, in load

        self.require(*args, **kwargs)

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2490, in require

        items = working_set.resolve(reqs, env, installer, extras=self.extras)

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/pkg_resources/__init__.py", line 815, in resolve

        dist = self._resolve_dist(

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/pkg_resources/__init__.py", line 856, in _resolve_dist

        raise DistributionNotFound(req, requirers)

    pkg_resources.DistributionNotFound: The 'webcolors>=1.11; extra == "format-nongpl"' distribution was not found and is required by jsonschema

I 2023-03-01 18:11:26.140 ServerApp] jupyter_server_terminals | extension was successfully loaded.

I 2023-03-01 18:11:26.140 ServerApp] jupyter_server_ydoc | extension was successfully loaded.

I 2023-03-01 18:11:26.141 LabApp] JupyterLab extension loaded from /opt/conda/envs/rapids/lib/python3.10/site-packages/jupyterlab

I 2023-03-01 18:11:26.141 LabApp] JupyterLab application directory is /opt/conda/envs/rapids/share/jupyter/lab

I 2023-03-01 18:11:26.143 ServerApp] jupyterlab | extension was successfully loaded.

W 2023-03-01 18:11:26.143 ServerApp] jupyterlab_nvdashboard | extension failed loading with message: TypeError("'NoneType' object is not callable")

    Traceback (most recent call last):

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 356, in load_extension

        extension.load_all_points(self.serverapp)

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 228, in load_all_points

        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 228, in <listcomp>

        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 219, in load_point

        return point.load(serverapp)

    File "/opt/conda/envs/rapids/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 147, in load

        return loader(serverapp)

    TypeError: 'NoneType' object is not callable

I 2023-03-01 18:11:26.146 ServerApp] nbclassic | extension was successfully loaded.

I 2023-03-01 18:11:26.146 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.

I 2023-03-01 18:11:26.147 ServerApp] Serving notebooks from local directory: /rapids/notebooks

I 2023-03-01 18:11:26.147 ServerApp] Jupyter Server 2.2.1 is running at:

I 2023-03-01 18:11:26.147 ServerApp] http://jupyter-lab01.net:8888/lab

I 2023-03-01 18:11:26.147 ServerApp]     http://127.0.0.1:8888/lab

I 2023-03-01 18:11:26.147 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

W 2023-03-01 18:11:28.700 ServerApp] Clearing invalid/expired login cookie username-jupyter-lab01.net

I 2023-03-01 18:11:28.700 ServerApp] Generating new user for token-authenticated request: dc57fb76ec3047169e2baf71009cc232

W 2023-03-01 18:11:28.710 ServerApp] 404 GET /user/lab01 (dc57fb76ec3047169e2baf71009cc232@10.233.69.68) 11.06ms referer=http://jupyter-lab01.net/hub/spawn-pending/lab-user

`

Thank you so much