Skip to content

Commit 06668cf

Browse files
JacobSzwejbkafacebook-github-bot
authored andcommitted
change warning from pybindings around memory planned outputs (#2799)
Summary: Pull Request resolved: #2799 People keep thinking this message was an error so trying to make it clear its more just info Reviewed By: cccclai Differential Revision: D55610831 fbshipit-source-id: ba613631e7bd796aca516e1631079ccbb03d6c32
1 parent d670a73 commit 06668cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/pybindings/pybindings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ class Module final {
194194
// This can error if the outputs are already pre-allocated. Ignore
195195
// this error because it doesn't affect correctness, but log it.
196196
ET_LOG(
197-
Error,
198-
"ignoring error from set_output_data_ptr(): 0x%" PRIx32,
197+
Info,
198+
"Cannot set_output_data_ptr(): this likely means the outputs were MemoryPlanned inspect the error code to know for sure, but likely this is not an issue. 0x%" PRIx32,
199199
static_cast<uint32_t>(output_status));
200200
}
201201
}

0 commit comments

Comments
 (0)