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

Fix random CI failures of lightning.tensor #761

Merged
merged 16 commits into from
Jun 13, 2024
Merged

Conversation

multiphaseCFD
Copy link
Member

@multiphaseCFD multiphaseCFD commented Jun 13, 2024

Before submitting

Please complete the following checklist when submitting a PR:

  • All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to the
    tests directory!

  • All new functions and code must be clearly commented and documented.
    If you do make documentation changes, make sure that the docs build and
    render correctly by running make docs.

  • Ensure that the test suite passes, by running make test.

  • Add a new entry to the .github/CHANGELOG.md file, summarizing the
    change, and including a link back to the PR.

  • Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Context:

Currently, there are random CI build failures of lightning.tensor due to the missing of CUQUANTUM_SDK env

Description of the Change:

Ignore lightning_tensor path in workflow

Benefits:

Possible Drawbacks:

Related GitHub Issues:

@multiphaseCFD multiphaseCFD marked this pull request as ready for review June 13, 2024 03:06
Copy link

codecov bot commented Jun 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.37%. Comparing base (75d9c92) to head (2bb4aa3).
Report is 94 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #761      +/-   ##
==========================================
+ Coverage   90.14%   98.37%   +8.23%     
==========================================
  Files         108       91      -17     
  Lines       14075    13742     -333     
==========================================
+ Hits        12688    13519     +831     
+ Misses       1387      223    -1164     

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

@multiphaseCFD multiphaseCFD changed the title Fix random CI failures of lightning.tensor due to the missing of CUQUANTUM_SDK env Fix random CI failures of lightning.tensor Jun 13, 2024
@AmintorDusko
Copy link
Contributor

Nice work! One more question. How did you check if the intermittent build failures are not happening anymore?

Copy link
Contributor

@vincentmr vincentmr left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks @multiphaseCFD .

multiphaseCFD and others added 2 commits June 13, 2024 09:26
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>
@multiphaseCFD
Copy link
Member Author

multiphaseCFD commented Jun 13, 2024

Nice work! One more question. How did you check if the intermittent build failures are not happening anymore?

Good question @AmintorDusko ! Not a strict criteria. Just re-triggered CI for 2-3 times and check if there is any failure for TN python CI tests.

Copy link
Member

@maliasadi maliasadi left a comment

Choose a reason for hiding this comment

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

Thanks @multiphaseCFD! 🎉

@multiphaseCFD multiphaseCFD merged commit 56c3064 into master Jun 13, 2024
83 checks passed
@multiphaseCFD multiphaseCFD deleted the fix_ltensor_py_ci branch June 13, 2024 13:59
multiphaseCFD added a commit that referenced this pull request Jun 13, 2024
Please complete the following checklist when submitting a PR:

- [ ] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to
the
      [`tests`](../tests) directory!

- [ ] All new functions and code must be clearly commented and
documented.
If you do make documentation changes, make sure that the docs build and
      render correctly by running `make docs`.

- [ ] Ensure that the test suite passes, by running `make test`.

- [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
the
      change, and including a link back to the PR.

- [x] Ensure that code is properly formatted by running `make format`.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

------------------------------------------------------------------------------------------------------------

**Context:**

Currently, there are random CI build failures of `lightning.tensor` due
to the missing of `CUQUANTUM_SDK` env

**Description of the Change:**

Ignore `lightning_tensor` path in workflow

**Benefits:**

**Possible Drawbacks:**

**Related GitHub Issues:**

---------

Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>
@AmintorDusko
Copy link
Contributor

Late for the party. 😢

@multiphaseCFD
Copy link
Member Author

Late for the party. 😢

Another one is on the way @AmintorDusko 🔢

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.

5 participants