From df70f729210a23b188e06f4aba9693f426fc663f Mon Sep 17 00:00:00 2001 From: Francesco Mattioli Date: Thu, 24 Oct 2024 12:04:47 +0200 Subject: [PATCH] test remove no-grad --- ultralytics/nn/autobackend.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ultralytics/nn/autobackend.py b/ultralytics/nn/autobackend.py index 0dcbb12f96..cc812b8332 100644 --- a/ultralytics/nn/autobackend.py +++ b/ultralytics/nn/autobackend.py @@ -79,7 +79,6 @@ class AutoBackend(nn.Module): models across various platforms. """ - @torch.no_grad() def __init__( self, weights="yolo11n.pt",