KEMBAR78
Support for submission to OQC backends by jfriel-oqc · Pull Request #435 · NVIDIA/cuda-quantum · GitHub
Skip to content

Conversation

@jfriel-oqc
Copy link
Contributor

Description

Adding the server helper for OQC and tets.

Some particular points:

  1. is it worth rebuilding the tests for restful helpers paramtrised? There seemed nothing specific to me bar the credentials
  2. Had to modify the executor to cover the behaviour that we don't return ID's on submission because ID's are fetched before. Will make this change on our end, it makes sense. So hopefully this change is okay as a temporary measure
  3. Tested python locally and passing, as it breaks CI as noted
  4. Haven't updated docs as I don't think anything needs to change here without a platform? Please let me know otherwise

@github-actions
Copy link

github-actions bot commented Jul 18, 2023

CLA Assistant Lite bot All Contributors have signed the CLA.

@jfriel-oqc
Copy link
Contributor Author

I have read the Contributor License Agreement and I hereby accept the Terms.

Copy link
Collaborator

@bmhowe23 bmhowe23 left a comment

Choose a reason for hiding this comment

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

I had to make a few changes to be able to execute the mock server tests. Please take a look at the comments and let me know what you think. After making these changes [*], I am still getting some failing tests, so depending on what additional changes are made, there may still be additional issues to resolve.

[*] I also merged in the latest from main , and I'd recommend that you also do so. I think it went fairly smoothly (as far as I can tell).

FWIW, the failures remaining after that are:

[  FAILED  ] oqc_OQCTester.checkObserveSync
[  FAILED  ] oqc_OQCTester.checkObserveAsync
[  FAILED  ] oqc_OQCTester.checkObserveAsyncLoadFromFile

@oarnold-oqc oarnold-oqc force-pushed the feature/oqc_integration branch from bf0e1dd to bd2397e Compare August 25, 2023 14:57
@bmhowe23
Copy link
Collaborator

bmhowe23 commented Aug 25, 2023

/ok to test

Command Bot: Processing...

@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Aug 25, 2023
@bmhowe23
Copy link
Collaborator

bmhowe23 commented Aug 25, 2023

/ok to test

Command Bot: Processing...

@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Aug 25, 2023
Copy link
Collaborator

@bmhowe23 bmhowe23 left a comment

Choose a reason for hiding this comment

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

Overall it's looking pretty good. I just have a few questions, and it looks like some of the oqc-tests are failing for me. (Those are the server helper tests, which are not run by default.)

root@docker-desktop:/workspaces/cuda-quantum/build# ctest -R oqc-tests --output-on-failure
[  FAILED  ] oqc_OQCTester.checkObserveSync
[  FAILED  ] oqc_OQCTester.checkObserveAsync
[  FAILED  ] oqc_OQCTester.checkObserveAsyncLoadFromFile

@oarnold-oqc oarnold-oqc force-pushed the feature/oqc_integration branch from ae305c1 to b3808ad Compare August 28, 2023 20:52
@oarnold-oqc oarnold-oqc force-pushed the feature/oqc_integration branch from b3808ad to 9c923e2 Compare August 28, 2023 21:15
@bmhowe23
Copy link
Collaborator

bmhowe23 commented Aug 30, 2023

/ok to test

Command Bot: Processing...

@bmhowe23
Copy link
Collaborator

bmhowe23 commented Sep 1, 2023

/ok to test

Command Bot: Processing...

@github-actions
Copy link

github-actions bot commented Sep 1, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Sep 1, 2023
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Sep 5, 2023
Co-authored-by: Ben Howe <141149032+bmhowe23@users.noreply.github.com>
@bmhowe23
Copy link
Collaborator

bmhowe23 commented Sep 6, 2023

/ok to test

Command Bot: Processing...

@github-actions
Copy link

github-actions bot commented Sep 6, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Sep 6, 2023
@bmhowe23
Copy link
Collaborator

bmhowe23 commented Sep 7, 2023

With today's updates to the OQC backend, I was able to get our cuda-quantum integration tests to complete on the OQC sandbox. (Thanks for your help!) Please a) merge the latest from main into this PR branch, and b) incorporate these updates to correct the parsing issues. Note that one of the updates was to PLATFORM_LOWERING_CONFIG to account for other changes that have made it into the main branch since this PR started.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Sep 8, 2023

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@bmhowe23
Copy link
Collaborator

bmhowe23 commented Sep 8, 2023

/ok to test

Command Bot: Processing...

@github-actions
Copy link

github-actions bot commented Sep 8, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Sep 8, 2023
@bmhowe23
Copy link
Collaborator

bmhowe23 commented Sep 8, 2023

Here are some suggested updates to resolve all of the current CI issues. Note that you likely need to apply the prior update in order for this patch to apply cleanly.

…ove server helper results handling and correct to entry_point and EntryPoint in mock qpu.
@bmhowe23
Copy link
Collaborator

bmhowe23 commented Sep 8, 2023

/ok to test

Command Bot: Processing...

@github-actions
Copy link

github-actions bot commented Sep 8, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Sep 8, 2023
Copy link
Collaborator

@bmhowe23 bmhowe23 left a comment

Choose a reason for hiding this comment

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

If we can get one (hopefully) final merge-down from main, we can get this pushed in today. Thanks for all your support on this!

@bmhowe23
Copy link
Collaborator

bmhowe23 commented Sep 8, 2023

/ok to test

Command Bot: Processing...

@bmhowe23 bmhowe23 enabled auto-merge (squash) September 8, 2023 16:30
@bmhowe23 bmhowe23 merged commit 97df76c into NVIDIA:main Sep 8, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2023
@bettinaheim bettinaheim added this to the release 0.4.1 milestone Sep 27, 2023
@bettinaheim bettinaheim changed the title OQC integration through rest server helper Support for submission to OQC backends Nov 15, 2023
@bettinaheim bettinaheim added enhancement New feature or request no release notes Don't list this PR in the release notes labels Nov 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request no release notes Don't list this PR in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants