Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set model-volume default to tmp volume #293

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

yongfengdu
Copy link
Collaborator

Set default value for model-volume to tmp volume.
Change modelUsePV to modelUsePVC as this is PVC.
Make modelUsePVC high priority than modelUseHostPath.

Description

Minor fixes to PVC setting

Issues

#128

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Tests

Try with different settings and check the volume:
helm install tgi tgi --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN}

helm install tgi tgi --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set global.modelUsePVC=model-volume

helm install tgi tgi --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set global.modelUseHostPath=/mnt/models

helm install tgiboth tgi --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set global.modelUseHostPath=/mnt/models --set global.modelUsePVC=model-volume

@lianhao
Copy link
Collaborator

lianhao commented Aug 13, 2024

should we change the update_manifests.sh too?

Set default value for model-volume to tmp volume.
Change modelUsePV to modelUsePVC as this is PVC.
Make modelUsePVC high priority than modelUseHostPath.

Signed-off-by: Dolpher Du <[email protected]>
@yongfengdu
Copy link
Collaborator Author

should we change the update_manifests.sh too?
updated and regenerated the manifests, the manifests are not impacted.

Copy link
Collaborator

@lianhao lianhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@daisy-ycguo daisy-ycguo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@daisy-ycguo daisy-ycguo merged commit b5c14cd into opea-project:main Aug 13, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants