You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build-s390x.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,12 @@ All models need to be converted to Big-Endian. You can achieve this in three cas
94
94
95
95
The model you are trying to convert must be in`safetensors` file format (for example [IBM Granite 3.3 2B](https://huggingface.co/ibm-granite/granite-3.3-2b-instruct)). Make sure you have downloaded the model repository for this case.
96
96
97
+
Ensure that you have installed the required packages in advance
98
+
```bash
99
+
pip3 install -r requirements.txt
100
+
```
101
+
102
+
Convert the `safetensors` model to `GGUF`
97
103
```bash
98
104
python3 convert_hf_to_gguf.py \
99
105
--outfile model-name-be.f16.gguf \
@@ -116,7 +122,7 @@ All models need to be converted to Big-Endian. You can achieve this in three cas
116
122
117
123

118
124
119
-
The model you are trying to convert must be in`gguf` file format (for example [IBM Granite 3.3 2B](https://huggingface.co/ibm-granite/granite-3.3-2b-instruct-GGUF)). Make sure you have downloaded the model file for this case.
125
+
The model you are trying to convert must be in`gguf` file format (for example [IBM Granite 3.3 2B GGUF](https://huggingface.co/ibm-granite/granite-3.3-2b-instruct-GGUF)). Make sure you have downloaded the model file for this case.
120
126
121
127
```bash
122
128
python3 gguf-py/gguf/scripts/gguf_convert_endian.py model-name.f16.gguf BIG
@@ -189,6 +195,21 @@ IBM VXE/VXE2 SIMD acceleration depends on the BLAS implementation. It is strongl
189
195
190
196
Answer: Please ensure that your GCC compiler is of minimum GCC 15.1.0 version, and have `binutils` updated to the latest version. If this does not fix the problem, kindly open an issue.
191
197
198
+
4. Failing to install the `sentencepiece` package using GCC 15+
199
+
200
+
Answer: The `sentencepiece` team are aware of this as seen in [this issue](https://github.com/google/sentencepiece/issues/1108).
201
+
202
+
As a temporary workaround, please run the installation command with the following environment variables.
0 commit comments