Here, you can find instructions about how to locally install Ray and all libraries required for this workshop.
Follow the instructions to set it up.
In your terminal run:
git clone https://github.com/ray-project/scipy-ray-scalable-ml-tutorial-2023.git
Go to the repository directory. In your terminal run:
cd scipy-ray-scalable-ml-tutorial-2023
You should install dependencies in a new virtual environment. If you are not familiar with virtualenv, consult their documentation before you move forward.
Make sure that you have virtual env with python==3.9.15
.
Once in the virtualenv, run in your terminal:
pip install -r requirements.txt
Make sure to install torch==1.13.1
that is suitable for your system (CPU/GPU and CUDA version). See PyTorch get started documentation for more details.
Check if Ray is installed correctly.
In your terminal run:
python3
Wait until you see >>>
prompt.
>>> import ray
>>> ray.init()
If you see output like this, Ray is installed correctly:
2022-12-07 11:15:08,106 INFO worker.py:1519 -- Started a local Ray instance. View the dashboard at 127.0.0.1:8265
Feel free to open Ray dashboard at http://127.0.0.1:8265
Go to README to get started.
Check Ray installation documentation for more details and troubleshooting for issues with installing.