Skip to content

[Workflow][1/3] Remove benchmack tests from rerun disbled tests#139337

Closed
yangw-dev wants to merge 32 commits intopytorch:mainfrom
yangw-dev:addInductorRerun
Closed

[Workflow][1/3] Remove benchmack tests from rerun disbled tests#139337
yangw-dev wants to merge 32 commits intopytorch:mainfrom
yangw-dev:addInductorRerun

Conversation

@yangw-dev
Copy link
Copy Markdown
Contributor

@yangw-dev yangw-dev commented Oct 30, 2024

Fixes #5774

Overview

Remove benchmark tests from rerun-disabled-tests, this is considered non-unittest.
See one page doc: [Bootcamp Task] Remove non-unittest test during rerun-disabled-tests

Manual Test

Steps to fix the issue

  • [THIS PR] Create inductor-unittest.yml to handle unit test and daily rerun for inductor
  • Create Inductor-cu124-unittest.yml to handle unit tests and daily rerun for inductor-cu124
  • Disable benchmark test in mixed test such as CPP_Wrapper which includes both unittest and benchmark test

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Oct 30, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 4d1ec56 with merge base a426837 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Oct 30, 2024
@yangw-dev yangw-dev changed the title test [Workflow] Remove benchmack tests Oct 31, 2024
@yangw-dev yangw-dev changed the title [Workflow] Remove benchmack tests [Workflow] Remove benchmack tests from rerun disbled tests Oct 31, 2024
@yangw-dev yangw-dev requested review from clee2000 and huydhn October 31, 2024 16:15
@yangw-dev yangw-dev marked this pull request as ready for review October 31, 2024 16:16
@yangw-dev yangw-dev requested a review from a team as a code owner October 31, 2024 16:16
@yangw-dev yangw-dev requested a review from huydhn October 31, 2024 17:36
@yangw-dev yangw-dev marked this pull request as draft October 31, 2024 17:38
@yangw-dev yangw-dev marked this pull request as ready for review October 31, 2024 18:20
Copy link
Copy Markdown
Contributor

@huydhn huydhn left a comment

Choose a reason for hiding this comment

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

LGTM!

@yangw-dev yangw-dev removed the request for review from clee2000 October 31, 2024 19:33
@yangw-dev
Copy link
Copy Markdown
Contributor Author

Test for input in workflow-level concurrency, echo event for:

  echo-event:
    runs-on: ubuntu-latest
    steps:
      - name: Echo GitHub Event
        env:
          GITHUB_EVENT: ${{ toJson(github.event) }}
        run: echo "$GITHUB_EVENT"

https://github.com/pytorch/pytorch/actions/runs/11620892828/job/32363610907?pr=139337
Seems like no inputs is in there

@yangw-dev
Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 1, 2024
@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

rahulsingh-intel pushed a commit to rahulsingh-intel/pytorch that referenced this pull request Nov 5, 2024
…rch#139337)

Fixes [pytorch#5774](pytorch/test-infra#5774)
# Overview
Remove benchmark tests from rerun-disabled-tests, this is considered non-unittest.
See one page doc: [[Bootcamp Task] Remove non-unittest test during rerun-disabled-tests](https://docs.google.com/document/d/1xffkt_LNC5ZLsoVQDmuKbNqYnMUW_xYYStv66Pr-qac/edit?tab=t.0)

# Manual Test
- Test run Inductor.yml:
https://github.com/pytorch/pytorch/actions/runs/11603287758/job/32309968542?pr=139337
- Test run inductor-unittest.yml ([3cbd83d](pytorch@3cbd83d))
https://github.com/pytorch/pytorch/actions/runs/11605399925/job/32315737205?pr=139337

# Steps to fix the issue

- [x]  [**THIS PR**] Create inductor-unittest.yml to handle unit test and daily rerun for inductor
- [ ] Create Inductor-cu124-unittest.yml to handle unit tests and daily rerun for inductor-cu124
- [ ] Disable benchmark test in mixed test such as CPP_Wrapper which includes both unittest and benchmark test

Pull Request resolved: pytorch#139337
Approved by: https://github.com/huydhn
pytorchmergebot pushed a commit that referenced this pull request Jan 10, 2025
This has been failing in trunk for sometimes, let's just update the accuracy results first.  The command I run `python benchmarks/dynamo/ci_expected_accuracy/update_expected.py 127f836`.  I also fix the update script a bit to make it working after #139337

Pull Request resolved: #144523
Approved by: https://github.com/kit1980, https://github.com/Skylion007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rerun disable tests should not run benchmarks/dynamo in ciflow/inductor

3 participants