Skip to content

[Profiling] Help needed with Profiling CT2 on both CUDA and CPU #1734

@prasad-pr-20

Description

@prasad-pr-20

Hi All,

I'm trying to profile the ct2 model on both CPU and CUDA, but I'm unable to see any data output when using the '-DENABLE_PROFILING=ONflag inCMakeLists.txt`.

Specifically, I'm trying to profile the transformers module on both CUDA and CPU. I have attempted to wrap the init_profiling and dump_profiling functions around the model, but I still don't see any profiling outputs on the cout stream.

Could anyone provide guidance on this issue or point me to the relevant documentation or examples? Any help would be greatly appreciated.

Thanks in advance!

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