diff --git a/ai/ai-starter-kit/helm-chart/ai-starter-kit/files/welcome.ipynb b/ai/ai-starter-kit/helm-chart/ai-starter-kit/files/welcome.ipynb index 8c900abc..19bc4bdb 100644 --- a/ai/ai-starter-kit/helm-chart/ai-starter-kit/files/welcome.ipynb +++ b/ai/ai-starter-kit/helm-chart/ai-starter-kit/files/welcome.ipynb @@ -52,8 +52,8 @@ "]\n", "input_texts = queries + documents\n", "\n", - "tokenizer = AutoTokenizer.from_pretrained('/tmp/models-cache/Qwen/Qwen3-Embedding-0.6B', padding_side='left')\n", - "model = AutoModel.from_pretrained('/tmp/models-cache/Qwen/Qwen3-Embedding-0.6B')\n", + "tokenizer = AutoTokenizer.from_pretrained('Qwen/Qwen3-Embedding-0.6B', padding_side='left')\n", + "model = AutoModel.from_pretrained('Qwen/Qwen3-Embedding-0.6B')\n", "\n", "# We recommend enabling flash_attention_2 for better acceleration and memory saving.\n", "# model = AutoModel.from_pretrained('Qwen/Qwen3-Embedding-0.6B', attn_implementation=\"flash_attention_2\", torch_dtype=torch.float16).cuda()\n", diff --git a/ai/ai-starter-kit/helm-chart/ai-starter-kit/values-gke.yaml b/ai/ai-starter-kit/helm-chart/ai-starter-kit/values-gke.yaml index a88dc1f1..b875fae0 100644 --- a/ai/ai-starter-kit/helm-chart/ai-starter-kit/values-gke.yaml +++ b/ai/ai-starter-kit/helm-chart/ai-starter-kit/values-gke.yaml @@ -1,6 +1,6 @@ jupyterhub: nameOverride: "jupyterhub" - # This value has to be null in order apply release name on this chart's resources. + # This value has to be null in order to apply release name on this chart's resources. # https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/b4b51301ac886511c643cc5d428b15ff38006bee/jupyterhub/values.yaml#L1 fullnameOverride: diff --git a/ai/ai-starter-kit/helm-chart/ai-starter-kit/values-minikube.yaml b/ai/ai-starter-kit/helm-chart/ai-starter-kit/values-minikube.yaml index a1039778..e1867edc 100644 --- a/ai/ai-starter-kit/helm-chart/ai-starter-kit/values-minikube.yaml +++ b/ai/ai-starter-kit/helm-chart/ai-starter-kit/values-minikube.yaml @@ -1,6 +1,6 @@ jupyterhub: nameOverride: "jupyterhub" - # This value has to be null in order apply release name on this chart's resources. + # This value has to be null in order to apply release name on this chart's resources. # https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/b4b51301ac886511c643cc5d428b15ff38006bee/jupyterhub/values.yaml#L1 fullnameOverride: @@ -20,7 +20,7 @@ jupyterhub: volumeMounts: - name: home mountPath: /home/jovyan - subPath: admin + subPath: jupyterhub_workspace - name: model-initializer image: jupyterhub/k8s-singleuser-sample:4.2.0 @@ -49,7 +49,7 @@ jupyterhub: readOnly: true - name: home mountPath: /home/jovyan - subPath: admin + subPath: jupyterhub_workspace - name: "download-models-py" mountPath: /tmp/download_models.py subPath: download_models.py @@ -66,7 +66,7 @@ jupyterhub: type: static static: pvcName: "ai-starter-kit-models-cache-pvc" - subPath: "{username}" + subPath: "jupyterhub_workspace" capacity: 20Gi homeMountPath: /home/jovyan extraVolumes: diff --git a/ai/ai-starter-kit/helm-chart/ai-starter-kit/values.yaml b/ai/ai-starter-kit/helm-chart/ai-starter-kit/values.yaml index dad70399..9c6e697e 100644 --- a/ai/ai-starter-kit/helm-chart/ai-starter-kit/values.yaml +++ b/ai/ai-starter-kit/helm-chart/ai-starter-kit/values.yaml @@ -1,6 +1,6 @@ jupyterhub: nameOverride: "jupyterhub" - # This value has to be null in order apply release name on this chart's resources. + # This value has to be null in order to apply release name on this chart's resources. # https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/b4b51301ac886511c643cc5d428b15ff38006bee/jupyterhub/values.yaml#L1 fullnameOverride: