Skip to content

how to enable torch.compile when use Megatron-LM as training backend? #381

@robotsp

Description

@robotsp

As described, torch.compile seems not compatible with megatron-lm, especially when I train the model with PP/TP/EP etc. How Can I Enable torch.compile for kernel optimization?

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