Skip to content

Commit e32221a

Browse files
authored
Made oss dependencies optional (#47)
* Made oss dependencies optional * Remove extra comments
1 parent 778b221 commit e32221a

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,7 @@ uv sync --all-extras
3131
source .venv/bin/activate
3232
```
3333

34-
2. Install Monarch
35-
36-
```bash
37-
uv pip install torchmonarch-nightly==2025.8.1
38-
```
39-
40-
3. Setup CUDA on local machine
34+
2. Setup CUDA on local machine
4135

4236
```bash
4337
# feature install if you don't have /user/local/cuda-12.8
@@ -54,7 +48,7 @@ export CUDA_CUDART_LIBRARY=$CUDA_HOME/lib64/libcudart.so
5448
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
5549
```
5650

57-
4 Build vllm from source
51+
3. Build vllm from source
5852

5953
```bash
6054
git clone https://github.com/vllm-project/vllm.git --branch v0.10.0

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ dependencies = [
1313
# PyTorch
1414
"torchdata>=0.8.0",
1515
"torchtitan",
16-
# Temporarily comment out in favor of enabling MAST path
17-
#"torch",
18-
# TODO: uncomment when this doesn't break MAST
19-
#"torchmonarch-nightly==2025.8.1",
2016
# vLLM
2117
# TODO: pin specific vllm version
2218
#"vllm==0.10.0",
@@ -43,6 +39,12 @@ dev = [
4339
"anyio",
4440
"pytest-asyncio",
4541
]
42+
oss = [
43+
"torch",
44+
"torchmonarch-nightly==2025.8.1",
45+
"torchstore",
46+
]
47+
4648

4749
[project.scripts]
4850
forge = "forge.cli.forge:main"
@@ -85,6 +87,7 @@ url = "https://download.pytorch.org/whl/nightly/cu128"
8587
[tool.uv.sources]
8688
torchtitan = { index = "pytorch-nightly-cu128" }
8789
torch = { index = "pytorch-nightly-cu128" }
90+
torchstore = { git = "ssh://[email protected]/meta-pytorch/torchstore.git" }
8891
#vllm = { index = "vllm-nightly" }
8992

9093
[tool.uv]

0 commit comments

Comments
 (0)