We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e297c9b commit 8145cdaCopy full SHA for 8145cda
exir/emit/_emitter.py
@@ -1575,7 +1575,8 @@ def _find_fqn_for_placeholder(
1575
warnings.warn(
1576
"Mutation on a buffer in the model is detected. ExecuTorch assumes "
1577
"buffers that are mutated in the graph have a meaningless initial state, "
1578
- "only the shape and dtype will be serialized.",
+ "only the shape and dtype will be serialized, unless a pass which marks "
1579
+ "spec.const=True such as InitializedMutableBufferPass is run.",
1580
UserWarning,
1581
stacklevel=1,
1582
)
0 commit comments