-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the Jupyter notebook image version (#886)
* Update the Jupyter notebook image version
- Loading branch information
Showing
4 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
To build a new jupyter notebook image and use it for the RAG QSS: | ||
1. Update the cloudbuild.yaml with the new image tag. | ||
|
||
The iamge tag should follow the pattern `sample-public-image-v<VERSION_NUMBER>-rag`.The prefix `sample-public-image-` is needed to so the images will internally be considered as vulnerability remediated and no more bugs will be filed for them. | ||
2. Then in this path, run: | ||
|
||
`gcloud config set project ai-on-gke` | ||
|
||
`gcloud builds submit --config cloudbuild.yaml .` | ||
|
||
This will build and push the new image to the registry `us-central1-docker.pkg.dev/ai-on-gke/rag-on-gke` | ||
3. Update the `notebook_image_tag` in `/applications/rag/main.tf` to the new image tag. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
langchain==0.3.7 | ||
langchain==0.3.7 | ||
ray==2.9.3 | ||
datasets==2.18.0 | ||
sentence-transformers==2.5.1 | ||
|