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/build-cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
include:
- name: 4xlargegpu
runs-on: linux.g5.4xlarge.nvidia.gpu
torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/cu126'
torch-spec: 'torch'
gpu-arch-type: "cuda"
gpu-arch-version: "12.6"
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
include:
- name: 4xlarge
runs-on: linux.g5.4xlarge.nvidia.gpu
torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/cu128'
torch-spec: 'torch'
gpu-arch-type: "cuda"
gpu-arch-version: "12.8"
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-gpu-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
include:
- name: 4xlargegpu
runs-on: linux.g5.4xlarge.nvidia.gpu
torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/cu126'
torch-spec: 'torch'
gpu-arch-type: "cuda"
gpu-arch-version: "12.6"
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-gpu-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
include:
- name: 4xlargegpu
runs-on: linux.g5.4xlarge.nvidia.gpu
torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/cu126'
torch-spec: 'torch'
gpu-arch-type: "cuda"
gpu-arch-version: "12.6"
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
include:
- name: 4xlarge
runs-on: linux.g5.4xlarge.nvidia.gpu
torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/cu126'
torch-spec: 'torch'
gpu-arch-type: "cuda"
gpu-arch-version: "12.6"
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ conda update -n monarchenv --all -c conda-forge -y
sudo dnf install -y libibverbs rdma-core libmlx5 libibverbs-devel rdma-core-devel

# Install build dependencies
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128
pip install -r build-requirements.txt
# Install test dependencies
pip install -r python/tests/requirements.txt
Expand Down Expand Up @@ -142,7 +141,6 @@ export CXX=clang++
sudo apt install -y cuda-toolkit-12-8 cuda-12-8

# Install build dependencies
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128
pip install -r build-requirements.txt
# Install test dependencies
pip install -r python/tests/requirements.txt
Expand Down Expand Up @@ -180,7 +178,6 @@ rustup toolchain install nightly
rustup default nightly

# Install build dependencies
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
pip install -r build-requirements.txt
# Install test dependencies
pip install -r python/tests/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion python/monarch/gradient/_gradient_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ struct GradientGenerator {
DEBUG_PRINT(
"// add: " << node->node->name()
<< ", input_nr=" << static_cast<int>(input_nr) << "\n");
#if TORCH_VERSION_NEWER_THAN(2, 8, 0)
#if TORCH_VERSION_NEWER_THAN(2, 10, 0)
realInputBuffer(node).add(
input_nr,
check_and_reduce(node->node, input_nr, std::move(t)),
Expand Down
2 changes: 1 addition & 1 deletion scripts/common-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ setup_tensor_engine() {
# Install PyTorch with C++ development headers (libtorch) for Rust compilation
setup_pytorch_with_headers() {
local gpu_arch_version=${1:-"12.6"}
local torch_spec=${2:-"--pre torch --index-url https://download.pytorch.org/whl/nightly/cu126"}
local torch_spec=${2:-"torch"}

echo "Setting up PyTorch with C++ headers (GPU arch: ${gpu_arch_version})..."

Expand Down
Loading