message: Storing kRead kinds doesn't have any effect, but might take a lot of RAM.
diff: @@ -299,8 +299,12 @@ Status ComputeIncompatibleResourceOperationPairs(
  result->push_back({incoming_op.first, n->id()});
  }
  + // Some graphs might have a lot of 'kRead' kinds, but they are always safe
  + // for incoming ops, so not storing them might save a lot of memory.
  + if (op_kind != XlaResourceOpKind::kRead) {
  resource_op_set->Add({n->id(), *op_kind});
  }
  + }
  if (vlog) {
  VLOG(3) << n->name() << " -> " << ResourceOpSetToString(*resource_op_set);
  