Skip to content

Commit 3daf958

Browse files
author
Allen Wang
committed
update readme for uv sync
1 parent d14cf1c commit 3daf958

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ You can also find our notebook tutorials (coming soon)
3434

3535
torchforge requires PyTorch 2.9.0 with [Monarch](https://github.com/meta-pytorch/monarch), [vLLM](https://github.com/vllm-project/vllm), and [torchtitan](https://github.com/pytorch/torchtitan).
3636

37-
You can install Forge with uv:
37+
You can install Forge with:
3838
```
39-
$ uv pip install .
39+
$ uv sync
4040
```
4141

4242
For your reference, we also include a basic install script that installs other system dependencies
@@ -54,6 +54,13 @@ Optional: By default, the packages installation uses conda. If user wants to ins
5454

5555
After install, you can run the following command and should see output confirming GRPO training is running (you need a minimum 3 GPU devices):
5656

57+
58+
```
59+
uv run apps/grpo/main.py --config apps/grpo/qwen3_1_7b.yaml
60+
```
61+
62+
or if not using uv:
63+
5764
```
5865
python -m apps.grpo.main --config apps/grpo/qwen3_1_7b.yaml
5966
```

apps/grpo/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ async def continuous_training():
465465
except KeyboardInterrupt:
466466
print("Training interrupted by user")
467467
finally:
468-
print("Shutting down...")
468+
print("Shutting down... (this may take a few seconds)")
469469
shutdown_event.set()
470470

471471
try:

0 commit comments

Comments
 (0)