Skip to content
Draft
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
12 changes: 11 additions & 1 deletion .github/packaging/pre_build_gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ build_monarch() {
export CARGO_TERM_VERBOSE=true
export CARGO_TERM_COLOR=always
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to do this here or later?

export MONARCH_PACKAGE_NAME="torchmonarch"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I wound up doing this in #355 instead. Let's pursue that one first, then can come back to this after if needed

pip wheel --no-build-isolation --no-deps . -w "$WHL_DIR"

}

append_date() {
Expand All @@ -67,6 +68,15 @@ append_date() {
fi
}

smoke_test() {
cd "$WHL_DIR"
pip install --pre torch --no-cache-dir --index-url https://download.pytorch.org/whl/nightly/cu129
pip install -r https://raw.githubusercontent.com/meta-pytorch/monarch/main/requirements.txt
pip install torchmonarch-0.0.1-cp310-cp310-linux_x86_64.whl
python -c "from monarch import actor"
echo "import successful"
}

build_monarch
append_date
append_date
smoke_test
1 change: 1 addition & 0 deletions .github/workflows/build_vllm.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build pinned vLLM against PyTorch nightly and upload

on:
pull_request:
push:
branches:
- nightly
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_wheels.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build nightly wheels and publish to PyTorch Index

on:
pull_request:
push:
branches:
- nightly
Expand Down
Loading