Skip to content

Commit

Permalink
fix: parametrize volume mount directory
Browse files Browse the repository at this point in the history
  • Loading branch information
alepalma91 committed Dec 21, 2023
1 parent e4a319f commit a3212a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/cog-ai-model/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: model-data-volume
mountPath: "/src/model_data"
mountPath: {{ .Values.config.modelMountDir }}
volumes:
- name: model-data-volume
hostPath:
Expand Down
4 changes: 2 additions & 2 deletions charts/cog-ai-model/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ image:
tag: ""

config:
modelRepo: "https://huggingface.co/THUDM/cogvlm-chat-hfnv"
modelRepo: "https://the-repository-of-the-model"
modelRepo: "https://huggingface.co/THUDM/cogvlm-chat-hfnv" #"https://the-repository-of-the-model"
modelLocalDir: "/var/model/<model-name>"
modelMountDir: "/src/model_data"

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit a3212a5

Please sign in to comment.