-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nsys-jax: add basic CI, support all-to-all and repeated thunks (#877)
Basic lint checks of jax_nsys and nsys-jax code. Address some of @gspschmid's comments from #863. Replaces #875, this time with a source branch that is not in a fork.
- Loading branch information
Showing
10 changed files
with
249 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 11 additions & 4 deletions
15
.github/container/jax_nsys/python/jax_nsys/jax_nsys/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
import pandas as _pd | ||
|
||
_pd.options.mode.copy_on_write = True | ||
|
||
from .analysis import calculate_collective_metrics, generate_compilation_statistics | ||
from .data_loaders import load_profiler_data | ||
from .protobuf import xla_module_metadata | ||
from .protobuf_utils import compile_protos | ||
from .utils import remove_child_ranges | ||
from .visualization import create_flamegraph, display_flamegraph | ||
|
||
__all__ = [ | ||
"calculate_collective_metrics", | ||
"compile_protos", | ||
"create_flamegraph", | ||
"display_flamegraph", | ||
"generate_compilation_statistics", | ||
"load_profiler_data", | ||
"remove_child_ranges", | ||
"xla_module_metadata", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.