Skip to content

Commit 8d4b8dc

Browse files
authored
[Doc] Add an instruction about how to run the SFT example. (areal-project#164)
1 parent 3bf9c85 commit 8d4b8dc

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

arealite/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# AReaL v1.0.0 Design Doc
22

3+
---
4+
5+
Update 20250710
6+
7+
SFT example:
8+
9+
```bash
10+
torchrun --nnodes 1 --nproc-per-node 8 examples/arealite/gsm8k_sft.py --config examples/arealite/configs/gsm8k_sft.yaml
11+
```
12+
13+
---
14+
15+
316
We will provide both single-controller and SPMD user interfaces. The SPMD interface will be delivered with AReaLite, which is the paradigm most users are familiar with, just like using `torchrun` or `deepspeed`. However, this paradigm may lack some flexibility over global scheduling and control. To unlock the full potential with customized distributed execution, we will also provide a single-controller mode just like using Ray --- but our scheduler backend will not be restricted to Ray. Our code will be able to run with any scheduler in the cluster, such as native SLURM and K8S.
417

518
However, we want the user code to stay the same for both modes. The following is a simple usage example:

0 commit comments

Comments
 (0)