From 69d83ab5238c1e0e5673c471153c73d14f885fe7 Mon Sep 17 00:00:00 2001 From: sd109 Date: Wed, 1 May 2024 11:53:23 +0100 Subject: [PATCH 1/4] Update Azimuth form defaults and ordering --- chart/azimuth-ui.schema.yaml | 25 ++++++++----------------- chart/values.schema.json | 12 +----------- 2 files changed, 9 insertions(+), 28 deletions(-) diff --git a/chart/azimuth-ui.schema.yaml b/chart/azimuth-ui.schema.yaml index aab0c44..929e7ef 100644 --- a/chart/azimuth-ui.schema.yaml +++ b/chart/azimuth-ui.schema.yaml @@ -5,24 +5,15 @@ controls: /huggingface/token: type: TextControl secret: true - /ui/appSettings/hf_model_instruction: - type: TextControl - /ui/appSettings/page_title: - type: TextControl - /ui/appSettings/llm_max_tokens: - type: NumberControl - /ui/appSettings/llm_temperature: - type: NumberControl - /ui/appSettings/llm_top_p: - type: NumberControl - /ui/appSettings/llm_frequency_penalty: - type: NumberControl - /ui/appSettings/llm_presence_penalty: - type: NumberControl - /ui/ingress/host: - type: TextControl # Use mirror to mimic yaml anchor in base Helm chart /ui/appSettings/hf_model_name: type: MirrorControl path: /huggingface/model - visuallyHidden: true \ No newline at end of file + visuallyHidden: true + +sortOrder: + - /huggingface/model + - /huggingface/token + - /ui/appSettings/hf_model_instruction + - /ui/appSettings/page_title + - /ui/appSettings/llm_temperature diff --git a/chart/values.schema.json b/chart/values.schema.json index 3cbace1..1a02930 100644 --- a/chart/values.schema.json +++ b/chart/values.schema.json @@ -9,7 +9,7 @@ "type": "string", "title": "Model", "description": "The [HuggingFace model](https://huggingface.co/models) to deploy (see [here](https://github.com/stackhpc/azimuth-llm?tab=readme-ov-file#tested-models) for a list of tested models).", - "default": "mistralai/Mistral-7B-Instruct-v0.2" + "default": "ise-uiuc/Magicoder-S-DS-6.7B" }, "token": { "type": ["string", "null"], @@ -90,16 +90,6 @@ }, "required": ["hf_model_name", "hf_model_instruction"] - }, - "ingress": { - "type": "object", - "properties": { - "host": { - "type": ["string", "null"], - "title": "Ingress Host", - "description": "An optional custom domain name to expose the UI on (requires an [Ingress controller](https://github.com/kubernetes/ingress-nginx) on the target cluster)" - } - } } } } From 2a3436623d484464ed25b64c9cbd1ce4f697027e Mon Sep 17 00:00:00 2001 From: sd109 Date: Wed, 1 May 2024 12:12:16 +0100 Subject: [PATCH 2/4] Update access token help text --- chart/values.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/values.schema.json b/chart/values.schema.json index 1a02930..062f836 100644 --- a/chart/values.schema.json +++ b/chart/values.schema.json @@ -14,7 +14,7 @@ "token": { "type": ["string", "null"], "title": "Access Token", - "description": "A HuggingFace [access token](https://huggingface.co/docs/hub/security-tokens). Only required for [gated models](https://huggingface.co/docs/hub/en/models-gated) (e.g. Llama 2)." + "description": "A HuggingFace [access token](https://huggingface.co/docs/hub/security-tokens). Required for [gated models](https://huggingface.co/docs/hub/en/models-gated) (e.g. Llama 3). Attempting to deploy a gated model without a token will cause the app to be stuck in an 'installing' state indefinitely." } }, "required": ["model"] From 23d94f64ee3640498860c95f99f6cf5c0610b21a Mon Sep 17 00:00:00 2001 From: sd109 Date: Wed, 1 May 2024 12:41:08 +0100 Subject: [PATCH 3/4] Add line break --- chart/values.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/values.schema.json b/chart/values.schema.json index 062f836..f8ae1ef 100644 --- a/chart/values.schema.json +++ b/chart/values.schema.json @@ -14,7 +14,7 @@ "token": { "type": ["string", "null"], "title": "Access Token", - "description": "A HuggingFace [access token](https://huggingface.co/docs/hub/security-tokens). Required for [gated models](https://huggingface.co/docs/hub/en/models-gated) (e.g. Llama 3). Attempting to deploy a gated model without a token will cause the app to be stuck in an 'installing' state indefinitely." + "description": "A HuggingFace [access token](https://huggingface.co/docs/hub/security-tokens). Required for [gated models](https://huggingface.co/docs/hub/en/models-gated) (e.g. Llama 3).\nAttempting to deploy a gated model without a token will cause the app to be stuck in an 'installing' state indefinitely." } }, "required": ["model"] From 277e903507a8f075e837a539193c517c70579218 Mon Sep 17 00:00:00 2001 From: sd109 Date: Wed, 1 May 2024 13:04:04 +0100 Subject: [PATCH 4/4] Revert additional gated models text --- chart/values.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/values.schema.json b/chart/values.schema.json index f8ae1ef..309a9fa 100644 --- a/chart/values.schema.json +++ b/chart/values.schema.json @@ -14,7 +14,7 @@ "token": { "type": ["string", "null"], "title": "Access Token", - "description": "A HuggingFace [access token](https://huggingface.co/docs/hub/security-tokens). Required for [gated models](https://huggingface.co/docs/hub/en/models-gated) (e.g. Llama 3).\nAttempting to deploy a gated model without a token will cause the app to be stuck in an 'installing' state indefinitely." + "description": "A HuggingFace [access token](https://huggingface.co/docs/hub/security-tokens). Required for [gated models](https://huggingface.co/docs/hub/en/models-gated) (e.g. Llama 3)." } }, "required": ["model"]