Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Ialacol-build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
K8s AI Models
Ialacol-build
Commits
4f651e38
Unverified
Commit
4f651e38
authored
1 year ago
by
Henry Chen
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Pass `TRUNCATE_PROMPT_LENGTH` to deployment, switch to `ghcr.io` image (#63)
Signed-off-by:
Hung-Han (Henry) Chen
<
chenhungh@gmail.com
>
parent
2f03dee8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
charts/ialacol/Chart.yaml
+2
-2
2 additions, 2 deletions
charts/ialacol/Chart.yaml
charts/ialacol/templates/deployment.yaml
+2
-0
2 additions, 0 deletions
charts/ialacol/templates/deployment.yaml
charts/ialacol/values.yaml
+1
-1
1 addition, 1 deletion
charts/ialacol/values.yaml
with
5 additions
and
3 deletions
charts/ialacol/Chart.yaml
+
2
−
2
View file @
4f651e38
apiVersion
:
v2
apiVersion
:
v2
appVersion
:
0.11.
0
appVersion
:
0.11.
1
description
:
A Helm chart for ialacol
description
:
A Helm chart for ialacol
name
:
ialacol
name
:
ialacol
type
:
application
type
:
application
version
:
0.11.
0
version
:
0.11.
1
This diff is collapsed.
Click to expand it.
charts/ialacol/templates/deployment.yaml
+
2
−
0
View file @
4f651e38
...
@@ -57,6 +57,8 @@ spec:
...
@@ -57,6 +57,8 @@ spec:
value
:
{{
(.Values.deployment.env).GPU_LAYERS | quote
}}
value
:
{{
(.Values.deployment.env).GPU_LAYERS | quote
}}
-
name
:
MODE_TYPE
-
name
:
MODE_TYPE
value
:
{{
(.Values.deployment.env).MODE_TYPE | quote
}}
value
:
{{
(.Values.deployment.env).MODE_TYPE | quote
}}
-
name
:
TRUNCATE_PROMPT_LENGTH
value
:
{{
(.Values.deployment.env).TRUNCATE_PROMPT_LENGTH | quote
}}
volumeMounts
:
volumeMounts
:
-
mountPath
:
/app/models
-
mountPath
:
/app/models
name
:
model
name
:
model
...
...
This diff is collapsed.
Click to expand it.
charts/ialacol/values.yaml
+
1
−
1
View file @
4f651e38
replicas
:
1
replicas
:
1
deployment
:
deployment
:
image
:
quay
.io/chenhunghan/ialacol:latest
image
:
ghcr
.io/chenhunghan/ialacol:latest
# or use CUDA image `ghcr.io/chenhunghan/ialacol-cuda12:latest`
# or use CUDA image `ghcr.io/chenhunghan/ialacol-cuda12:latest`
# env:
# env:
# DEFAULT_MODEL_HG_REPO_ID: TheBloke/Llama-2-7B-Chat-GGML
# DEFAULT_MODEL_HG_REPO_ID: TheBloke/Llama-2-7B-Chat-GGML
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment