stormlog.tensorflow.cli

TensorFlow Stormlog CLI

Functions

cmd_analyze(args)

Analyze profiling results.

cmd_diagnose(args)

Produce a portable diagnostic bundle.

cmd_info(args)

Display system and GPU information.

cmd_monitor(args)

Monitor GPU memory usage in real-time.

cmd_track(args)

Start background memory tracking.

main()

Main CLI entry point.

setup_logging([verbose])

Setup logging configuration.

stormlog.tensorflow.cli.setup_logging(verbose=False)[source]

Setup logging configuration.

Parameters:

verbose (bool)

Return type:

None

stormlog.tensorflow.cli.cmd_info(args)[source]

Display system and GPU information.

Parameters:

args (Namespace)

Return type:

int

stormlog.tensorflow.cli.cmd_monitor(args)[source]

Monitor GPU memory usage in real-time.

Parameters:

args (Namespace)

Return type:

int

stormlog.tensorflow.cli.cmd_track(args)[source]

Start background memory tracking.

Parameters:

args (Namespace)

Return type:

int

stormlog.tensorflow.cli.cmd_analyze(args)[source]

Analyze profiling results.

Parameters:

args (Namespace)

Return type:

int

stormlog.tensorflow.cli.cmd_diagnose(args)[source]

Produce a portable diagnostic bundle.

Returns ExitCode.OK, ExitCode.FINDINGS when memory risk was detected, ExitCode.USAGE for invalid options, a missing runtime or extra, or an output path that is not a directory, and ExitCode.ERROR when the bundle could not be written.

Parameters:

args (Namespace)

Return type:

int

stormlog.tensorflow.cli.main()[source]

Main CLI entry point.

Return type:

int