From b9481e57ae79617d53512571e376ca6af83cffc9 Mon Sep 17 00:00:00 2001 From: Sebastian Zumbrunn Date: Tue, 17 Sep 2024 10:57:48 +0200 Subject: [PATCH] Remove unnecessary example --- rules/S6985/python/rule.adoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/rules/S6985/python/rule.adoc b/rules/S6985/python/rule.adoc index 007d5cee2ef..0ef00027b05 100644 --- a/rules/S6985/python/rule.adoc +++ b/rules/S6985/python/rule.adoc @@ -32,8 +32,6 @@ import safetensors model = MyModel() safetensors.torch.load_model(model, 'model.pth') - -model = torch.load('model.pth', weights_only=True) ---- == Resources