capeprivacy / tf-trusted

tf-trusted allows you to run TensorFlow models in secure enclaves
https://capeprivacy.com/
Apache License 2.0
87 stars 11 forks source link

added DNDEBUG flag to custom op build flags #27

Closed Jumpst3r closed 4 years ago

Jumpst3r commented 4 years ago

Without the DNDEBUG flag when building the custom op, tensorflow can sporadically throw the following error:

fastbuild/genfiles/external/local_config_tf/include/tensorflow/core/lib/core/refcount.h:90] Check failed: ref_.load() == 0 (1 vs. 0)

as referenced by https://github.com/tensorflow/tensorflow/issues/17316

This closes issue https://github.com/capeprivacy/tf-trusted/issues/26

justin1121 commented 4 years ago

This is great! Thanks!