tests: add big-endian conversion tests (#30705)
* ci: add quantize to big-endian tests Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * ci: remove incoherent data types from testing Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * tests: add verified hashes Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * tests: rename Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * tests: add result table Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * tests: swap hash and result column, add colours Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * tests: switch to perplexity test Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * tests: update output table Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> --------- Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
1 parent
4866db350d
commit
fda00f18cd
2 files changed
+188
-1
No files matched your search
@@ -20,7 +20,11 @@ on:
|
||||
paths: [
|
||||
'.github/workflows/build-ibm.yml',
|
||||
'ggml/src/ggml-cpu/**',
|
||||
'ggml/src/ggml-zdnn/**'
|
||||
'ggml/src/ggml-zdnn/**',
|
||||
'ggml/src/ggml-quants.c',
|
||||
'src/llama-quant.cpp',
|
||||
'gguf-py/gguf/scripts/gguf_convert_endian.py',
|
||||
'tests/test-quantize-be.sh'
|
||||
]
|
||||
|
||||
cache-mode: none
|
||||
@@ -105,6 +109,11 @@ jobs:
|
||||
wget https://huggingface.co/ggml-org/models/resolve/main/tinyllamas/stories260K-be.gguf
|
||||
./bin/llama-completion -m stories260K-be.gguf -p "One day, Lily met a Shoggoth" -n 500 -c 256
|
||||
|
||||
- name: Test quantize (s390x)
|
||||
id: quantize_test_s390x
|
||||
run: |
|
||||
./tests/test-quantize-be.sh ./build/bin/llama-quantize ./build/bin/llama-perplexity 2>&1
|
||||
|
||||
ubuntu-26-zdnn-s390x:
|
||||
name: ubuntu-26-zdnn-s390x
|
||||
runs-on: ubuntu-24.04-s390x
|
||||
|
||||
Reference in new issue
Block a user