Crashes in model.save, wrapt error
@cmayer,
Could you please provide the complete standalone code to reproduce the issue, it helps us to analyse the issue in an effective way. Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. I need some more time to prepare a stand alone example. @cmayer,
Please provide the simple standalone code which helps us to analyse the issue. Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61063">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61063">No</a>

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Bug

### Have you reproduced the bug with TF nightly?

No

### Source

binary

### Tensorflow Version

2.12

### Custom Code

No

### OS Platform and Distribution

Fodera Linux

### Mobile device

_No response_

### Python version

3.11

### Bazel version

_No response_

### GCC/Compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?

Crashed when calling model.save()

See log below.

Worked after deinstalling tensorflow and wrapt. wrapt was 1.15.x
and installing tensorflow and wrapt==1.14.1

The problem is that when installing tensorflow, the wrapt 1.15.x is installed automatically and this is not playing with tensorflow.


### Standalone code to reproduce the issue

```shell
model.save('Modelname')

Causes the problem for any trained network.
```


### Relevant log output

```shell
Traceback (most recent call last):
  File "ModelPredictorTraining.py", line 1415, in <module>
    run_hparam_on_grid(branched_model_1,
  File "ModelPredictorTraining.py", line 1403, in run_hparam_on_grid
    fitted_model.save('Model-name')
  File "/anaconda3/envs/tf2/lib/python3.11/site-packages/keras/utils/traceback_utils.py", line 70, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/anaconda3/envs/tf2/lib/python3.11/site-packages/tensorflow/python/trackable/data_structures.py", line 823, in __getattribute__
    return super().__getattribute__(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
</details>