From ed455a05301cd5d20a2fbf7d4040a68032a029c7 Mon Sep 17 00:00:00 2001 From: Mark Shields <87091372+mbs-octoml@users.noreply.github.com> Date: Fri, 8 Oct 2021 02:33:38 -0700 Subject: [PATCH] BUG #9216: Don't disable FuseOps pass since required by GraphExecutor (#9227) This tutorial disabled the FuseOps pass, but before #8788 that was ignored since FuseOps was applied directly. --- tutorials/micro/micro_tflite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/micro/micro_tflite.py b/tutorials/micro/micro_tflite.py index 5a39be08e108..d1d4477f63e1 100644 --- a/tutorials/micro/micro_tflite.py +++ b/tutorials/micro/micro_tflite.py @@ -206,7 +206,7 @@ # Now, compile the model for the target: with tvm.transform.PassContext( - opt_level=3, config={"tir.disable_vectorize": True}, disabled_pass=["FuseOps", "AlterOpLayout"] + opt_level=3, config={"tir.disable_vectorize": True}, disabled_pass=["AlterOpLayout"] ): module = relay.build(mod, target=TARGET, params=params)