Tensorflow profiler is not showing anything. Gives "No profile data was found" text on selecting Profile in Tensorboard
@AkshayRoyal I tried to replicate the issue reported [here](https://colab.research.google.com/gist/sushreebarsa/e19e257d31ab246426050348c2e56b5f/tensorboard_profiling_keras.ipynb#scrollTo=K4KJ3S-odd-a) and didn't see the error. Could you please check the attached gist and let me know if I am missing something here. Thank you! The first image is taken from the guide itself which shows the profile tab
![Profile tab shown in the guide](https://github.com/tensorflow/tensorflow/assets/10032879/d2d669f5-a900-4a9f-9dfc-4a44b7d3eacb)
The second image is being shown while running the same colab notebook showing in the guide but it does not give us the profile
![Profile tab is not being shown while running the colab notebook](https://github.com/tensorflow/tensorflow/assets/10032879/b89415dd-3104-4194-a91c-71faacb105b0)
Now try selecting the Profile option from the list drop down on the right
![3](https://github.com/tensorflow/tensorflow/assets/10032879/4353637d-6953-4338-97e2-554e4daa7da7)
Once you select it, either you will see blank output or an error as mentioned in the issue
![4](https://github.com/tensorflow/tensorflow/assets/10032879/6b3f8b94-d3fc-435d-8fb4-17122be88566)
@sushreebarsa Can you see the "Profile" tab in the tensorboard? It doesn't show the "Profile" of the training run. There is no error in the run itself. But when you click the "Profile" tab in the tensorboard extension, you will be able to see the error or it'll be empty.  @AkshayRoyal Thank you for the quick response!
@sachinprasadhs I was able to replicate the issue reported here in both TF [v2.12](https://colab.research.google.com/gist/sushreebarsa/e19e257d31ab246426050348c2e56b5f/tensorboard_profiling_keras.ipynb#scrollTo=lugpLFAflkeI) and [v2.13](https://colab.research.google.com/gist/sushreebarsa/2973acfbebd86f365b95ad5fac6b1e3c/tensorboard_profiling_keras.ipynb#scrollTo=sYCj8WzWhhMf). Please find the attached gists.
Thank you! @sachinprasadhs @ Any updates? I believe the reason for this is that the profile data is written in a different place in the hierarchy starting with 2.12.  Why this is the case/how this happened, I do not know.  I'm able to reproduce/fix this by doing the following (go into directory with events.out... first):

```
cp -Rpv ../plugins .
```

 > I believe the reason for this is that the profile data is written in a different place in the hierarchy starting with 2.12. Why this is the case/how this happened, I do not know. I'm able to reproduce/fix this by doing the following (go into directory with events.out... first):
> 
> ```
> cp -Rpv ../plugins .
> ```

This is the right answer, it works for me on tf 2.15.0. Saved my life. Thanks! > > I believe the reason for this is that the profile data is written in a different place in the hierarchy starting with 2.12. Why this is the case/how this happened, I do not know. I'm able to reproduce/fix this by doing the following (go into directory with events.out... first):
> > ```
> > cp -Rpv ../plugins .
> > ```
> 
> This is the right answer, it works for me on tf 2.15.0. Saved my life. Thanks!

Could you please add you code? I couldn't get mine working  The solution is here. The page is not in English but just use the browser's translation

https://beiznotes.org/how-to-solve-a-tensorflow-profiler-bug-of-no-profile-data-was-found/
### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

tf 2.12, tf 2.13, tf-nightly

### Custom code

No

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

I was learning how to use TensorFlow Profiler according to the [guide](https://www.tensorflow.org/tensorboard/tensorboard_profiling_keras). I ran the same notebook without altering anything in Google Colab and it does now show Profile tab. Moreover on selecting the Profile option from the right hand side drop down list, It shows 

```
No profile data was found.
If you have a model running on CPU, GPU, or Google Cloud TPU, you may be able to use the above button to capture a profile.

If you're a CPU or GPU user, please use the IP address option. You may want to check out the [tutorial](https://colab.research.google.com/github/tensorflow/tensorboard/blob/master/docs/tensorboard_profiling_keras.ipynb) on how to start a TensorFlow profiler server and profile a Keras model on a GPU.

If you're a TPU user, please use the TPU name option and you may want to check out the [tutorial](https://cloud.google.com/tpu/docs/cloud-tpu-tools) on how to interpreting the profiling results.

If you think profiling is done properly, please see the page of [Google Cloud TPU Troubleshooting and FAQ](https://cloud.google.com/tpu/docs/troubleshooting) and consider filing an issue on GitHub.

```

Instead it should have shown the Profile

### Standalone code to reproduce the issue

```shell
Kindly use the official [tensorflow profiler guide](https://www.tensorflow.org/tensorboard/tensorboard_profiling_keras)
```


### Relevant log output

```shell
No profile data was found.
If you have a model running on CPU, GPU, or Google Cloud TPU, you may be able to use the above button to capture a profile.

If you're a CPU or GPU user, please use the IP address option. You may want to check out the [tutorial](https://colab.research.google.com/github/tensorflow/tensorboard/blob/master/docs/tensorboard_profiling_keras.ipynb) on how to start a TensorFlow profiler server and profile a Keras model on a GPU.

If you're a TPU user, please use the TPU name option and you may want to check out the [tutorial](https://cloud.google.com/tpu/docs/cloud-tpu-tools) on how to interpreting the profiling results.

If you think profiling is done properly, please see the page of [Google Cloud TPU Troubleshooting and FAQ](https://cloud.google.com/tpu/docs/troubleshooting) and consider filing an issue on GitHub.

```
```
