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 the missing ninja in AARCH64 Linux wheel recipe #1007

Merged
merged 18 commits into from
Nov 28, 2024

Conversation

maliasadi
Copy link
Member

@maliasadi maliasadi commented Nov 26, 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:

  • Fix the missing ninja in Linux AARCH64 wheels recipe (Fix the issue reported here)
  • Upgrade the Kokkos version support to 4.5.00.

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:
[sc-79255]

@maliasadi maliasadi added ci:build_wheels Activate wheel building. urgent Mark a pull request as high priority ci:use-gpu-runner Enable usage of GPU runner for this Pull Request labels Nov 26, 2024
Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit .github/CHANGELOG.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.14%. Comparing base (7ba7779) to head (57dac52).
Report is 1 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (7ba7779) and HEAD (57dac52). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (7ba7779) HEAD (57dac52)
8 7
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1007       +/-   ##
===========================================
- Coverage   95.70%   39.14%   -56.57%     
===========================================
  Files         228       43      -185     
  Lines       35877     2956    -32921     
===========================================
- Hits        34337     1157    -33180     
- Misses       1540     1799      +259     

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

Copy link
Member

@multiphaseCFD multiphaseCFD 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 @maliasadi !

@maliasadi maliasadi removed the ci:use-gpu-runner Enable usage of GPU runner for this Pull Request label Nov 26, 2024
Copy link
Contributor

@LuisAlfredoNu LuisAlfredoNu 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 @maliasadi
Just one comment 👀

.github/workflows/wheel_linux_aarch64.yml Outdated Show resolved Hide resolved
@AmintorDusko
Copy link
Contributor

AmintorDusko commented Nov 27, 2024

Hey @maliasadi, this problem can be a fluke. I re-ran the failed test to check. I also checked the logs and there is nothing obvious there. The main problem is that Python is not finding LKokkos binaries. If the error persists, could you please check if the binaries are where they should be?

@AmintorDusko
Copy link
Contributor

The error is still there. Python can't find the binaries.

@maliasadi
Copy link
Member Author

Building both Kokkos and Lightning-Kokkos with GCC-13 fixed the last issue on Linux AARCH64.

Copy link
Contributor

@LuisAlfredoNu LuisAlfredoNu left a comment

Choose a reason for hiding this comment

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

Thank you @maliasadi
Good work!

@maliasadi maliasadi merged commit bcdf38d into master Nov 28, 2024
97 of 98 checks passed
@maliasadi maliasadi deleted the fix_aarch64_wheels branch November 28, 2024 22:11
maliasadi added a commit that referenced this pull request Nov 28, 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`](../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:**

PR #1007 forced all CIs to build and test Kokkos and Lightning-Kokkos
with GCC-13. [This change broke the LK testing
action](https://github.com/PennyLaneAI/pennylane-lightning/actions/runs/12075970714/job/33676642868)
as we still use GCC11 for testing Lightning, and GCC13 for building
wheels inside manylinux_2_28. This PR reverts that change for now :(


**Description of the Change:**

**Benefits:**

**Possible Drawbacks:**

**Related GitHub Issues:**

---------

Co-authored-by: ringo-but-quantum <[email protected]>
multiphaseCFD pushed a commit that referenced this pull request Nov 28, 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`](../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:**

PR #1007 forced all CIs to build and test Kokkos and Lightning-Kokkos
with GCC-13. [This change broke the LK testing
action](https://github.com/PennyLaneAI/pennylane-lightning/actions/runs/12075970714/job/33676642868)
as we still use GCC11 for testing Lightning, and GCC13 for building
wheels inside manylinux_2_28. This PR reverts that change for now :(


**Description of the Change:**

**Benefits:**

**Possible Drawbacks:**

**Related GitHub Issues:**

---------

Co-authored-by: ringo-but-quantum <[email protected]>
multiphaseCFD pushed a commit that referenced this pull request Dec 2, 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`.

- [ ] 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:**

PR #1007 forced all CIs to build and test Kokkos and Lightning-Kokkos
with GCC-13. [This change broke the LK testing
action](https://github.com/PennyLaneAI/pennylane-lightning/actions/runs/12075970714/job/33676642868)
as we still use GCC11 for testing Lightning, and GCC13 for building
wheels inside manylinux_2_28. This PR reverts that change for now :(

**Description of the Change:**

**Benefits:**

**Possible Drawbacks:**

**Related GitHub Issues:**

---------

Co-authored-by: ringo-but-quantum <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:build_wheels Activate wheel building. urgent Mark a pull request as high priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants