From 19ca0458bf857dea653591b7edfe84db2fcf2e43 Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <yamanu@xilinx.com>
Date: Mon, 24 Aug 2020 12:05:07 +0200
Subject: [PATCH] [Test] remove synth resources for Vitis, currently broken

---
 tests/end2end/test_vitis_end2end_tfc_w1a1.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/end2end/test_vitis_end2end_tfc_w1a1.py b/tests/end2end/test_vitis_end2end_tfc_w1a1.py
index d6ea7aeea..7fe44ae4c 100644
--- a/tests/end2end/test_vitis_end2end_tfc_w1a1.py
+++ b/tests/end2end/test_vitis_end2end_tfc_w1a1.py
@@ -65,7 +65,6 @@ from finn.transformation.infer_data_layouts import InferDataLayouts
 from finn.transformation.fpgadataflow.make_deployment import DeployToPYNQ
 from pkgutil import get_data
 from finn.core.onnx_exec import execute_onnx
-from finn.transformation.fpgadataflow.annotate_resources import AnnotateResources
 import warnings
 
 build_dir = "/tmp/" + os.environ["FINN_INST_NAME"]
@@ -172,11 +171,6 @@ def test_end2end_vitis_tfc_w1a1_build():
             strategy=VitisOptStrategy.BUILD_SPEED,
         )
     )
-    model = model.transform(AnnotateResources("synth"))
-    warnings.warn(
-        "Post-synthesis resources (excluding shell): "
-        + model.get_metadata_prop("res_total_synth")
-    )
     model.save(build_dir + "/end2end_vitis_tfc_w1a1_build.onnx")
 
 
-- 
GitLab