Skip to content

test_graph.py fails with cuda-python==12.6.* #1051

Closed

Description

@leofang

We probably missed a few version checks in the graph implementation.

FAILED test_graph.py::test_graph_straight - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_fork_join - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_is_join_required - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_repeat_capture - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_capture_errors - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_conditional_if[True] - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_conditional_if[False] - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_conditional_if_else[True] - AssertionError: Regex pattern did not match.
FAILED test_graph.py::test_graph_conditional_if_else[False] - AssertionError: Regex pattern did not match.
FAILED test_graph.py::test_graph_conditional_switch[0] - AssertionError: Regex pattern did not match.
FAILED test_graph.py::test_graph_conditional_switch[1] - AssertionError: Regex pattern did not match.
FAILED test_graph.py::test_graph_conditional_switch[2] - AssertionError: Regex pattern did not match.
FAILED test_graph.py::test_graph_conditional_switch[3] - AssertionError: Regex pattern did not match.
FAILED test_graph.py::test_graph_conditional_while[True] - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_conditional_while[False] - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_child_graph - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_update - AssertionError: Regex pattern did not match.
FAILED test_graph.py::test_graph_stream_lifetime - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'
FAILED test_graph.py::test_graph_complete_options - AttributeError: type object 'CUgraphInstantiateResult' has no attribute 'CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED'

Activity

  1. added
    bugSomething isn't working
    triageNeeds the team's attention
    cuda.coreEverything related to the cuda.core module
    on Sep 30, 2025
  2. changed the title [-]`test_graph.py` fails with `cuda-bindings==12.6.*`[/-] [+]`test_graph.py` fails with `cuda-python==12.6.*`[/+] on Sep 30, 2025
  3. added
    P1Medium priority - Should do
    and removed
    triageNeeds the team's attention
    on Oct 2, 2025
  4. added this to the cuda.core beta 8 milestone on Oct 2, 2025
  5. added theissue type on Nov 10, 2025
  6. added a commit that references this issue on Nov 12, 2025
    fe7c9e8
  7. added a commit that references this issue on Nov 13, 2025
    9aaa671
  8. added 3 commits that reference this issue on Nov 18, 2025
    2ff1b22
    039ea97
    9aebc85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1Medium priority - Should dobugSomething isn't workingcuda.coreEverything related to the cuda.core module

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions