-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add support to pull NIM profiles from GCS cache #93
base: main
Are you sure you want to change the base?
Conversation
a2f7dfa
to
952eafc
Compare
952eafc
to
21b70b5
Compare
@@ -184,17 +229,17 @@ resource "helm_release" "my_nim" { | |||
|
|||
set { | |||
name = "csi.volumeAttributes.bucketName" | |||
value = google_storage_bucket.ngc_gcs_cache.name | |||
value = "ngc-gcs-cache-5f0f6937-fad0-1df7-025e-a912ebf61647" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we mean for this to be a static value? Is there anything significant about this specific bucket?
if [ -n "${NGC_BUNDLE_URL:-}" ]; then | ||
# Create a sub-directory, as tar tries to modify the parent folder permissions | ||
export CACHE_PATH="$NIM_CACHE_PATH/cache" | ||
mkdir "$CACHE_PATH" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be mkdir -p?
Would you be able to sign one of your commits prior to accepting this PR? https://github.com/NVIDIA/nim-deploy/blob/main/CONTRIBUTING.MD#signing-your-work |
Add support to pull NIM profiles from GCS cache