Skip to content

Commit e56b801

Browse files
authored
Simplify torch test_compiler. (#303)
1 parent 9073881 commit e56b801

File tree

2 files changed

+91
-229
lines changed

2 files changed

+91
-229
lines changed

graph_net/test_compiler_util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ def check_output_datatype(args, eager_dtypes, compiled_dtypes):
238238
)
239239

240240
# datatype check
241+
# "datatype not match" is recognized as a large loss in analysis process later,
242+
# and is not recognized as a failure here.
241243
type_match = check_type_match(eager_dtypes, compiled_dtypes)
242244
print_with_log_prompt(
243245
"[DataType]",

0 commit comments

Comments
 (0)