Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

sudo apt-get install -y protobuf-compiler

pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
pip install --pre torch torchvision torchaudio torchcomms --index-url https://download.pytorch.org/whl/nightly/cu128
pip install .[dev] -v

pip install -r docs/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

sudo apt-get install -y protobuf-compiler

pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
pip install --pre torch torchvision torchaudio torchcomms --index-url https://download.pytorch.org/whl/nightly/cu128
pip install .[dev] -v

# install recent version of Rust via rustup
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unittest-mac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup miniconda
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
with:
Expand All @@ -39,7 +39,7 @@ jobs:

python -m pip install --upgrade pip

pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
pip install --pre torch torchvision torchaudio torchcomms --index-url https://download.pytorch.org/whl/nightly/cpu

pip install -e .[dev] -v

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:

# Optionally install torch nightly, pulls latest CUDA from pip otherwise
if [ "${{ matrix.torch-version }}" = "nightly" ]; then
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
pip install --pre torch torchvision torchaudio torchcomms --index-url https://download.pytorch.org/whl/nightly/cu128
fi
if [ "${{ matrix.torch-version }}" = "test" ]; then
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu128
pip install --pre torch torchvision torchaudio torchcomms --index-url https://download.pytorch.org/whl/test/cu128
fi

# Install dependencies
Expand Down
3 changes: 3 additions & 0 deletions .pyre_configuration
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
{
"site-package": "parameterized"
},
{
"site-package": "torchcomms"
}
]
}
3 changes: 3 additions & 0 deletions torchft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

from torchft.comms import TorchCommGloo, TorchCommNCCL
from torchft.data import DistributedSampler
from torchft.ddp import DistributedDataParallel
from torchft.manager import Manager
Expand Down Expand Up @@ -31,4 +32,6 @@
"ProcessGroupBabyNCCL",
"ProcessGroupBabyXCCL",
"ProcessGroupGloo",
"TorchCommNCCL",
"TorchCommGloo",
)
Loading
Loading