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