core.tuning.__main__#
Command line for building and inspecting tuned tables.
Usage::
python -m megatron.core.tuning merge rec.rank*.json -o tables/sm103.json
python -m megatron.core.tuning report rec.rank*.json
Module Contents#
Functions#
Write one line to stdout ( |
|
Write one line to stderr. |
|
Count votes across recordings, or report which file could not be used. |
|
Merge per-rank recordings into a single table file. |
|
Summarize recordings without writing a table. |
|
Entry point for |
API#
- core.tuning.__main__._out(message: str) None#
Write one line to stdout (
printis a banned builtin in this repo).
- core.tuning.__main__._err(message: str) None#
Write one line to stderr.
- core.tuning.__main__._load_votes(records)#
Count votes across recordings, or report which file could not be used.
- core.tuning.__main__._merge(args) int#
Merge per-rank recordings into a single table file.
- core.tuning.__main__._report(args) int#
Summarize recordings without writing a table.
- core.tuning.__main__.main(argv=None) int#
Entry point for
python -m megatron.core.tuning.