{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "439e2446-33af-409b-b93c-827bc4c59659", "metadata": { "execution": { "iopub.execute_input": "2022-08-06T01:47:59.463660Z", "iopub.status.busy": "2022-08-06T01:47:59.463430Z", "iopub.status.idle": "2022-08-06T01:48:03.179737Z", "shell.execute_reply": "2022-08-06T01:48:03.178914Z", "shell.execute_reply.started": "2022-08-06T01:47:59.463597Z" }, "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Defaulting to user installation because normal site-packages is not writeable\n", "Requirement already up-to-date: torch in /home/emr-notebook/.local/lib/python3.7/site-packages (1.12.1)\n", "Requirement already up-to-date: torchvision in /home/emr-notebook/.local/lib/python3.7/site-packages (0.13.1)\n", "Requirement already up-to-date: pandas in /home/emr-notebook/.local/lib/python3.7/site-packages (1.3.5)\n", "Requirement already up-to-date: datasets in /home/emr-notebook/.local/lib/python3.7/site-packages (2.4.0)\n", "Requirement already up-to-date: accelerate in /home/emr-notebook/.local/lib/python3.7/site-packages (0.12.0)\n", "Requirement already up-to-date: scikit-learn in /home/emr-notebook/.local/lib/python3.7/site-packages (1.0.2)\n", "Requirement already up-to-date: mlflow in /home/emr-notebook/.local/lib/python3.7/site-packages (1.27.0)\n", "Requirement already up-to-date: tensorboard in /home/emr-notebook/.local/lib/python3.7/site-packages (2.9.1)\n", "Requirement already up-to-date: ray[all]==2.0.0rc0 in /home/emr-notebook/.local/lib/python3.7/site-packages (2.0.0rc0)\n", "Requirement already satisfied, skipping upgrade: typing-extensions in /home/emr-notebook/.local/lib/python3.7/site-packages (from torch) (4.3.0)\n", "Requirement already satisfied, skipping upgrade: requests in /home/emr-notebook/.local/lib/python3.7/site-packages (from torchvision) (2.28.1)\n", "Requirement already satisfied, skipping upgrade: pillow!=8.3.*,>=5.3.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from torchvision) (9.2.0)\n", "Requirement already satisfied, skipping upgrade: numpy in /usr/local/lib64/python3.7/site-packages (from torchvision) (1.20.0)\n", "Requirement already satisfied, skipping upgrade: python-dateutil>=2.7.3 in /home/emr-notebook/.local/lib/python3.7/site-packages (from pandas) (2.8.2)\n", "Requirement already satisfied, skipping upgrade: pytz>=2017.3 in /usr/local/lib/python3.7/site-packages (from pandas) (2022.1)\n", "Requirement already satisfied, skipping upgrade: tqdm>=4.62.1 in /usr/local/lib64/python3.7/site-packages (from datasets) (4.63.1)\n", "Requirement already satisfied, skipping upgrade: responses<0.19 in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (0.18.0)\n", "Requirement already satisfied, skipping upgrade: aiohttp in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (3.8.1)\n", "Requirement already satisfied, skipping upgrade: fsspec[http]>=2021.11.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (2022.7.1)\n", "Requirement already satisfied, skipping upgrade: huggingface-hub<1.0.0,>=0.1.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (0.8.1)\n", "Requirement already satisfied, skipping upgrade: packaging in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (21.3)\n", "Requirement already satisfied, skipping upgrade: pyarrow>=6.0.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (6.0.1)\n", "Requirement already satisfied, skipping upgrade: importlib-metadata; python_version < \"3.8\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (4.12.0)\n", "Requirement already satisfied, skipping upgrade: multiprocess in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (0.70.13)\n", "Requirement already satisfied, skipping upgrade: dill<0.3.6 in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (0.3.5.1)\n", "Requirement already satisfied, skipping upgrade: xxhash in /home/emr-notebook/.local/lib/python3.7/site-packages (from datasets) (3.0.0)\n", "Requirement already satisfied, skipping upgrade: pyyaml in /usr/local/lib64/python3.7/site-packages (from accelerate) (5.4.1)\n", "Requirement already satisfied, skipping upgrade: psutil in /home/emr-notebook/.local/lib/python3.7/site-packages (from accelerate) (5.9.1)\n", "Requirement already satisfied, skipping upgrade: joblib>=0.11 in /usr/local/lib64/python3.7/site-packages (from scikit-learn) (1.1.0)\n", "Requirement already satisfied, skipping upgrade: scipy>=1.1.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from scikit-learn) (1.7.3)\n", "Requirement already satisfied, skipping upgrade: threadpoolctl>=2.0.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from scikit-learn) (3.1.0)\n", "Requirement already satisfied, skipping upgrade: sqlalchemy>=1.4.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (1.4.39)\n", "Requirement already satisfied, skipping upgrade: gitpython>=2.1.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (3.1.27)\n", "Requirement already satisfied, skipping upgrade: prometheus-flask-exporter in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (0.20.3)\n", "Requirement already satisfied, skipping upgrade: alembic in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (1.8.1)\n", "Requirement already satisfied, skipping upgrade: docker>=4.0.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (5.0.3)\n", "Requirement already satisfied, skipping upgrade: cloudpickle in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (2.1.0)\n", "Requirement already satisfied, skipping upgrade: querystring-parser in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (1.2.4)\n", "Requirement already satisfied, skipping upgrade: gunicorn; platform_system != \"Windows\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (20.1.0)\n", "Requirement already satisfied, skipping upgrade: click>=7.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (8.0.4)\n", "Requirement already satisfied, skipping upgrade: databricks-cli>=0.8.7 in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (0.17.0)\n", "Requirement already satisfied, skipping upgrade: entrypoints in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (0.4)\n", "Requirement already satisfied, skipping upgrade: Flask in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (2.2.1)\n", "Requirement already satisfied, skipping upgrade: protobuf>=3.12.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (3.20.1)\n", "Requirement already satisfied, skipping upgrade: sqlparse>=0.3.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from mlflow) (0.4.2)\n", "Requirement already satisfied, skipping upgrade: tensorboard-plugin-wit>=1.6.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from tensorboard) (1.8.1)\n", "Requirement already satisfied, skipping upgrade: tensorboard-data-server<0.7.0,>=0.6.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from tensorboard) (0.6.1)\n", "Requirement already satisfied, skipping upgrade: google-auth-oauthlib<0.5,>=0.4.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from tensorboard) (0.4.6)\n", "Requirement already satisfied, skipping upgrade: wheel>=0.26 in /home/emr-notebook/.local/lib/python3.7/site-packages (from tensorboard) (0.37.1)\n", "Requirement already satisfied, skipping upgrade: setuptools>=41.0.0 in /usr/lib/python3.7/site-packages (from tensorboard) (49.1.3)\n", "Requirement already satisfied, skipping upgrade: markdown>=2.6.8 in /home/emr-notebook/.local/lib/python3.7/site-packages (from tensorboard) (3.4.1)\n", "Requirement already satisfied, skipping upgrade: werkzeug>=1.0.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from tensorboard) (2.2.1)\n", "Requirement already satisfied, skipping upgrade: google-auth<3,>=1.6.3 in /home/emr-notebook/.local/lib/python3.7/site-packages (from tensorboard) (2.10.0)\n", "Requirement already satisfied, skipping upgrade: grpcio>=1.24.3 in /home/emr-notebook/.local/lib/python3.7/site-packages (from tensorboard) (1.43.0)\n", "Requirement already satisfied, skipping upgrade: absl-py>=0.4 in /home/emr-notebook/.local/lib/python3.7/site-packages (from tensorboard) (1.2.0)\n", "Requirement already satisfied, skipping upgrade: attrs in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (22.1.0)\n", "Requirement already satisfied, skipping upgrade: virtualenv in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (20.16.3)\n", "Requirement already satisfied, skipping upgrade: frozenlist in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.3.1)\n", "Requirement already satisfied, skipping upgrade: aiosignal in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.2.0)\n", "Requirement already satisfied, skipping upgrade: msgpack<2.0.0,>=1.0.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.0.4)\n", "Requirement already satisfied, skipping upgrade: filelock in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (3.7.1)\n", "Requirement already satisfied, skipping upgrade: jsonschema in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (4.9.1)\n", "Requirement already satisfied, skipping upgrade: tabulate; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.8.10)\n", "Requirement already satisfied, skipping upgrade: gpustat>=1.0.0b1; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.0.0rc1)\n", "Requirement already satisfied, skipping upgrade: colorful; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.5.4)\n", "Requirement already satisfied, skipping upgrade: urllib3; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.26.11)\n", "Requirement already satisfied, skipping upgrade: aiorwlock; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.3.0)\n", "Requirement already satisfied, skipping upgrade: dm-tree; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.1.7)\n", "Requirement already satisfied, skipping upgrade: tensorboardX>=1.9; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (2.5.1)\n", "Requirement already satisfied, skipping upgrade: ray-cpp==2.0.0rc0; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (2.0.0rc0)\n", "Requirement already satisfied, skipping upgrade: aiohttp-cors; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.7.0)\n", "Requirement already satisfied, skipping upgrade: kopf; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.35.6)\n", "Requirement already satisfied, skipping upgrade: scikit-image; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.19.3)\n", "Requirement already satisfied, skipping upgrade: lz4; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (4.0.2)\n", "Requirement already satisfied, skipping upgrade: fastapi; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.79.0)\n", "Requirement already satisfied, skipping upgrade: kubernetes; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (24.2.0)\n", "Requirement already satisfied, skipping upgrade: uvicorn==0.16.0; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.16.0)\n", "Requirement already satisfied, skipping upgrade: opencensus; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.11.0)\n", "Requirement already satisfied, skipping upgrade: prometheus-client<0.14.0,>=0.7.1; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.13.1)\n", "Requirement already satisfied, skipping upgrade: py-spy>=0.2.0; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.3.12)\n", "Requirement already satisfied, skipping upgrade: pydantic; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.9.1)\n", "Requirement already satisfied, skipping upgrade: opentelemetry-sdk==1.1.0; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.1.0)\n", "Requirement already satisfied, skipping upgrade: smart-open; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (6.0.0)\n", "Requirement already satisfied, skipping upgrade: opentelemetry-api==1.1.0; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.1.0)\n", "Requirement already satisfied, skipping upgrade: opentelemetry-exporter-otlp==1.1.0; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (1.1.0)\n", "Requirement already satisfied, skipping upgrade: matplotlib!=3.4.3; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (3.5.2)\n", "Requirement already satisfied, skipping upgrade: starlette; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.19.1)\n", "Requirement already satisfied, skipping upgrade: gym<0.24.0,>=0.21.0; extra == \"all\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from ray[all]==2.0.0rc0) (0.23.1)\n", "Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /home/emr-notebook/.local/lib/python3.7/site-packages (from requests->torchvision) (2022.6.15)\n", "Requirement already satisfied, skipping upgrade: charset-normalizer<3,>=2 in /home/emr-notebook/.local/lib/python3.7/site-packages (from requests->torchvision) (2.1.0)\n", "Requirement already satisfied, skipping upgrade: idna<4,>=2.5 in /home/emr-notebook/.local/lib/python3.7/site-packages (from requests->torchvision) (3.3)\n", "Requirement already satisfied, skipping upgrade: six>=1.5 in /usr/local/lib/python3.7/site-packages (from python-dateutil>=2.7.3->pandas) (1.13.0)\n", "Requirement already satisfied, skipping upgrade: multidict<7.0,>=4.5 in /home/emr-notebook/.local/lib/python3.7/site-packages (from aiohttp->datasets) (6.0.2)\n", "Requirement already satisfied, skipping upgrade: asynctest==0.13.0; python_version < \"3.8\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from aiohttp->datasets) (0.13.0)\n", "Requirement already satisfied, skipping upgrade: yarl<2.0,>=1.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from aiohttp->datasets) (1.8.1)\n", "Requirement already satisfied, skipping upgrade: async-timeout<5.0,>=4.0.0a3 in /home/emr-notebook/.local/lib/python3.7/site-packages (from aiohttp->datasets) (4.0.2)\n", "Requirement already satisfied, skipping upgrade: pyparsing!=3.0.5,>=2.0.2 in /home/emr-notebook/.local/lib/python3.7/site-packages (from packaging->datasets) (3.0.9)\n", "Requirement already satisfied, skipping upgrade: zipp>=0.5 in /home/emr-notebook/.local/lib/python3.7/site-packages (from importlib-metadata; python_version < \"3.8\"->datasets) (3.8.1)\n", "Requirement already satisfied, skipping upgrade: greenlet!=0.4.17; python_version >= \"3\" and (platform_machine == \"aarch64\" or (platform_machine == \"ppc64le\" or (platform_machine == \"x86_64\" or (platform_machine == \"amd64\" or (platform_machine == \"AMD64\" or (platform_machine == \"win32\" or platform_machine == \"WIN32\")))))) in /home/emr-notebook/.local/lib/python3.7/site-packages (from sqlalchemy>=1.4.0->mlflow) (1.1.2)\n", "Requirement already satisfied, skipping upgrade: gitdb<5,>=4.0.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from gitpython>=2.1.0->mlflow) (4.0.9)\n", "Requirement already satisfied, skipping upgrade: importlib-resources; python_version < \"3.9\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from alembic->mlflow) (5.9.0)\n", "Requirement already satisfied, skipping upgrade: Mako in /home/emr-notebook/.local/lib/python3.7/site-packages (from alembic->mlflow) (1.2.1)\n", "Requirement already satisfied, skipping upgrade: websocket-client>=0.32.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from docker>=4.0.0->mlflow) (1.3.3)\n", "Requirement already satisfied, skipping upgrade: pyjwt>=1.7.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from databricks-cli>=0.8.7->mlflow) (2.4.0)\n", "Requirement already satisfied, skipping upgrade: oauthlib>=3.1.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from databricks-cli>=0.8.7->mlflow) (3.2.0)\n", "Requirement already satisfied, skipping upgrade: Jinja2>=3.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from Flask->mlflow) (3.1.2)\n", "Requirement already satisfied, skipping upgrade: itsdangerous>=2.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from Flask->mlflow) (2.1.2)\n", "Requirement already satisfied, skipping upgrade: requests-oauthlib>=0.7.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard) (1.3.1)\n", "Requirement already satisfied, skipping upgrade: MarkupSafe>=2.1.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from werkzeug>=1.0.1->tensorboard) (2.1.1)\n", "Requirement already satisfied, skipping upgrade: pyasn1-modules>=0.2.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from google-auth<3,>=1.6.3->tensorboard) (0.2.8)\n", "Requirement already satisfied, skipping upgrade: rsa<5,>=3.1.4; python_version >= \"3.6\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from google-auth<3,>=1.6.3->tensorboard) (4.9)\n", "Requirement already satisfied, skipping upgrade: cachetools<6.0,>=2.0.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from google-auth<3,>=1.6.3->tensorboard) (5.2.0)\n", "Requirement already satisfied, skipping upgrade: platformdirs<3,>=2.4 in /home/emr-notebook/.local/lib/python3.7/site-packages (from virtualenv->ray[all]==2.0.0rc0) (2.5.2)\n", "Requirement already satisfied, skipping upgrade: distlib<1,>=0.3.5 in /home/emr-notebook/.local/lib/python3.7/site-packages (from virtualenv->ray[all]==2.0.0rc0) (0.3.5)\n", "Requirement already satisfied, skipping upgrade: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from jsonschema->ray[all]==2.0.0rc0) (0.18.1)\n", "Requirement already satisfied, skipping upgrade: pkgutil-resolve-name>=1.3.10; python_version < \"3.9\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from jsonschema->ray[all]==2.0.0rc0) (1.3.10)\n", "Requirement already satisfied, skipping upgrade: nvidia-ml-py<=11.495.46,>=11.450.129 in /home/emr-notebook/.local/lib/python3.7/site-packages (from gpustat>=1.0.0b1; extra == \"all\"->ray[all]==2.0.0rc0) (11.495.46)\n", "Requirement already satisfied, skipping upgrade: blessed>=1.17.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from gpustat>=1.0.0b1; extra == \"all\"->ray[all]==2.0.0rc0) (1.19.1)\n", "Requirement already satisfied, skipping upgrade: python-json-logger in /home/emr-notebook/.local/lib/python3.7/site-packages (from kopf; extra == \"all\"->ray[all]==2.0.0rc0) (2.0.4)\n", "Requirement already satisfied, skipping upgrade: iso8601 in /home/emr-notebook/.local/lib/python3.7/site-packages (from kopf; extra == \"all\"->ray[all]==2.0.0rc0) (1.0.2)\n", "Requirement already satisfied, skipping upgrade: networkx>=2.2 in /home/emr-notebook/.local/lib/python3.7/site-packages (from scikit-image; extra == \"all\"->ray[all]==2.0.0rc0) (2.6.3)\n", "Requirement already satisfied, skipping upgrade: PyWavelets>=1.1.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from scikit-image; extra == \"all\"->ray[all]==2.0.0rc0) (1.3.0)\n", "Requirement already satisfied, skipping upgrade: imageio>=2.4.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from scikit-image; extra == \"all\"->ray[all]==2.0.0rc0) (2.21.0)\n", "Requirement already satisfied, skipping upgrade: tifffile>=2019.7.26 in /home/emr-notebook/.local/lib/python3.7/site-packages (from scikit-image; extra == \"all\"->ray[all]==2.0.0rc0) (2021.11.2)\n", "Requirement already satisfied, skipping upgrade: asgiref>=3.4.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from uvicorn==0.16.0; extra == \"all\"->ray[all]==2.0.0rc0) (3.5.2)\n", "Requirement already satisfied, skipping upgrade: h11>=0.8 in /home/emr-notebook/.local/lib/python3.7/site-packages (from uvicorn==0.16.0; extra == \"all\"->ray[all]==2.0.0rc0) (0.13.0)\n", "Requirement already satisfied, skipping upgrade: opencensus-context>=0.1.3 in /home/emr-notebook/.local/lib/python3.7/site-packages (from opencensus; extra == \"all\"->ray[all]==2.0.0rc0) (0.1.3)\n", "Requirement already satisfied, skipping upgrade: google-api-core<3.0.0,>=1.0.0; python_version >= \"3.6\" in /home/emr-notebook/.local/lib/python3.7/site-packages (from opencensus; extra == \"all\"->ray[all]==2.0.0rc0) (2.8.2)\n", "Requirement already satisfied, skipping upgrade: opentelemetry-semantic-conventions==0.20b0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from opentelemetry-sdk==1.1.0; extra == \"all\"->ray[all]==2.0.0rc0) (0.20b0)\n", "Requirement already satisfied, skipping upgrade: opentelemetry-exporter-otlp-proto-grpc==1.1.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from opentelemetry-exporter-otlp==1.1.0; extra == \"all\"->ray[all]==2.0.0rc0) (1.1.0)\n", "Requirement already satisfied, skipping upgrade: kiwisolver>=1.0.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from matplotlib!=3.4.3; extra == \"all\"->ray[all]==2.0.0rc0) (1.4.4)\n", "Requirement already satisfied, skipping upgrade: cycler>=0.10 in /home/emr-notebook/.local/lib/python3.7/site-packages (from matplotlib!=3.4.3; extra == \"all\"->ray[all]==2.0.0rc0) (0.11.0)\n", "Requirement already satisfied, skipping upgrade: fonttools>=4.22.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from matplotlib!=3.4.3; extra == \"all\"->ray[all]==2.0.0rc0) (4.34.4)\n", "Requirement already satisfied, skipping upgrade: anyio<5,>=3.4.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from starlette; extra == \"all\"->ray[all]==2.0.0rc0) (3.6.1)\n", "Requirement already satisfied, skipping upgrade: gym-notices>=0.0.4 in /home/emr-notebook/.local/lib/python3.7/site-packages (from gym<0.24.0,>=0.21.0; extra == \"all\"->ray[all]==2.0.0rc0) (0.0.7)\n", "Requirement already satisfied, skipping upgrade: smmap<6,>=3.0.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from gitdb<5,>=4.0.1->gitpython>=2.1.0->mlflow) (5.0.0)\n", "Requirement already satisfied, skipping upgrade: pyasn1<0.5.0,>=0.4.6 in /home/emr-notebook/.local/lib/python3.7/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard) (0.4.8)\n", "Requirement already satisfied, skipping upgrade: wcwidth>=0.1.4 in /home/emr-notebook/.local/lib/python3.7/site-packages (from blessed>=1.17.1->gpustat>=1.0.0b1; extra == \"all\"->ray[all]==2.0.0rc0) (0.2.5)\n", "Requirement already satisfied, skipping upgrade: googleapis-common-protos<2.0dev,>=1.56.2 in /home/emr-notebook/.local/lib/python3.7/site-packages (from google-api-core<3.0.0,>=1.0.0; python_version >= \"3.6\"->opencensus; extra == \"all\"->ray[all]==2.0.0rc0) (1.56.4)\n", "Requirement already satisfied, skipping upgrade: backoff~=1.10.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from opentelemetry-exporter-otlp-proto-grpc==1.1.0->opentelemetry-exporter-otlp==1.1.0; extra == \"all\"->ray[all]==2.0.0rc0) (1.10.0)\n", "Requirement already satisfied, skipping upgrade: opentelemetry-proto==1.1.0 in /home/emr-notebook/.local/lib/python3.7/site-packages (from opentelemetry-exporter-otlp-proto-grpc==1.1.0->opentelemetry-exporter-otlp==1.1.0; extra == \"all\"->ray[all]==2.0.0rc0) (1.1.0)\n", "Requirement already satisfied, skipping upgrade: sniffio>=1.1 in /home/emr-notebook/.local/lib/python3.7/site-packages (from anyio<5,>=3.4.0->starlette; extra == \"all\"->ray[all]==2.0.0rc0) (1.2.0)\n" ] } ], "source": [ "!pip3 install -U torch torchvision pandas scikit-learn tensorboard ray[all]==2.0.0rc0\n", " #https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp37-cp37m-manylinux2014_x86_64.whl" ] }, { "cell_type": "code", "execution_count": 2, "id": "0ebe4ab7-e6ef-4e17-b662-884ab34944ce", "metadata": { "execution": { "iopub.execute_input": "2022-08-06T01:48:03.181153Z", "iopub.status.busy": "2022-08-06T01:48:03.180966Z", "iopub.status.idle": "2022-08-06T01:48:03.191185Z", "shell.execute_reply": "2022-08-06T01:48:03.190522Z", "shell.execute_reply.started": "2022-08-06T01:48:03.181128Z" }, "tags": [] }, "outputs": [ { "data": { "text/plain": [ "{'status': 'ok', 'restart': True}" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# restart kernel to pick up the pip installs above\n", "import IPython\n", "\n", "IPython.Application.instance().kernel.do_shutdown(True) #automatically restarts kernel" ] }, { "cell_type": "code", "execution_count": 3, "id": "5bdc429f-15ed-4b54-b462-df5652cb7cd6", "metadata": { "execution": { "iopub.execute_input": "2022-08-06T01:48:03.192594Z", "iopub.status.busy": "2022-08-06T01:48:03.192406Z", "iopub.status.idle": "2022-08-06T01:48:04.531157Z", "shell.execute_reply": "2022-08-06T01:48:04.530499Z", "shell.execute_reply.started": "2022-08-06T01:48:03.192573Z" }, "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Usage stats disabled for future clusters. Restart any current running clusters for this to take effect.\n", "\u001b[0m" ] } ], "source": [ "!ray disable-usage-stats" ] }, { "cell_type": "code", "execution_count": 1, "id": "53d8975a-b047-42e0-98f4-ffee1acd5eba", "metadata": { "execution": { "iopub.execute_input": "2022-08-06T01:48:55.573685Z", "iopub.status.busy": "2022-08-06T01:48:55.573412Z", "iopub.status.idle": "2022-08-06T01:48:58.899275Z", "shell.execute_reply": "2022-08-06T01:48:58.898734Z", "shell.execute_reply.started": "2022-08-06T01:48:55.573613Z" }, "tags": [] }, "outputs": [ { "data": { "text/html": [ "
Python version: | \n", "3.7.10 | \n", "
Ray version: | \n", "2.0.0rc0 | \n", "
Dashboard: | \n", "http://127.0.0.1:8265 | \n", "