____________________________________________________________ test_reconstructed_body_survives_parent_deletion ____________________________________________________________
init_cuda = <Device 0 (NVIDIA RTX 6000 Ada Generation)>
def test_reconstructed_body_survives_parent_deletion(init_cuda):
"""Body graph obtained via nodes() reconstruction survives parent deletion."""
g = GraphDefinition()
condition = try_create_condition(g)
g.while_loop(condition)
> all_nodes = g.nodes()
^^^^^^^^^
condition = <GraphCondition handle=0x1>
g = <GraphDefinition handle=0x5c76568fe9c0>
init_cuda = <Device 0 (NVIDIA RTX 6000 Ada Generation)>
tests/graph/test_graph_definition_lifetime.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cuda/core/graph/_graph_definition.pyx:328: in cuda.core.graph._graph_definition.GraphDefinition.nodes
return {GraphNode._create(self._h_graph, nodes_vec[i]) for i in range(num_nodes)}
cuda/core/graph/_graph_node.pyx:90: in cuda.core.graph._graph_node.GraphNode._create
return GN_create(h_graph, node)
cuda/core/graph/_graph_node.pyx:581: in cuda.core.graph._graph_node.GN_create
return _registered(GN_create_impl(h_node))
cuda/core/graph/_graph_node.pyx:610: in cuda.core.graph._graph_node.GN_create_impl
return ConditionalNode._create_from_driver(h_node)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> params = handle_return(driver.cuGraphNodeGetParams(
E AttributeError: module 'cuda.bindings.driver' has no attribute 'cuGraphNodeGetParams'
cuda/core/graph/_subclasses.pyx:641: AttributeError
======================================================================== short test summary info =========================================================================
FAILED tests/graph/test_graph_definition_lifetime.py::test_reconstructed_body_survives_parent_deletion - AttributeError: module 'cuda.bindings.driver' has no attribute 'cuGraphNodeGetParams'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================================================== 1 failed, 252 passed, 35 skipped in 6.74s ================================================================
Is this a duplicate?
Type of Bug
Runtime Error
Component
cuda.core
Describe the bug
How to Reproduce
Use cuda-bindings 13.1 + CUDA driver 13.2 + latest cuda-core
Expected behavior
test pass
Operating System
No response
nvidia-smi output
No response