From 7b1a3eece7e33ce197324f44e839dec430162108 Mon Sep 17 00:00:00 2001 From: firecoperana Date: Thu, 12 Jun 2025 00:19:26 -0500 Subject: Add top n sigma sampler and other webui fix (#512) Co-authored-by: firecoperana --- examples/server/webui/src/components/Header.tsx | 2 +- .../server/webui/src/components/SettingDialog.tsx | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) (limited to 'examples/server/webui/src/components') diff --git a/examples/server/webui/src/components/Header.tsx b/examples/server/webui/src/components/Header.tsx index 4c6b291e..84fea191 100644 --- a/examples/server/webui/src/components/Header.tsx +++ b/examples/server/webui/src/components/Header.tsx @@ -70,7 +70,7 @@ export default function Header() { -
llama.cpp
+
ik_llama.cpp
{/* action buttons (top right) */}
diff --git a/examples/server/webui/src/components/SettingDialog.tsx b/examples/server/webui/src/components/SettingDialog.tsx index b65e73ae..cd091a55 100644 --- a/examples/server/webui/src/components/SettingDialog.tsx +++ b/examples/server/webui/src/components/SettingDialog.tsx @@ -29,6 +29,7 @@ const SAMPLER_KEYS: SettKey[] = [ 'typical_p', 'xtc_probability', 'xtc_threshold', + 'top_n_sigma' ]; const PENALTY_KEYS: SettKey[] = [ 'repeat_last_n', @@ -196,7 +197,7 @@ const SETTING_SECTIONS: SettingSection[] = [ label: ( <> Custom JSON config (For more info, refer to{' '} - + server documentation ) @@ -224,7 +225,7 @@ const SETTING_SECTIONS: SettingSection[] = [

If you encounter any problems, create a{' '} - + Bug (misc.) {' '} report on Github. Please also specify webui/experimental on @@ -456,11 +457,11 @@ function SettingsModalLongInput({
{label || configKey}