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

Upgrade LK/LGPU CI tests to use cuda 12.4 #1023

Merged
merged 24 commits into from
Dec 16, 2024
Merged

Upgrade LK/LGPU CI tests to use cuda 12.4 #1023

merged 24 commits into from
Dec 16, 2024

Conversation

josephleekl
Copy link
Contributor

@josephleekl josephleekl commented Dec 11, 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:
Lightning Kokkos CUDA C++ tests fail to compile due to bug with CUDA 12.2 + Catch2. CI instance is now upgraded to CUDA 12.4, and all GPU CI tests ([LK, LGPU/LTensor]x[C++, Python]) need to be updated to load CUDA 12.4.

Description of the Change:
Update github workflow to load CUDA 12.4. Also change Lightning Kokkos C++ test to use Release build instead of RelWithDebInfo due to segmentation fault when combined with coverage collection. The relevant test and line is here.

Benefits:
Will be able to run Lightning Kokkos C++ tests with CUDA.

Possible Drawbacks:

Related GitHub Issues:

[sc-80288]

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.42%. Comparing base (e9a3b80) to head (0206a51).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1023      +/-   ##
==========================================
- Coverage   96.75%   92.42%   -4.33%     
==========================================
  Files         233      112     -121     
  Lines       39910    16923   -22987     
==========================================
- Hits        38614    15641   -22973     
+ Misses       1296     1282      -14     

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

@josephleekl josephleekl changed the title Upgrade LK CI tests to use cuda 12.4 Upgrade LK/LGPU CI tests to use cuda 12.4 Dec 12, 2024
@josephleekl josephleekl added ci:use-gpu-runner Enable usage of GPU runner for this Pull Request draft Indicates that the PR is still in draft mode, but needs CIs. labels Dec 12, 2024
@josephleekl josephleekl marked this pull request as ready for review December 12, 2024 20:10
@josephleekl josephleekl added ci:build_wheels Activate wheel building. and removed draft Indicates that the PR is still in draft mode, but needs CIs. labels Dec 13, 2024
Copy link
Contributor

@AmintorDusko AmintorDusko left a comment

Choose a reason for hiding this comment

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

This is great, thanks!

@AmintorDusko
Copy link
Contributor

This is great, thanks!

Before merging could you please run, stable/stable and latest/latest?

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.

LGTM! Thanks @josephleekl

@josephleekl
Copy link
Contributor Author

This is great, thanks!

Before merging could you please run, stable/stable and latest/latest?

Thanks Amintor! I'll update the latest/latest workflow to check this, as well as run the stable/stable

@josephleekl josephleekl merged commit 1782bbd into master Dec 16, 2024
82 of 83 checks passed
@josephleekl josephleekl deleted the lk_cuda_12-4 branch December 16, 2024 15:52
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. ci:use-gpu-runner Enable usage of GPU runner for this Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants