You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TensorFlow lacks a mechanism to globally enable or disable asserts, so many models come through in inconsistent states based on model specific flags and mechanisms for controlling this behavior. IREE should just have a pass that strips them (which seems to be what XLA conversion does somewhere in its backend). We can potentially do better at some point and lower them to something that IREE does understand, but that will require further datatype implementation (i.e. strings, etc) and a lot of times the conditions that asserts are guarding are the most complicated part of a model.
Activity
stellaraccident commentedon Apr 2, 2021
Should fix #4865 (which I still have not been able to repro, but we now have an internal model with a similar issue)
Add StripAsserts pass and handle tf.Identity ops on tensor lists.
Add StripAsserts pass and handle tf.Identity ops on tensor lists.
Add StripAsserts pass and handle tf.Identity ops on tensor lists. (#5294