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

Refactored 2.16 release into a more reusable template #205

Merged
merged 1 commit into from Mar 20, 2024

Conversation

EricLeFort
Copy link
Collaborator

@EricLeFort EricLeFort commented Mar 16, 2024

Description

Refactors the release DAG to allow for easy swapping of versions for reuse in future releases and renames the modules to be more generic (...tf_release... instead of ...tf_2_16...).

Also changes some typing references (e.g. list instead of typing.List) to adhere to Python best practices PEP 585. This specific change will require python 3.11+ but adding from __future__ import annotations can allow python 3.7+. If we still need to support the older versions, I can update this change to include that.

Tests

Ran 2.16 release PJRT and SE keras tests, both were successful.

List links for your tests (use go/shortn-gen for any internal link):
Variety of tests of both nightly and 2.15.1 DAGS as well as from resnet and tf-keras tests:
http://shortn/_2sfrmqsyfr
http://shortn/_v5h49gyH6t
http://shortn/_MNIr72f9Z5
http://shortn/_WBsR2NNTlT
http://shortn/_MbmkG5jqOF
http://shortn/_HVtxmvAvoP
http://shortn/_XneLXMOyTn
Note: nightly tests are failing but they're failing for the same reason as they are in the dashboard.

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run one-shot tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed.

@EricLeFort
Copy link
Collaborator Author

Looks like GitHub's dag checker is using Python < 3.11 so I may as well just add the 3.7+ support. Fixing.

Copy link
Collaborator

@RissyRan RissyRan left a comment

Choose a reason for hiding this comment

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

Thanks Eric! Others look good to me!

@RissyRan
Copy link
Collaborator

RissyRan commented Mar 19, 2024 via email

@EricLeFort EricLeFort force-pushed the tf-release-dag-refactor branch 3 times, most recently from 6047b27 to 69123ff Compare March 20, 2024 19:59
@EricLeFort
Copy link
Collaborator Author

@RissyRan The 2.15.0 release DAG didn't even exist when I started on 2.16.0. We also only run release tests using manual triggers these days. So I'm not sure but it doesn't seem like it.

Copy link
Collaborator

@RissyRan RissyRan left a comment

Choose a reason for hiding this comment

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

LGTM. I am not sure the current release process (if a single release still is monitored for 3-6 months, so we will have multiple release dags).

I see owner has approved. We could always come back to update variables

@EricLeFort EricLeFort merged commit 067303b into master Mar 20, 2024
6 checks passed
@EricLeFort EricLeFort deleted the tf-release-dag-refactor branch March 20, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants