From 2c960276abaece6bf91816e5b74030e090be15a3 Mon Sep 17 00:00:00 2001 From: Tian Lan Date: Thu, 22 Sep 2022 14:11:23 -0700 Subject: [PATCH] notebook update --- tutorials/tutorial-2.a-warp_drive_sampler.ipynb | 13 ++----------- tutorials/tutorial-2.b-warp_drive_sampler.ipynb | 13 ++----------- tutorials/tutorial-5-training_with_warp_drive.ipynb | 2 +- 3 files changed, 5 insertions(+), 23 deletions(-) diff --git a/tutorials/tutorial-2.a-warp_drive_sampler.ipynb b/tutorials/tutorial-2.a-warp_drive_sampler.ipynb index fdca206..7f6817f 100644 --- a/tutorials/tutorial-2.a-warp_drive_sampler.ipynb +++ b/tutorials/tutorial-2.a-warp_drive_sampler.ipynb @@ -75,7 +75,7 @@ "- the pip package manager, OR\n", "- by cloning the warp_drive package and installing the requirements.\n", "\n", - "On Colab, we will do the latter." + "We will install the latest version of WarpDrive using the pip package manager." ] }, { @@ -84,16 +84,7 @@ "metadata": {}, "outputs": [], "source": [ - "import sys\n", - "\n", - "IN_COLAB = \"google.colab\" in sys.modules\n", - "\n", - "if IN_COLAB:\n", - " ! git clone https://github.com/salesforce/warp-drive.git\n", - " % cd warp-drive\n", - " ! pip install -e .\n", - "else:\n", - " ! pip install -U rl_warp_drive" + "pip install -U rl_warp_drive" ] }, { diff --git a/tutorials/tutorial-2.b-warp_drive_sampler.ipynb b/tutorials/tutorial-2.b-warp_drive_sampler.ipynb index 06da984..61ff79e 100644 --- a/tutorials/tutorial-2.b-warp_drive_sampler.ipynb +++ b/tutorials/tutorial-2.b-warp_drive_sampler.ipynb @@ -75,7 +75,7 @@ "- the pip package manager, OR\n", "- by cloning the warp_drive package and installing the requirements.\n", "\n", - "On Colab, we will do the latter." + "We will install the latest version of WarpDrive using the pip package manager." ] }, { @@ -84,16 +84,7 @@ "metadata": {}, "outputs": [], "source": [ - "import sys\n", - "\n", - "IN_COLAB = \"google.colab\" in sys.modules\n", - "\n", - "if IN_COLAB:\n", - " ! git clone https://github.com/salesforce/warp-drive.git\n", - " % cd warp-drive\n", - " ! pip install -e .\n", - "else:\n", - " ! pip install -U rl_warp_drive" + "pip install -U rl_warp_drive" ] }, { diff --git a/tutorials/tutorial-5-training_with_warp_drive.ipynb b/tutorials/tutorial-5-training_with_warp_drive.ipynb index 12bea86..5cbdcb3 100644 --- a/tutorials/tutorial-5-training_with_warp_drive.ipynb +++ b/tutorials/tutorial-5-training_with_warp_drive.ipynb @@ -284,7 +284,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Important! Since v1.8, WarpDrive is fully supporting Numba as the backend. \n", + "### Important! Since v2.0, WarpDrive is fully supporting Numba as the backend. \n", "\n", "Before v1.8: Ensure that 'use_cuda' is set to True (in order to run the simulation on the GPU).\n", "\n",