From 3b314cc98b43aff65c265c1c0bb9f9ab4d01bea1 Mon Sep 17 00:00:00 2001 From: Benjamin Bossan Date: Wed, 9 Oct 2024 12:16:46 +0200 Subject: [PATCH] FIX Type annoations in vera/bnb.py (#2139) The file was missing the from __future__ import annotations part. As this code is only running nightly with GPU, the normal CI missed this omission. --- src/peft/tuners/vera/bnb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/peft/tuners/vera/bnb.py b/src/peft/tuners/vera/bnb.py index 272560d697..da5d37a039 100644 --- a/src/peft/tuners/vera/bnb.py +++ b/src/peft/tuners/vera/bnb.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations import warnings from typing import Optional