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

Integrate LGPU to Catalyst #928

Merged
merged 108 commits into from
Oct 30, 2024
Merged

Integrate LGPU to Catalyst #928

merged 108 commits into from
Oct 30, 2024

Conversation

multiphaseCFD
Copy link
Member

@multiphaseCFD multiphaseCFD commented Oct 1, 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:

[SC-73065]

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

Copy link
Contributor

github-actions bot commented Oct 1, 2024

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.

@multiphaseCFD multiphaseCFD added the WIP Work-in-progress issue. Not for general fixing. label Oct 1, 2024
multiphaseCFD and others added 16 commits October 1, 2024 18:38
… Lightning (#924)

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

**Description of the Change:**

**Benefits:**

**Possible Drawbacks:**

**Related GitHub Issues:**
[sc-74415]

---------

Co-authored-by: ringo-but-quantum <[email protected]>
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

Attention: Patch coverage is 99.90754% with 2 lines in your changes missing coverage. Please review.

Please upload report for BASE (v0.39.0_rc@a38b036). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...s/lightning_gpu/catalyst/LightningGPUSimulator.hpp 95.00% 1 Missing ⚠️
pennylane_lightning/lightning_gpu/lightning_gpu.py 94.44% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             v0.39.0_rc     #928   +/-   ##
=============================================
  Coverage              ?   97.95%           
=============================================
  Files                 ?      255           
  Lines                 ?    38096           
  Branches              ?        0           
=============================================
  Hits                  ?    37316           
  Misses                ?      780           
  Partials              ?        0           

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

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.

Great work @multiphaseCFD! Happy to approve this soon 🎉

Copy link
Member

@paul0403 paul0403 left a comment

Choose a reason for hiding this comment

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

Thanks! No major complaints from my end 🎈

After #960 is merged, we will have all lightning.qubit/kokkos/gpu's catalyst api in lightning repository proper. There is a significant amount of overlapping code, so we can finally refactor then!

@multiphaseCFD
Copy link
Member Author

Thanks! No major complaints from my end 🎈

After #960 is merged, we will have all lightning.qubit/kokkos/gpu's catalyst api in lightning repository proper. There is a significant amount of overlapping code, so we can finally refactor then!

Thanks @paul0403 ! As you said, refactoring is definitely next step.

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.

Nice work! Happy to approve 🎉

@multiphaseCFD multiphaseCFD changed the base branch from master to v0.39.0_rc October 30, 2024 14:15
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.

Nothing more to add. 🙂

@multiphaseCFD multiphaseCFD merged commit 0fc077e into v0.39.0_rc Oct 30, 2024
124 checks passed
@multiphaseCFD multiphaseCFD deleted the add_LGPUSIM branch October 30, 2024 16:30
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 ci:use-multi-gpu-runner Enable usage of Multi-GPU runner for this Pull Request urgent Mark a pull request as high priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants