You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-22Lines changed: 5 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,40 +30,23 @@ You can also find our notebook tutorials (coming soon)
30
30
31
31
## Installation
32
32
33
-
### Basic
34
-
35
33
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).
36
34
37
-
You can install Forge with:
38
-
```
39
-
$ conda create -n forge python=3.10
40
-
$ conda activate forge
41
-
$ uv pip install .
42
-
```
43
-
44
-
(conda-less uv install is a wip)
45
-
46
-
For your reference, we also include a basic install script that installs other system dependencies
47
-
along with torchforge:
48
-
(note that this basic install script
49
-
uses [DNF](https://docs.fedoraproject.org/en-US/quick-docs/dnf/), but could be easily extended to other Linux OS.)
35
+
Install torchforge with:
50
36
51
37
```bash
52
38
conda create -n forge python=3.12
53
39
conda activate forge
54
40
./scripts/install.sh
55
41
```
56
42
57
-
Optional: By default, the packages installation uses conda. If user wants to install system packages on the target machine instead of conda, they can pass the `--use-sudo` to the installation script: `./script/install.sh --use-sudo`.
43
+
The install script installs system dependencies along with torchforge. Note that this install script uses [DNF](https://docs.fedoraproject.org/en-US/quick-docs/dnf/), but could be easily extended to other Linux OS.
58
44
59
-
After install, you can run the following command and should see output confirming GRPO training is running (you need a minimum 3 GPU devices):
45
+
Optional: By default, the packages installation uses conda. If you want to install system packages on the target machine instead of conda, you can pass the `--use-sudo` flag to the installation script: `./scripts/install.sh --use-sudo`.
60
46
47
+
> **Note:** We are actively working on enabling pure `uv` installation. Currently, Conda is the recommended approach. `uv` support is not fully working at the moment but is being tracked in [issue #494](https://github.com/meta-pytorch/torchforge/issues/494).
61
48
62
-
```
63
-
uv run apps/grpo/main.py --config apps/grpo/qwen3_1_7b.yaml
64
-
```
65
-
66
-
or if not using uv:
49
+
After install, you can run the following command and should see output confirming GRPO training is running (you need a minimum 3 GPU devices):
0 commit comments