Yifei Feng

Results 6 comments of Yifei Feng

Had a brief chat with @frankchn and sounds like custom ops are not supported on TPU yet. See https://cloud.google.com/tpu/docs/tpus#when_to_use_tpus ''' Cloud TPUs are not suited to the following workloads: ......

@eduardinjo do you mind pasting in your .bazelrc for your manylinux1 and TF

Sounds like you are building TF from source? Which gcc version were you using? Could you try add -D_GLIBCXX_USE_CXX11_ABI=0 flag?

Could you try linking against the shared libraries in TensorFlow's pip package instead? I have an example in progress at https://github.com/tensorflow/custom-op/pull/10 if you are interested in taking a look.

Have you always been using gcc 5.4.0. Could you try switching to 4.8?

Hi @felix5572, you will need to also create a genrule for libtensorflow_cc.so similar to https://github.com/tensorflow/custom-op/blob/master/tf/tf_configure.bzl#L186 Let us know if that helps!