From cb587757194fc3eba89be37f19f898fddd6bd765 Mon Sep 17 00:00:00 2001 From: crasm Date: Wed, 27 Dec 2023 02:09:30 -0500 Subject: [PATCH] Add upper version bound for transformers and protobuf --- requirements/requirements-convert-hf-to-gguf.txt | 1 - requirements/requirements-convert.txt | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/requirements/requirements-convert-hf-to-gguf.txt b/requirements/requirements-convert-hf-to-gguf.txt index 0d16e2da9..6ac402610 100644 --- a/requirements/requirements-convert-hf-to-gguf.txt +++ b/requirements/requirements-convert-hf-to-gguf.txt @@ -1,3 +1,2 @@ -r ./requirements-convert.txt torch~=2.1.1 -transformers~=4.35.2 diff --git a/requirements/requirements-convert.txt b/requirements/requirements-convert.txt index 09311906f..a3d6ecec0 100644 --- a/requirements/requirements-convert.txt +++ b/requirements/requirements-convert.txt @@ -1,5 +1,5 @@ numpy~=1.24.4 sentencepiece~=0.1.98 -transformers>=4.34.0 +transformers>=4.35.2,<5.0.0 gguf>=0.1.0 -protobuf>=4.21.0 +protobuf>=4.21.0,<5.0.0