From dcc8becf9bcacebd7d6df4b259a6786244f3e92a Mon Sep 17 00:00:00 2001 From: Mohammed Yasin <32206511+Y-T-G@users.noreply.github.com> Date: Tue, 22 Jul 2025 15:33:59 +0600 Subject: [PATCH] Remove `optimization_for_gpu_delegate` flag for TF exports (#21482) Signed-off-by: Mohammed Yasin <32206511+Y-T-G@users.noreply.github.com> Co-authored-by: UltralyticsAssistant --- docs/mkdocs_github_authors.yaml | 3 +++ ultralytics/engine/exporter.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/mkdocs_github_authors.yaml b/docs/mkdocs_github_authors.yaml index 2fa105df..17ef8888 100644 --- a/docs/mkdocs_github_authors.yaml +++ b/docs/mkdocs_github_authors.yaml @@ -124,6 +124,9 @@ Francesco.mttl@gmail.com: Fruchtzwerg94@users.noreply.github.com: avatar: https://avatars.githubusercontent.com/u/29866610?v=4 username: Fruchtzwerg94 +aaurelions@gmail.com: + avatar: null + username: null abirami.vina@gmail.com: avatar: https://avatars.githubusercontent.com/u/25847604?v=4 username: abirami-vina diff --git a/ultralytics/engine/exporter.py b/ultralytics/engine/exporter.py index 80a07df8..9f6b0a58 100644 --- a/ultralytics/engine/exporter.py +++ b/ultralytics/engine/exporter.py @@ -1014,7 +1014,6 @@ class Exporter: enable_batchmatmul_unfold=True, # fix lower no. of detected objects on GPU delegate output_signaturedefs=True, # fix error with Attention block group convolution disable_group_convolution=self.args.format in {"tfjs", "edgetpu"}, # fix error with group convolution - optimization_for_gpu_delegate=True, ) YAML.save(f / "metadata.yaml", self.metadata) # add metadata.yaml