Skip to content

Tensorflow and multiple CUDA streams #8549

@eyalhir74

Description

@eyalhir74

Tensorflow creates a single compute CUDA stream, hence if my model runs a small kernel, I am unable to run multiple kernels on multiple compute streams.

I was hoping that if I load multiple tensorflow instances of the same model, each would get a different CUDA stream. However looking via nsys profiler - I still see only one CUDA stream where all my clients inference calls go to and I don't get the multi stream option.

Is it configurable? Is there something that can be done about it?

thanks
Eyal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions