README.md 934 Bytes
Newer Older
1
2
:warning: **This content may be outdated since the major update of Colossal Chat. We will update this content soon.**

3
# ColossalAI on Ray
4

5
## Abstract
6

7
This is an experimental effort to run ColossalAI Chat training on Ray
8

9
## How to use?
10

11
### 1. Setup Ray clusters
12

13
Please follow the official [Ray cluster setup instructions](https://docs.ray.io/en/latest/cluster/getting-started.html) to setup an cluster with GPU support. Record the cluster's api server endpoint, it should be something similar to http://your.head.node.addrees:8265
14

15
### 2. Clone repo
16

17
Clone this project:
18

19
20
21
```shell
git clone https://github.com/hpcaitech/ColossalAI.git
```
22

23
### 3. Submit the ray job
24

25
26
27
```shell
python applications/Chat/examples/community/ray/ray_job_script.py http://your.head.node.addrees:8265
```
28

29
### 4. View your job on the Ray Dashboard
30

31
Open your ray cluster dashboard http://your.head.node.addrees:8265 to view your submitted training job.