tensorboard-plugin-profile 2.19.2__tar.gz → 2.19.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/PKG-INFO +1 -1
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/roofline_model_proto_to_gviz.py +9 -9
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/profile_plugin.py +4 -4
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/static/bundle.js +13 -5
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/static/index.html +1 -1
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/version.py +1 -1
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile.egg-info/PKG-INFO +1 -1
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/README.md +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/setup.cfg +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/setup.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/__init__.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/dcn_collective_stats_proto_to_gviz.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/diagnostics.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/inference_stats_proto_to_gviz.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/input_pipeline_proto_to_gviz.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/kernel_stats_proto_to_gviz.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/overview_page_proto_to_gviz.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/raw_to_tool_data.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/tf_stats_proto_to_gviz.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/convert/trace_events_json.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/integration_tests/tf_mnist.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/integration_tests/tf_profiler_session.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/integration_tests/tpu/tensorflow/tpu_tf2_keras_test.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/profile_plugin_loader.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/dcn_collective_info_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/dcn_slack_analysis_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/diagnostics_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/hardware_types_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/hlo_stats_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/inference_stats_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/input_pipeline_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/kernel_stats_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/memory_profile_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/memory_viewer_preprocess_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/op_metrics_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/op_profile_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/op_stats_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/overview_page_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/pod_stats_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/pod_viewer_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/power_metrics_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/roofline_model_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/steps_db_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/task_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/tf_data_stats_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/tf_function_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/tf_stats_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/tfstreamz_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/topology_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/tpu_input_pipeline_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/trace_events_old_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/trace_events_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/protobuf/trace_events_raw_pb2.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/server.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/standalone/base_plugin.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/standalone/context.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/standalone/data_provider.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/standalone/plugin_asset_util.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/standalone/plugin_event_multiplexer.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/standalone/tensorboard_shim.py +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/static/index.js +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/static/materialicons.woff2 +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/static/styles.css +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/static/trace_viewer_index.html +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/static/trace_viewer_index.js +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile/static/zone.js +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile.egg-info/SOURCES.txt +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile.egg-info/dependency_links.txt +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile.egg-info/entry_points.txt +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile.egg-info/requires.txt +0 -0
- {tensorboard_plugin_profile-2.19.2 → tensorboard_plugin_profile-2.19.3}/tensorboard_plugin_profile.egg-info/top_level.txt +0 -0
|
@@ -152,17 +152,17 @@ def get_roofline_model_table_args_for_gpu(roofline_model_db):
|
|
|
152
152
|
data.append(row)
|
|
153
153
|
custom_properties = {
|
|
154
154
|
"device_type": roofline_model_db.device_type,
|
|
155
|
-
"has_cmem": roofline_model_db.has_cmem,
|
|
156
|
-
"has_merged_vmem": roofline_model_db.has_merged_vmem,
|
|
157
|
-
"peak_flop_rate": roofline_model_db.peak_flop_rate,
|
|
158
|
-
"peak_hbm_bw": roofline_model_db.peak_hbm_bw,
|
|
159
|
-
"peak_shml1_write_bw": roofline_model_db.peak_vmem_write_bw,
|
|
160
|
-
"hbm_ridge_point": ridge_point(
|
|
155
|
+
"has_cmem": str(int(roofline_model_db.has_cmem)),
|
|
156
|
+
"has_merged_vmem": str(int(roofline_model_db.has_merged_vmem)),
|
|
157
|
+
"peak_flop_rate": str(roofline_model_db.peak_flop_rate),
|
|
158
|
+
"peak_hbm_bw": str(roofline_model_db.peak_hbm_bw),
|
|
159
|
+
"peak_shml1_write_bw": str(roofline_model_db.peak_vmem_write_bw),
|
|
160
|
+
"hbm_ridge_point": str(ridge_point(
|
|
161
161
|
roofline_model_db.peak_flop_rate, roofline_model_db.peak_hbm_bw
|
|
162
|
-
),
|
|
163
|
-
"shml1_write_ridge_point": ridge_point(
|
|
162
|
+
)),
|
|
163
|
+
"shml1_write_ridge_point": str(ridge_point(
|
|
164
164
|
roofline_model_db.peak_flop_rate, roofline_model_db.peak_vmem_write_bw
|
|
165
|
-
),
|
|
165
|
+
)),
|
|
166
166
|
}
|
|
167
167
|
return (table_description, data, custom_properties)
|
|
168
168
|
|
|
@@ -731,7 +731,7 @@ class ProfilePlugin(base_plugin.TBPlugin):
|
|
|
731
731
|
return respond(
|
|
732
732
|
{'error': 'TensorFlow is not installed.'},
|
|
733
733
|
'application/json',
|
|
734
|
-
code=
|
|
734
|
+
code=500,
|
|
735
735
|
)
|
|
736
736
|
|
|
737
737
|
def get_worker_list(
|
|
@@ -771,12 +771,12 @@ class ProfilePlugin(base_plugin.TBPlugin):
|
|
|
771
771
|
)
|
|
772
772
|
master_grpc_addr = tpu_cluster_resolver.get_master()
|
|
773
773
|
except (ImportError, RuntimeError) as err:
|
|
774
|
-
return respond({'error': repr(err)}, 'application/json', code=
|
|
774
|
+
return respond({'error': repr(err)}, 'application/json', code=500)
|
|
775
775
|
except (ValueError, TypeError):
|
|
776
776
|
return respond(
|
|
777
777
|
{'error': 'no TPUs with the specified names exist.'},
|
|
778
778
|
'application/json',
|
|
779
|
-
code=
|
|
779
|
+
code=500,
|
|
780
780
|
)
|
|
781
781
|
if not worker_list:
|
|
782
782
|
worker_list = get_worker_list(tpu_cluster_resolver)
|
|
@@ -817,7 +817,7 @@ class ProfilePlugin(base_plugin.TBPlugin):
|
|
|
817
817
|
return respond(
|
|
818
818
|
{'error': str(e)},
|
|
819
819
|
'application/json',
|
|
820
|
-
code=
|
|
820
|
+
code=500,
|
|
821
821
|
)
|
|
822
822
|
|
|
823
823
|
def _get_graph_viewer_options(
|