From f245cc28d4eb900efad0bc740145f58d713c6e4f Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 16 Nov 2024 10:32:50 +0200 Subject: [PATCH 001/102] scripts : fix missing key in compare-llama-bench.py (#10332) --- scripts/compare-llama-bench.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/compare-llama-bench.py b/scripts/compare-llama-bench.py index 6125a080af137..5069ae6382799 100755 --- a/scripts/compare-llama-bench.py +++ b/scripts/compare-llama-bench.py @@ -303,14 +303,11 @@ def get_rows(properties): show = [] # Show CPU and/or GPU by default even if the hardware for all results is the same: - if "gpu_blas" not in properties_different and "n_gpu_layers" not in properties_different: - gpu_blas = bool(rows_full[0][KEY_PROPERTIES.index("gpu_blas")]) + if "n_gpu_layers" not in properties_different: ngl = int(rows_full[0][KEY_PROPERTIES.index("n_gpu_layers")]) - if not gpu_blas or ngl != 99 and "cpu_info" not in properties_different: + if ngl != 99 and "cpu_info" not in properties_different: show.append("cpu_info") - if gpu_blas and "gpu_info" not in properties_different: - show.append("gpu_info") show += properties_different From bcdb7a23862b61aa307fc462fadfe1e2e653d010 Mon Sep 17 00:00:00 2001 From: MaggotHATE Date: Sat, 16 Nov 2024 18:26:54 +0500 Subject: [PATCH 002/102] server: (web UI) Add samplers sequence customization (#10255) * Samplers sequence: simplified and input field. * Removed unused function * Modify and use `settings-modal-short-input` * rename "name" --> "label" --------- Co-authored-by: Xuan Son Nguyen --- examples/server/public/index.html | 19 ++++++++++++++++--- examples/server/server.cpp | 20 ++++++++++++++------ 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/examples/server/public/index.html b/examples/server/public/index.html index 65a915d59bfd5..6216c08410a28 100644 --- a/examples/server/public/index.html +++ b/examples/server/public/index.html @@ -212,6 +212,9 @@

Settings

Other sampler settings
+ + + @@ -231,6 +234,7 @@

Settings

Advanced config
@@ -253,7 +257,7 @@

Settings