Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f7dfcf4

Browse files
lucylqGithub Executorch
andauthored
Reduce log noise (pytorch#16879)
copy of pytorch#16877 .. Co-authored-by: Github Executorch <[email protected]>
1 parent 87100f9 commit f7dfcf4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

exir/_serialize/_named_data_store.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ def _add_named_data_to_map(
115115
):
116116
raise ValueError(
117117
f"Duplicate key {key} with different data. "
118-
f"Existing data: {self.buffers[buffer_idx]}. "
119-
f"New data: {data}."
118+
f"Existing data size: {len(self.buffers[buffer_idx])} bytes. "
119+
f"New data size: {len(data)} bytes."
120120
)
121121
else:
122122
# Key doesn't exist; check if the data exists.

0 commit comments

Comments
 (0)