Skip to content

[BUG]: cuStreamBeginCaptureToGraph dependencyData should be optional #617

Closed

Description

@vzhurba01

Is this a duplicate?

Type of Bug

Runtime Error

Component

cuda.bindings

Describe the bug

numDependencies should only apply to dependencies but is incorrectly applied to dependencyData as well. Recall that dependencyData is optional.

How to Reproduce

Call API with optional set to None and the rest with arrays and length.

Expected behavior

Should pass without raising "E RuntimeError: List is too small: 0 < 1"

Operating System

No response

nvidia-smi output

No response

Activity

  1. added
    bugSomething isn't working
    P1Medium priority - Should do
    cuda.bindingsEverything related to the cuda.bindings module
    on May 6, 2025
  2. changed the title [-][BUG]: cuStreamBeginCaptureToGraph `dependencyData` should not need to match the size of `dependencies`[/-] [+][BUG]: cuStreamBeginCaptureToGraph `dependencyData` should not depend on `numDependencies`[/+] on May 6, 2025
  3. changed the title [-][BUG]: cuStreamBeginCaptureToGraph `dependencyData` should not depend on `numDependencies`[/-] [+][BUG]: cuStreamBeginCaptureToGraph `dependencyData` should be optional[/+] on May 6, 2025
  4. leofang commented on Aug 6, 2025

    @leofang
    Member

    Discussed with Vlad offline. This issue can be fixed later since it would not break the API.

  5. leofang commented on Oct 2, 2025

    @leofang
    Member

    (Note: This is is P1, so it's ok to slip.)

  6. moved this from Todo to Done in CCCLon Oct 24, 2025
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.bindingsEverything related to the cuda.bindings module

Type

No type

Projects

  • Status
    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions