ColossalAI/applications/Chat/examples/community/ray
Wenhao Chen 6d41c3f2aa
[doc] update Coati README (#4405)
* style: apply formatter

* fix: add outdated warnings

* docs: add dataset format and polish

* docs: polish README

* fix: fix json format

* fix: fix typos

* revert: revert 7b example
2023-08-14 15:26:27 +08:00
..
README.md [doc] update Coati README (#4405) 2023-08-14 15:26:27 +08:00
ray_job_script.py [chat] ChatGPT train prompts on ray example (#3309) 2023-04-13 18:18:36 +08:00
train_prompts_on_ray.py [chat] remove naive strategy and split colossalai strategy (#4094) 2023-06-29 18:11:00 +08:00

README.md

⚠️ This content may be outdated since the major update of Colossal Chat. We will update this content soon.

ColossalAI on Ray

Abstract

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

How to use?

1. Setup Ray clusters

Please follow the official Ray cluster setup instructions 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

2. Clone repo

Clone this project:

git clone https://github.com/hpcaitech/ColossalAI.git

3. Submit the ray job

python applications/Chat/examples/community/ray/ray_job_script.py http://your.head.node.addrees:8265

4. View your job on the Ray Dashboard

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