Skip to content

[Documentation] How to profile the GPU memory info for a onnxruntime session? #24993

Open
@pineking

Description

@pineking

Describe the documentation issue

How to profile the GPU memory info for a onnxruntime session?
e.g.

onnx_session = onnxruntime.InferenceSession(detect_model,sess_options,providers=exec_providers)
print(onnx_session.memory_consumption())

Is there a python API to show the GPU memory consumption?

Page / URL

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationimprovements or additions to documentation; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions