Skip to content

在paddle中如何对模型进行显存占用分析? #38193

@geoexploring

Description

@geoexploring

在Pytorch中可以利用torch.cuda.memory_allocated()torch.cuda.max_memory_allocated()torch.cuda.memory_reserved()对模型进行显存占用分析,具体可参看PyTorch显存机制分析.

但是,我在paddle中没有找到对应的api,请问paddle中有相应的api吗?

谢谢!

Metadata

Metadata

Assignees

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