SMDebug Profiler Visualization API¶
-
class
smdebug.profiler.analysis.notebook_utils.heatmap.
Heatmap
(metrics_reader, select_metrics=[], starttime=0, endtime=None, select_dimensions=['.*CPU', '.*GPU'], select_events=['.*'], plot_height=350, show_workers=True)¶ Bases:
object
Docstring placeholder.
Docstring placeholder.
-
preprocess_system_metrics
(events, system_metrics)¶
-
create_plot
()¶
-
-
class
smdebug.profiler.analysis.notebook_utils.metrics_histogram.
MetricsHistogram
(metrics_reader)¶ Bases:
object
-
plot
(starttime=0, endtime=None, select_dimensions=['.*'], select_events=['.*'], show_workers=True)¶
-
clear
()¶
-
preprocess_system_metrics
(all_events=[], system_metrics={})¶
-
create_plot
()¶
-
update_data
(current_timestamp)¶
-
-
class
smdebug.profiler.analysis.notebook_utils.step_histogram.
StepHistogram
(metrics_reader, width=500)¶ Bases:
object
-
plot
(starttime=0, endtime=None, select_metrics=['Step:ModeKeys', 'Forward-node', 'Backward\\(post-forward\\)-node'], show_workers=True)¶
-
clear
()¶
-
create_plot
(step_metrics={})¶
-
update_data
(current_timestamp)¶
-
-
class
smdebug.profiler.analysis.notebook_utils.step_timeline_chart.
StepTimelineChart
(metrics_reader=None, width=1000)¶ Bases:
object
-
create_plot
()¶
-
update_data
(current_timestamp)¶
-
-
class
smdebug.profiler.analysis.notebook_utils.timeline_charts.
TimelineCharts
(system_metrics_reader, framework_metrics_reader, starttime=0, endtime=None, select_dimensions=['.*'], select_events=['.*'], x=1000, show_workers=True)¶ Bases:
object
-
preprocess_system_metrics
(events, system_metrics)¶
-
plot_system_metrics
()¶
-
create_plot
()¶
-
find_time_annotations
(indexes)¶
-
plot_framework_events
(events, begin_timestamp, end_timestamp)¶
-
plot_dataloaders
(events, begin_timestamp, end_timestamp)¶
-
plot_detailed_profiler_data
(indexes)¶
-
update_data
(current_timestamp)¶
-
-
class
smdebug.profiler.analysis.notebook_utils.training_job.
TrainingJob
(training_job_name, region=None)¶ Bases:
object
-
get_systems_metrics_reader
()¶
-
get_framework_metrics_reader
()¶
-
get_sm_client
()¶
-
get_config_and_profiler_s3_output_path
()¶
-
wait_for_sys_profiling_data_to_be_available
()¶
-
wait_for_framework_profiling_data_to_be_available
()¶
-
describe_training_job
()¶
-