Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate cmake workflows from CircleCI to GHA #7417

Merged
merged 67 commits into from
May 23, 2023
Merged

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Mar 14, 2023

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 14, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/7417

Note: Links to docs will display an error until the docs builds have been completed.

❌ 3 New Failures

As of commit 79ae3e6:

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pmeier pmeier changed the title [PoC] migrate cmake workflows from CircleCI to GHA migrate cmake workflows from CircleCI to GHA May 20, 2023
@pmeier pmeier marked this pull request as ready for review May 20, 2023 19:57
Comment on lines +79 to +83
if [[ ${{ matrix.gpu-arch-type }} == cuda ]]; then
export CU_VERSION=cu$(echo ${{ matrix.gpu-arch-version }} | sed 's/\.//')
echo CU_VERSION="${CU_VERSION}"
packaging/windows/internal/cuda_install.bat
fi
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@atalman Ideally, we don't need to reinstall CUDA here. We only do this to get access to your patch from 9baaf70. Could we include these files in the AMI directly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@atalman atalman May 23, 2023

Choose a reason for hiding this comment

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

HI @pmeir yes totally. However I think we should ship this PR for now calling packaging/windows/internal/cuda_install.bat . I will create new AMI and test it. Once new AMI is built we can remove this change.

@@ -0,0 +1,124 @@
#!/usr/bin/env bash
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

popd

# This was only needed for the tracing above
pip uninstall -y torchvision
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Probably not needed, but we are making sure here that we don't need to have a torchvision Python install for anything below.

examples/cpp/hello_world/CMakeLists.txt Outdated Show resolved Hide resolved
test/tracing/frcnn/CMakeLists.txt Outdated Show resolved Hide resolved
@pmeier
Copy link
Collaborator Author

pmeier commented May 20, 2023

All CMake workflows on GHA are green now: https://github.com/pytorch/vision/actions/runs/5033885907/jobs/9028384793 🎉

Do we want to have a grade period here, where we run the builds on CircleCI and GHA? IMO, we don't need to, since they were mostly unmaintained and we thoroughly tested the GHA builds in the process of migrating them.

@pmeier pmeier mentioned this pull request May 20, 2023
@pmeier pmeier requested review from NicolasHug and atalman May 22, 2023 09:01
@pmeier pmeier linked an issue May 22, 2023 that may be closed by this pull request
@pmeier pmeier mentioned this pull request May 22, 2023
@pmeier pmeier merged commit e5bf7cf into pytorch:main May 23, 2023
@pmeier pmeier deleted the cmake-gha branch May 23, 2023 13:26
@github-actions
Copy link

Hey @pmeier!

You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

atalman pushed a commit to pytorch/test-infra that referenced this pull request May 23, 2023
facebook-github-bot pushed a commit that referenced this pull request May 31, 2023
Summary: Co-authored-by: Andrey Talman <atalman@fb.com>

Reviewed By: vmoens

Differential Revision: D46314040

fbshipit-source-id: 30d32462ee3e6615a23b6914b4d62e6e23070cec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cmake Windows integration
3 participants