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 prototype CI to Nova #7037

Merged
merged 23 commits into from
Dec 20, 2022
Merged

migrate prototype CI to Nova #7037

merged 23 commits into from
Dec 20, 2022

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Dec 13, 2022

This PR does three things:

  1. Consolidate the prototype CPU and GPU tests using the Nova workflow

  2. Group the output of the individual steps for convenience

    image

  3. Minor cleanup of the script without changing functionality

cc @seemethere @bjuncek

@pmeier pmeier changed the title improve prototype GPU CI config migrate prototype CI to Nova Dec 14, 2022
@pmeier pmeier requested a review from vfdev-5 December 14, 2022 12:43
@pmeier pmeier marked this pull request as ready for review December 14, 2022 12:44
timeout: 45
script: |
# Mark Build Directory Safe
git config --global --add safe.directory /__w/vision/vision
Copy link
Member

Choose a reason for hiding this comment

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

@osalpekar we should probably just do this in the base linux_job.yml if everyone is having to recreate this

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do we need it though? I've removed it in 119dc41 and the build is green: https://github.com/pytorch/vision/actions/runs/3731505086/jobs/6329814912. Under what circumstance do we need to? IIRC, this is only related to git submodules which we don't have. I guess it is not harmful, we can just do it by default.

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Philip!

@pmeier pmeier merged commit 9851a69 into pytorch:main Dec 20, 2022
@pmeier pmeier deleted the improve-proto-gpu-ci branch December 20, 2022 15:06
facebook-github-bot pushed a commit that referenced this pull request Jan 9, 2023
Summary:
* improve prototype GPU CI config

* consolidate CPU and GPU prototype workflows

* [REVERTME] deactivate other CI

* syntax

* fix name

* fix echo mutex

* style

* fix runner

* add jobname

* run all prototype tests

* fix mutex echo

* cleanup

* Revert "[REVERTME] deactivate other CI"

This reverts commit c931ff2.

* remove old workflows

* use free GHA runner for CPU tests

* Revert "use free GHA runner for CPU tests"

This reverts commit a209b31.

* [REVERTME] turn warnings into errors

* try fix test warnings

* fix module import in tests

* revert

* int -> float

* [REVERTME] why do we have to mark as safe?

Reviewed By: NicolasHug

Differential Revision: D42414485

fbshipit-source-id: 5cc5ae0e5b2b60c027f030f7b083ef5cc10d62bc
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.

5 participants