@@ -10,41 +10,39 @@ These examples have been tested in the following environments:
1010
1111Using:
1212
13- - Ray versions 1.7+ (not the early release candidates)
13+ - Ray versions 1.7+
1414 - Python versions: 3.6, 3.7, 3.8
1515
16- Currently, Python ** 3.9** is not supported by Ray.
17-
1816See the ` slides.pdf ` file for the presentation slide deck that
1917accompanies this tutorial.
2018
2119
2220## Getting Started
2321
2422To get started use ` git ` to clone this public repository:
25- ```
23+ ``` bash
2624git clone https://github.com/DerwenAI/ray_tutorial.git
2725cd ray_tutorial
2826```
2927
30- ### Getting Started with virtual environment
28+ ### Getting Started with a Virtual Environment
3129
3230Set up a local [ * virtual environment* ] ( https://docs.python.org/3/library/venv.html )
3331and activate it:
34- ```
32+ ``` bash
3533python3 -m venv venv
3634source venv/bin/activate
3735```
3836
3937Then use ` pip ` to install the required dependencies:
40- ```
38+ ``` bash
4139python3 -m pip install -U pip
4240python3 -m pip install -r requirements.txt
4341python -m ipykernel install
4442```
4543
4644Alternatively, if you use ` conda ` for installing Python packages:
47- ```
45+ ``` bash
4846conda create -n ray_tutorial python=3.7
4947conda activate ray_tutorial
5048python3 -m pip install -r requirements.txt
@@ -57,25 +55,27 @@ approach instead.
5755
5856Then launch the [ JupyterLab] ( https://jupyterlab.readthedocs.io/ )
5957environment to run examples in this repo:
60- ```
58+ ``` bash
6159jupyter-lab
6260```
6361
6462Browse to < http://localhost:8888/lab > to continue.
6563
66- ### Getting start with docker-compose up
6764
68- install [ docker ] ( https://docs.docker.com/engine/install/ ) and [ docker-compose ] ( https://docs.docker.com/compose/install/ )
65+ ### Getting started with Docker-Compose
6966
67+ First, install [ docker] ( https://docs.docker.com/engine/install/ )
68+ and [ docker-compose] ( https://docs.docker.com/compose/install/ ) ,
69+ then:
7070``` bash
7171docker-compose up -d
7272```
7373
74- the docker compose will start a jupyter lab service without token
74+ Docker compose will start a JupyterLab service without requiring use
75+ of a security token.
7576
7677Browse to < http://localhost:8888/lab > to continue.
7778
78- for the convenient the container using network_mode: host (for ray dashboard / jupyter)
7979
8080## Syllabus
8181
@@ -137,3 +137,12 @@ level components in Ray, such as RLlib and Ray Tune.
137137 * [ "Profiling and Optimizing Jupyter Notebooks"] ( https://towardsdatascience.com/speed-up-jupyter-notebooks-20716cbe2025 )
138138 * [ Anyscale Academy] ( https://github.com/anyscale/academy )
139139 * [ Ray Tutorial] ( https://github.com/ray-project/tutorial )
140+
141+
142+ ## Kudos
143+
144+ [ @dmatrix ] ( https://github.com/dmatrix ) ,
145+ [ @penolove ] ( https://github.com/penolove ) ,
146+ [ @deanwampler ] ( https://github.com/deanwampler ) ,
147+ [ @ceteri ] ( https://github.com/ceteri ) .
148+
0 commit comments