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

Update pytorch release PR workflow #1286

Merged

Conversation

mtar
Copy link
Collaborator

@mtar mtar commented Nov 28, 2023

Due Diligence

  • General:
    • base branch must be main for new features, latest release branch (e.g. release/1.3.x) for bug fixes
    • title of the PR is suitable to appear in the Release Notes
  • Implementation:
    • unit tests: all split configurations tested
    • unit tests: multiple dtypes tested
    • documentation updated where needed

Description

Fixes and enhances the manually triggered workflows that create a new pull request on an PyTorch update. It uses the REF_NAME of the branch on which the workflow is triggered for the naming of the new branch and also puts it as the base branch for the PR creation.

Issue/s resolved: #1241

Changes proposed:

  • Use the ref_name as part of the new branch name
  • delete now redundant workflow
  • make latest-pytorch-support.yml callable

Type of change

Memory requirements

Performance

Does this change modify the behaviour of other functions? If so, which?

yes / no

@mtar mtar added the workflows label Nov 28, 2023
@mtar mtar requested a review from ClaudiaComito November 28, 2023 12:15
@ghost
Copy link

ghost commented Nov 28, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

Copy link
Contributor

Thank you for the PR!

@mtar mtar changed the title new pytorch release workflow Update pytorch release PR workflow Nov 28, 2023
Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (05325e2) 92.17% compared to head (af899f7) 92.17%.

Additional details and impacted files
@@              Coverage Diff               @@
##           release/1.3.x    #1286   +/-   ##
==============================================
  Coverage          92.17%   92.17%           
==============================================
  Files                 75       75           
  Lines              10705    10705           
==============================================
  Hits                9867     9867           
  Misses               838      838           
Flag Coverage Δ
unit 92.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@ClaudiaComito ClaudiaComito left a comment

Choose a reason for hiding this comment

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

If I understand this correctly, the workflow must be triggered manually both on main and on the release branch(es). On the other hand, no further (manual) update of the branch name is necessary.

It looks good to me, it's a good compromise. Thanks a lot @mtar !

Copy link
Contributor

@ClaudiaComito ClaudiaComito left a comment

Choose a reason for hiding this comment

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

trigger matrix

Copy link
Contributor

github-actions bot commented Dec 4, 2023

Thank you for the PR!

@mtar
Copy link
Collaborator Author

mtar commented Dec 5, 2023

If I understand this correctly, the workflow must be triggered manually both on main and on the release branch(es). On the other hand, no further (manual) update of the branch name is necessary.

It looks good to me, it's a good compromise. Thanks a lot @mtar !

Yes, you have to select the branch before manually triggering it.

@ClaudiaComito ClaudiaComito merged commit 3db7af7 into release/1.3.x Dec 6, 2023
6 of 42 checks passed
@ClaudiaComito ClaudiaComito deleted the enhancement/1241-new-pytorch-release-workflow branch December 6, 2023 09:31
mtar added a commit that referenced this pull request Jan 3, 2024
* add back sparse module

* bring back test_signal to pre-merge state

* undo merge damage, part 2 of n

* undo merge damage 2 of 2(?)

* reinstate quick_start.md

* copy from fix/1168-update-docker-image-and-documentation-on-release13x-and-main

* corrected bug

* docker scripts documentation

* Fix tzdata handling and merging multiple actions

The copy of tzdata was originally intended to be used from the root
of the repository. The documentation states building docker images
from the docker directory. This had to be aligned.

Moreover, each RUN line in a Dockerfile represents the building of
another intermediate image. This has to be taken into account when
writing the files. Commands such as "cd" will not work on separate
lines.

* update pre-commit-config

* Fix Pytorch release tracking workflows (#1264)

* upgrade checkout action & use default token

* increase tolerance for single-prec torch.inv comparison

* fix typo

---------

Co-authored-by: Claudia Comito <[email protected]>

* Fix `ht.diff` for 1-element-axis edge case (#1201)

* fix diff axis size one

* fix diff() axis along split

* remove debug code

---------

Co-authored-by: Claudia Comito <[email protected]>

* update version to 1.3.1 before release

* revert

* Update version before release  (#1274)

* update version to 1.3.1 before release

* revert

* update version before release

* Update pytorch release PR workflow (#1286)

* Update pytorch-latest-release.yml

* Update latest-pytorch-support.yml

* Delete .github/workflows/pytorch-latest-main.yml

* Update checkout version

---------

Co-authored-by: Claudia Comito <[email protected]>

* Pin `setup-mpi` version to 1.2.0  in CI matrix  (#1313)

pinning setup-mpi action to version 1.2.0

---------

Co-authored-by: Michael Tarnawa <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* update version

* skip ihfftn tests for older torch versions

* add reason for skipping tests

* fix test skipping heuristics

* raise NotImplementedError for ihfftn with torch<1.11

* fix check for ihfftn

* raise error re: ihfftn support on older torch versions

* expand tests

* Apply suggestions from code review

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: Gutiérrez Hermosillo Muriedas, Juan Pedro <[email protected]>
Co-authored-by: Hoppe <[email protected]>
Co-authored-by: Bjoern Hagemeier <[email protected]>
Co-authored-by: Michael Tarnawa <[email protected]>
Co-authored-by: Fabian Hoppe <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

2 participants