Skip to content

Commit 5089196

Browse files
committed
devops: add big-endian stories260K
Signed-off-by: Aaron Teo <[email protected]>
1 parent 4e65e11 commit 5089196

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ jobs:
248248
249249
- name: Test llama2c conversion
250250
id: llama2c_test
251+
if: ${{ matrix.build != 's390x' }}
251252
run: |
252253
cd build
253254
echo "Fetch tokenizer"
@@ -257,6 +258,15 @@ jobs:
257258
./bin/llama-convert-llama2c-to-ggml --copy-vocab-from-model ./tok512.bin --llama2c-model stories260K.bin --llama2c-output-model stories260K.gguf
258259
./bin/llama-cli -m stories260K.gguf -p "One day, Lily met a Shoggoth" -n 500 -c 256
259260
261+
- name: Test llama2c (s390x)
262+
id: llama2c_test_s390x
263+
if: ${{ matrix.build == 's390x' }}
264+
run: |
265+
cd build
266+
echo "Fetch llama2c big-endian model"
267+
wget https://huggingface.co/taronaeo/tinyllamas-BE/resolve/main/stories260K-be.gguf
268+
./bin/llama-cli -m stories260K-be.gguf -p "One day, Lily met a Shoggoth" -n 500 -c 256
269+
260270
ubuntu-latest-cmake-sanitizer:
261271
runs-on: ubuntu-latest
262272

0 commit comments

Comments
 (0)