This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch legacy-v0.19.post
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/legacy-v0.19.post by this push:
     new a19190d0c8 Removal of unused code that is causing unnecessary issues. 
(#18231)
a19190d0c8 is described below

commit a19190d0c86f8089fdb4a4dba2780d6591c285a3
Author: PRINCE KUMAR <[email protected]>
AuthorDate: Thu Aug 28 20:34:43 2025 +0530

    Removal of unused code that is causing unnecessary issues. (#18231)
    
    Co-authored-by: princek <[email protected]>
---
 src/relay/backend/contrib/mrvl/codegen.cc   | 1 -
 tests/python/contrib/test_mrvl/test_mrvl.py | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/relay/backend/contrib/mrvl/codegen.cc 
b/src/relay/backend/contrib/mrvl/codegen.cc
index 7c410f565f..70c980e429 100644
--- a/src/relay/backend/contrib/mrvl/codegen.cc
+++ b/src/relay/backend/contrib/mrvl/codegen.cc
@@ -1171,7 +1171,6 @@ class MrvlJSONSerializer : public 
backend::contrib::JSONSerializer {
     auto json_node = std::make_shared<JSONGraphNode>(name, "kernel", inputs, 
1);
     SetMrvlLayerCommonAttrs(json_node, cn, layer_name_, name, data_layout,
                             "" /* no kernel_layout */, out_layout);
-    SetMrvlQuantAttrs(json_node, nodes.instrument_1, "1");
     return json_node;
   }
 
diff --git a/tests/python/contrib/test_mrvl/test_mrvl.py 
b/tests/python/contrib/test_mrvl/test_mrvl.py
index cd3f343c2d..668bc88ee1 100644
--- a/tests/python/contrib/test_mrvl/test_mrvl.py
+++ b/tests/python/contrib/test_mrvl/test_mrvl.py
@@ -257,7 +257,7 @@ def test_globalmaxpool2d():
         mod = tvm.IRModule()
         mod["main"] = func
         option_dict = {"num_tiles": 1}
-        verify_codegen(mod, params=params, tvm_ops=2, 
contains="mrvl.globalmaxpool2d_nhwc2nhwc")
+        verify_codegen(mod, params=params, tvm_ops=1, 
contains="mrvl.globalmaxpool2d_nhwc2nhwc")
         return func, {"x": (1, 3, 224, 224), "w": (16, 3, 3, 3)}, ["w"], 
option_dict
 
     run_and_verify_func(get_graph())

Reply via email to