Skip to content

Commit 3113f36

Browse files
committed
chore: update the logging
Signed-off-by: Bo Wang <[email protected]>
1 parent ea94008 commit 3113f36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/partitioning/partitioning.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ bool isModifyingNodes(torch::jit::Node* node, torch::jit::Value* val) {
3939
if (node->inputs()[i] == val) {
4040
const at::AliasInfo* formal = schema->arguments()[i].alias_info();
4141
if (formal && formal->isWrite()) {
42-
LOG_GRAPH("<Whatever is doing the modifying> Is modifying node " << util::node_info(node));
42+
LOG_GRAPH(
43+
util::node_info(node) << " is a modifying node for value " << val->debugName()
44+
<< ", add it to the dependency graph.");
4345
return true;
4446
}
4547
}

0 commit comments

Comments
 (0)