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).
-
—
int_32
-
—
kode54
Add a CommentSame for me on 2020 MBP (M1) and keras_retinanet
Same for me on 2020 M1 Mac mini and attempting to run ai-benchmark. Defeats the whole point of even benchmarking if the library is busted.
Fails on test 17/19, Pixel-RNN, due to the alignment issue with the allocator. The tensorflow-opencl software had a similar issue back in 2017 that had to be solved by enforcing memory alignment in the allocator(s).