Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/unit_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: python -m pip install --upgrade pip
- name: Install pytorch
run: python -m pip install torch==2.9.0.dev20250826 --extra-index-url https://download.pytorch.org/whl/nightly/cpu
- name: Install monarch
run: python -m pip install monarch-no-torch==0.1.0.dev20250826 --find-links assets/wheels
- name: Install dependencies
run: |
python -m pip install --no-build-isolation -e ".[dev,cpu]" --extra-index-url https://download.pytorch.org/whl/nightly/cpu --find-links assets/wheels
run: python -m pip install --no-build-isolation -e ".[dev]"
- name: Run unit tests with coverage
# TODO add all tests
run: pytest tests/unit_tests --cov=. --cov-report=xml --durations=20 -vv
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ source .venv/bin/activate

```bash
# feature install if you don't have /user/local/cuda-12.8
feature install --persist cuda_12_8
feature install --persist cuda_12_9

# add env variables
export CUDA_VERSION=12.8
export NVCC=/usr/local/cuda-${CUDA_VERSION}/bin/nvcc
export CUDA_NVCC_EXECUTABLE=/usr/local/cuda-${CUDA_VERSION}/bin/nvcc
export CUDA_HOME=/usr/local/cuda-${CUDA_VERSION}
export PATH="${CUDA_HOME}/bin:$PATH"
export CUDA_VERSION=12.9
export NVCC=/usr/local/cuda-$CUDA_VERSION/bin/nvcc
export CUDA_NVCC_EXECUTABLE=/usr/local/cuda-$CUDA_VERSION/bin/nvcc
export CUDA_HOME=/usr/local/cuda-$CUDA_VERSION
export PATH="$CUDA_HOME/bin:$PATH"
export CUDA_INCLUDE_DIRS=$CUDA_HOME/include
export CUDA_CUDART_LIBRARY=$CUDA_HOME/lib64/libcudart.so
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
Expand Down
13 changes: 4 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ oss = [
"torchmonarch-nightly==2025.8.1",
"torchstore",
]
cpu = [
"torch==2.9.0.dev20250826",
"monarch-no-torch==0.1.0.dev20250826",
]


[project.scripts]
forge = "forge.cli.forge:main"
Expand All @@ -78,8 +73,8 @@ members = [
# pytorch
# TODO: get auto backend to work
[[tool.uv.index]]
name = "pytorch-nightly-cu128"
url = "https://download.pytorch.org/whl/nightly/cu128"
name = "pytorch-nightly-cu129"
url = "https://download.pytorch.org/whl/nightly/cu129"
#explicit = true

# vllm
Expand All @@ -89,8 +84,8 @@ url = "https://download.pytorch.org/whl/nightly/cu128"
# explicit = true

[tool.uv.sources]
torchtitan = { index = "pytorch-nightly-cu128" }
torch = { index = "pytorch-nightly-cu128" }
torchtitan = { index = "pytorch-nightly-cu129" }
torch = { index = "pytorch-nightly-cu129" }
torchstore = { git = "ssh://[email protected]/meta-pytorch/torchstore.git" }
#vllm = { index = "vllm-nightly" }

Expand Down
Loading