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 failing NVQC integration tests #2300

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

annagrin
Copy link
Collaborator

Description

Disable building_kernels.py test for NVQC integration tests (it requires state pointer argument synthesis to work, which requires a fix for #2299)

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.

Thanks, @annagrin. Could you please add a link to #2299 in this file itself to explain that is the reason for this test being disabled? (We should probably do that for the others too, but those can probably wait.)

@@ -181,7 +181,7 @@ do
# Skipped long-running tests (variational optimization loops) for the "remote-mqpu" target to keep CI runtime managable.
# A simplified test for these use cases is included in the 'test/Remote-Sim/' test suite.
# Skipped tests that require passing kernel callables to entry-point kernels for the "remote-mqpu" target.
if [[ "$ex" == *"vqe_h2"* || "$ex" == *"qaoa_maxcut"* || "$ex" == *"gradients"* || "$ex" == *"grover"* || "$ex" == *"multi_controlled_operations"* || "$ex" == *"phase_estimation"* || "$ex" == *"trotter_kernel_mode"* || "$ex" == *"builder.cpp"* ]];
if [[ "$ex" == *"vqe_h2"* || "$ex" == *"qaoa_maxcut"* || "$ex" == *"gradients"* || "$ex" == *"grover"* || "$ex" == *"multi_controlled_operations"* || "$ex" == *"phase_estimation"* || "$ex" == *"building_kernels"* || "$ex" == *"trotter_kernel_mode"* || "$ex" == *"builder.cpp"* ]];
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oops, I meant to put the comment here: Could you please add a link to #2299 in this file itself to explain that is the reason for this test being disabled? (We should probably do that for the others too, but those can probably wait.)

Copy link
Collaborator

@bmhowe23 bmhowe23 Oct 18, 2024

Choose a reason for hiding this comment

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

On second thought, I think these changes should be reverted because I think the required changes would be near here instead:

# Test NVQC Python examples + Python MLIR execution tests (not IR tests)
.

And here:

for ex in `find examples/python python/tests/mlir/target -name '*.py'`; do

@sacpis sacpis enabled auto-merge (squash) November 12, 2024 19:46
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.

3 participants