From 07bd334ca8bb5d722beb079dc8386a1b36699f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Louf?= Date: Wed, 15 Nov 2023 21:05:24 +0100 Subject: [PATCH] Ignore warning from `transformers` using deprecated Pydantic syntax --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 1661cbec2..bcab189cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,6 +77,7 @@ testpaths = ["tests"] filterwarnings = [ "error", "ignore::numba.core.errors.NumbaPendingDeprecationWarning", + "ignore::pydantic.warnings.PydanticDeprecatedSince20", "ignore::FutureWarning:transformers.*", "ignore::UserWarning:torch.cuda.*" ]