Add vlog for when unsupported ops are marked for outside compilation.
PiperOrigin-RevId: 348050595 Change-Id: I72221b6db94f04a3cf363bdc0754e8eb5e06d658
This commit is contained in:
parent
1ea36b6b53
commit
911a08098a
@ -198,6 +198,9 @@ LogicalResult MarkUncompilableOps(
|
||||
int outside_compiled_cluster_counter = 0;
|
||||
block->walk([&](Operation* op) {
|
||||
if (!IsSupportedOp(*op, supported_ops, tf_dialect)) {
|
||||
VLOG(3) << "Cloud TPU: Op " << op->getName().getStringRef().str()
|
||||
<< " isn't compilable, adding outside_compilation attr. "
|
||||
"This op will automatically be placed on CPU.";
|
||||
op->setAttr(
|
||||
kXlaOutsideCompilationAttr,
|
||||
StringAttr::get(
|
||||
|
Loading…
Reference in New Issue
Block a user