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

Remove original device preprocessing (new API) #636

Merged
merged 8 commits into from
Apr 4, 2024

Conversation

rmoyard
Copy link
Contributor

@rmoyard rmoyard commented Apr 4, 2024

Context:
The device preprocessing from lightning is currently not compatible with Catalyst.

Description of the Change:
This PR adds the discard of the original preprocessing.

Benefits:
Easier support for Lightning.

Possible Drawbacks:
Device specific preprocessing is ignored.

@rmoyard rmoyard marked this pull request as ready for review April 4, 2024 15:07
@rmoyard
Copy link
Contributor Author

rmoyard commented Apr 4, 2024

[sc-60560]

Copy link
Contributor

@erick-xanadu erick-xanadu left a comment

Choose a reason for hiding this comment

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

🥳

frontend/catalyst/qjit_device.py Outdated Show resolved Hide resolved
frontend/test/lit/test_device_api.py Show resolved Hide resolved
frontend/test/pytest/test_device_api.py Outdated Show resolved Hide resolved
frontend/catalyst/qjit_device.py Outdated Show resolved Hide resolved
frontend/test/pytest/test_device_api.py Outdated Show resolved Hide resolved
@rmoyard rmoyard enabled auto-merge (squash) April 4, 2024 18:31
Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.48%. Comparing base (d158e0c) to head (15bfc7c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #636   +/-   ##
=======================================
  Coverage   99.48%   99.48%           
=======================================
  Files          54       54           
  Lines        9054     9056    +2     
  Branches      682      682           
=======================================
+ Hits         9007     9009    +2     
  Misses         25       25           
  Partials       22       22           

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

@rmoyard rmoyard merged commit 0048224 into main Apr 4, 2024
35 checks passed
@rmoyard rmoyard deleted the remove_original_device_preprocessing branch April 4, 2024 19:51
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.

None yet

2 participants