Reply to Apple M1 - tf.sort only sorts up to 16 values for float32 I've got the same issue. For what its worth, casting to float16 works as well. The issue also only occurs when the tensor is on the GPU. If you move the tensor to the CPU, then sort, sorting works as expected. Machine Learning & AI General Jan ’22