Skip to content

Commit fff80c3

Browse files
* The docs/sphinx/applications/python/afqmc.ipynb notebook has
failures originating potentially from third-party libraries. This issue is captured in NVIDIA#2577. While we work on a fix separately, this PR proposes to skip that specific notebook in validation stage to get rest of the CI pipeline to succeed. Signed-off-by: Pradnya Khalate <[email protected]>
1 parent 22ffd96 commit fff80c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/notebook_validation.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ def print_results(success, failed, skipped=[]):
9999
notebooks_success, notebooks_skipped, notebooks_failed = (
100100
[] for i in range(3))
101101
for notebook_filename in notebook_filenames:
102-
if (validate(notebook_filename, available_backends)):
102+
## See: https://github.com/NVIDIA/cuda-quantum/issues/2577
103+
if os.path.basename(notebook_filename) in ["afqmc.ipynb"]:
104+
notebooks_skipped.append(notebook_filename)
105+
elif (validate(notebook_filename, available_backends)):
103106
if (execute(notebook_filename)):
104107
notebooks_success.append(notebook_filename)
105108
else:

0 commit comments

Comments
 (0)