From 2fe9b10a0160466641aaf5890b5e865bc090fc78 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 08:02:18 -0700 Subject: [PATCH] Update transformers requirement from !=4.34.0,<4.44,>=4.11 to >=4.11,!=4.34.0,<4.45 (#3574) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mihir Patel --- pyproject.toml | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ed41d8f67f..1c3b82a699 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -186,6 +186,8 @@ filterwarnings = [ '''ignore:.*`load_state_dict` is deprecated and *:FutureWarning''', # Ignore NeptuneLogger warnings '''ignore:.*NVML Shared Library Not Found. GPU usage metrics may not be reported.*''', + # Ignore HuggingFace future warnings + '''ignore:.*`clean_up_tokenization_spaces` was not set.*:FutureWarning''', ] # Coverage diff --git a/setup.py b/setup.py index a6c19eb21e..b702ca79db 100644 --- a/setup.py +++ b/setup.py @@ -179,7 +179,7 @@ def package_files(prefix: str, directory: str, extension: str): ] extra_deps['nlp'] = [ - 'transformers>=4.11,!=4.34.0,<4.44', + 'transformers>=4.11,!=4.34.0,<4.45', 'datasets>=2.4,<3', 'huggingface-hub>=0.21.2,<0.25', ]