Skip to content

Torch profiler fails by default on pytorch==2.5.0 #1810

@dorian-K

Description

@dorian-K

I set torch_profile = True in my config

The default args for torch.profiler.profiler.schedule include skip_first_wait=0, but this option is not available in torch 2.5.0: https://docs.pytorch.org/docs/2.5/profiler.html#torch.profiler.schedule

I would be good to have the default configuration not crash

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