Skip to content

Commit 4ec3975

Browse files
committed
Remove obsolete comment about RTen not supporting operator fusion
RTen still doesn't implement some of the core optimizations for convolution-based vision models that ORT does (eg. NCHWc reordering), but it does now do some operator fusion.
1 parent 67d60a3 commit 4ec3975

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/export-timm-model.py

-3
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ def export_timm_model(config: str, onnx_path: str, dynamo: bool = False):
9696
# We test both with graph optimizations disabled and enabled, to show the
9797
# impact of running the ONNX model "as is" vs. with the various fusions that
9898
# ONNX Runtime does.
99-
#
100-
# RTen currently doesn't do any fusions, so the unoptimized performance
101-
# is a "fairer" comparison.
10299
print(f"Testing model with ONNX Runtime (unoptimized)...")
103100
sess_options = ort.SessionOptions()
104101
sess_options.graph_optimization_level = ort.GraphOptimizationLevel.ORT_DISABLE_ALL

0 commit comments

Comments
 (0)