Skip to content

Commit 26ad4f9

Browse files
qiuminxunfelt
authored andcommitted
Added error message when no profile data was found. (#957)
1 parent a32ff72 commit 26ad4f9

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,25 @@
4141
<template is="dom-if" if="[[_dataNotFound]]">
4242
<div style="max-width: 540px; margin: 80px auto 0 auto;">
4343
<h3>No profile data was found.</h3>
44-
<p>The dashboard is internal only; coming soon!</p>
44+
<p>To collect a profile, you need to run your model on Google Cloud TPUs and
45+
capture the trace information while your model is running. You may want to
46+
check out the
47+
<a href="https://github.com/tensorflow/tensorboard/blob/1.6/tensorboard/plugins/profile/README.md">README</a>
48+
and perhaps the
49+
<a
50+
href="https://cloud.google.com/tpu/docs/cloud-tpu-tools"
51+
>tutorial</a> on how to use the
52+
<a href="https://pypi.python.org/pypi/cloud-tpu-profiler">cloud-tpu-profiler</a>.
53+
</p>
54+
<p>
55+
If you’re new to TPUs, and want to find out how
56+
to run models, check out the
57+
<a href="https://cloud.google.com/tpu/docs/quickstart">Quickstart Using a TPU</a>.
58+
</p>
59+
<p>
60+
If you think profiling is done properly, please see the page of
61+
<a href="https://cloud.google.com/tpu/docs/troubleshooting">Google Cloud TPU Troubleshooting and FAQ</a>
62+
and consider filing an issue on GitHub.</p>
4563
</div>
4664
</template>
4765
<template is="dom-if" if="[[!_dataNotFound]]">

0 commit comments

Comments
 (0)