Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

How to profile Alpa models and get the trace #971

Open
@zigzagcai

Description

System information

  • Alpa version: 1.0.0.dev0
  • Are you willing to contribute it (Yes/No): Not sure, will submit PR if I have the bandwidth

Describe the new feature and the current behavior/state
The JAX framework has a built-in jax.profiler that can profile trace, but when we tried to use jax.profiler to analyze model traces which was parallelized by alpa.parallelize instead of jax.jit, we found that there is no trace about cuda kernel.

I wonder if there are any ways to analyze Alpa traces? Thanks!

Will this change the current API? How?
N
Describe alternatives you've considered

Additional context
None

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