Skip to content

Commit 63a1eb5

Browse files
committed
Fix requirements
1 parent 754b7a9 commit 63a1eb5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

convert_mistral_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def _find_param(
668668

669669
class MistralModel(TextModel):
670670
model_name = "mistral"
671-
model_arch = MODEL_ARCH.MISTRAL
671+
model_arch = MODEL_ARCH.LLAMA
672672
undo_permute = True
673673

674674
def __init__(self, *args, **kwargs):

requirements/requirements-all.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
-r ./requirements-convert_hf_to_gguf_update.txt
1212
-r ./requirements-convert_legacy_llama.txt
1313
-r ./requirements-convert_llama_ggml_to_gguf.txt
14+
-r ./requirements-convert_mistral_to_gguf.txt
1415
-r ./requirements-tool_bench.txt
1516

1617
-r ./requirements-gguf_editor_gui.txt
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
numpy<2.0.0
22
gguf>=0.1.0
33
protobuf>=4.21.0,<5.0.0
4-
mistral-common[hf-hub]>=1.8.0
4+
mistral-common>=1.8.0
55
safetensors>=0.5.3
6+
huggingface_hub>=0.23.2
67

78
--extra-index-url https://download.pytorch.org/whl/cpu
89
torch~=2.2.1; platform_machine != "s390x"
910

1011
# torch s390x packages can only be found from nightly builds
1112
--extra-index-url https://download.pytorch.org/whl/nightly
12-
torch>=0.0.0.dev0; platform_machine == "s390x"
13+
torch>=0.0.0.dev0; platform_machine == "s390x"

0 commit comments

Comments
 (0)