When running the code on the sample notebook for deepdream — https://www.tensorflow.org/tutorials/generative/deepdream — I get the error below when I try executing the tiled version (cell [18] in the notebook).
2021-12-17 15:56:05.988238: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:112] Plugin optimizer for device_type GPU is enabled.
2021-12-17 15:56:06.768675: F tensorflow/core/framework/tensor.cc:681] Check failed: IsAligned() ptr = 0x7fb6115606f0
I don't get the error on the other cells of the notebook, and I don't get the error running the notebook on CPU, or running it on other accelerators (e.g., NVIDIA on Linux). I'm running tensorflow-metal on a 27-inch, 2017 iMac with a 8GB Radeon Pro 580 and macOS 11.6.1 (20G224).
The issue comes from core Tensorflow: https://github.com/tensorflow/tensorflow/issues/49202
We are working on this issue and will update when we have a fix.