* refactor, chore(egen): Removes boilerplate, heading fixes, and other corrections from template
* refactor, chore(egen): Removes boilerplate, heading fixes, and other corrections from template
* Fixed issue related to image building
* Did minor fixes regarding docker image path and bucket creation command
* Updated command of bucket creation
* Did major changes in docker related code
* Fixed issue raised on PR
* Removed output of executed cells
* fix, refactor, chore: updates the model saving location in training script, removes the unnecessary code for training, refactors and updates the training image creation section accordingly
* chore: updates explanation about python package in the overview section
* fix, chore: specifies the working dir while building and running the container, adds '.' in a sentence in Overview
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to new notebook template
* <refactor>: refactored code according to new notebook template
* <refactor>: refactored code according to new notebook template
* <refactor>: refactored notebook according to new notebook template
* <refactor>: refactored notebook according to new notebook template
* Updated colab enterprise link
---------
Co-authored-by: SumanthKasula99 <sumanth.kasula@egen.ai>
* refactor, chore(egen): replaces region with location, adds additional parameters in dataset_delete() function inside cleanup cell
* wording changes
* wording and case change
* fix,chore,refactor(egen):Changed REGION variable name to LOCATION, modified the import file, added version for the tensorflow package in installation step, added comments in cleanup section, removed os.getenv(IS_TESTING) from the cleanup section, refactored code according to the template guidelines and performed linter test.
* chore(egen): Done changes according to @kittyabs and performed linter test.
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* fix, chore, refactor(egen): Adds numpy==1.23.0, removes version ==0.0.4 from vizier installation, replaces K80 with T4, refactors as per template guidelines
* removes use of future tense
* case change, wording changes as per PR comments
* feat: Official notebook for Mistral AI Release 07/24
* feat: Official notebook for Mistral AI Release 07/24,added links to Vertex, Public docs
* feat: Official notebook for Mistral AI Release 07/24; links reorged
* feat: Official notebook for Mistral AI Release 07/24;lint issue resolved
* feat: Official notebook for Mistral AI Release 07/24;large name change [2407]
* Adapted code with new notebook template
* Updated working libraries and replace all the REGION variable with LOCATION
* Testead code and gone through notebook template. Did required changes.
* Did required changes based on the feedbak given on PR
* Did required changes based on feedback given on PR
* fix, chore: upgrades the tensorflow version to the latest, reorganizes and rewords the heading structure to follow the tutorial flow, removes unnecessary code highlights, fixes typos
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* chore: Follows new template, removes IS_TESTING, relaces REGION with LOCATION
* chore: Cloud console --> Google Cloud console
* chore: addresses review comments, sets delete_bucket to True to remove the GCS bucket in the cleaning up step
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* chore: removes boiler plate, adds colab enterprise and edits acording to template
* chore: run end to end and reformat according to template
* chore: lint
* fix: removes testing induced error and runs lint
* chore: update REGION to LOCATION
* chore: lint test and update checks failure
* chore: address review comments
* fix,chore,refactor(egen): Added colab enterprise logo with link, heading changes according to template guidelines,changed REGION variable name to LOCATION, modified code in online prediction using the SDK interface, added the clean up code for endpoint and training job, added comments in cleanup code, refactored code according to template guidelines and performed linter test.
* chore(egen): removed version in the installation step and performed linter test
* chore,refactor(Egen):Done changes according to @kittyabs review and performed linter test.
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* chore,refactor(egen): Changed REGION variable name to LOCATION, removed IS_TESTING from the cleaning up section, refactored code according to template guidelines and performed linter test.
* chore(egen): Done changes according to @kittyabs review and performed linter test.
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* fix,chore,refactor(egen): Changed REGION variable name to LOCATION, changed CLUSTER_REGION variable name to CLUSTER_LOCATION, added gcloud command to enable dataproc cluster, refactored code according to the template guidelines and performed linter test.
* chore(egen): Done changes according to @kittyabs review and performed linter test.
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* <Refactor, Chore> Refactored the notebook according to the template, updated and added new package.
* Applied suggested edits.
* Applied suggested edits.
---------
Co-authored-by: UBhavani <bhavani.ummadi@egen.ai>
Updated name of Cloud Profiler (used to be called various versions of Tensorboard Profiler etc. It's Cloud Profiler on first use, Profiler (shortened) for further uses.
* added example notebook for Spark on RoV
* added example notebook for Spark on RoV
* ran linter on spark_on_ray_on_vertex_ai.ipynb
* updated official CODEOWNERS file for spark on ray on vertex ai notebook
* fixed text
* fixed project and location variables for build
* lint run
* added docker authentication
* renamed docker repo
* added sdk version
* added quiet to docker authentication
* added explicit dependencies installation
* added google cloud aiplatform ray module installation
* added gcloud update and cleanup
* added a wait to avoid timeout error in the test build
* fixed cluster resource name in delete
* added timestamp suffix to cluster name
* added a 5 minutes wait after cluster creation
* address PR comments
* <refactor, chore> Updated prebuilt container image for prediction to 1.3, scikit-learn package updated to 2.5.1, other corrections from template
* <refactor> refactored notebok according to notebook template
* <refactor> refactored notebok according to notebook template
* <refactor> refactored notebok according to notebook template
* <refactor> refactored notebok according to notebook template
* <refactor> refactored notebok according to notebook template
---------
Co-authored-by: SumanthKasula99 <sumanth.kasula@egen.ai>
* refactor, chore(egen): refactors code as per new template guidelines, removes future tense, replaces REGION with LOCATION, performs linter test
* you are changed to you're
* wording changes, performed linter test
* notebook changed to notebooks (plural)
* chore,refactor(egen): Changed REGION variable name to LOCATION, changed DATA_REGION variable name to DATA_LOCATION, added cleanup code for pipeline jobs, batch prediction job, modified cleanup code for deletion of bigquery dataset, removed versions of packages in the install step, removed os.getenv(IS_TESTING) while cleanup bucket, refactored code according to template guidelines and performed linter test.
* chore,refactor(Egen):Done changes according to @kittyabs review and performed linter test.
* chore(egen): redefined the variables of training pipeline job name and prediction pipeline job name and performed linter test
* chore(egen): redefined the model variable in cleanup section and performed linter test
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* chore, refactor: adds colab enterprise, remove boiler plate
* refactor: changes REGION to LOCATION
* chore: run end to end and remove testing variable
* chore: lint
* [AutoSxS] Replace 1p model `text-bison` to `Gemini` because text-bison will be deprecated.
* product name edit
* Replace gemini 1.0 pro to gemini 1.5 pro.
* Fix the error when downloading the public dataset.
* fix,chore,refactor(egen): replaced import file of gcs with new one to create dataset, removed import statement of os module, removed os.getenv(IS_TESTING) while cleanup bucket, replaced UUID with unique and deleted code to generate UUID, changed aip to aiplatform, changed REGION to LOCATION, added endpoint.delete() to delete the endpoint, hardcoded TF version to 2.15.1, refactored code according to template guidelines and performed linter test.
* chore(egen): removed back ticks
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* chore,refactor(egen): Added opencv-python-headless and tensorflow==2.15.1 packages in installation step, Added import os statement in set machine type configuaration cell, Added cloud storage bucket and local files cleanup code, refactored code according to template guidelines and performed lintr test
* refactor(Egen):Done changes according to @kittyabs review and performed linter test.
* chore(egen): added IS_TESTING part while creating artifact repository and perfomred linter test
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* chore: refactor according to template, removes boilerplate, adds colab enterprise
* refactore: adds testing variables
* fix, chore: end to end testing with version change as fix
* chore: lint
* chore: addresses review comments and runs lint
* Fixed code issue template issue in distillation file
* Did required changes in notebook template
* Did minor changes
* Added execption handling at cleanup step to handle error while performing cleanup
* Fixed issue based on feedback given on feedback
* fix, chore, refactor: removes hard-coded project-id, remove future tense and reorganizes the sections, refactors the cleaning up section
* fix, refactor, chore: cleans up the resources using display name rather than resource name, adds wait step to wait until the pipeline job is finished, updates the overview section to remove 'we'
* fix: runs _job.wait() instead of .wait() method for waiting, updates the var pipeline_job to pipeline
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* refactor, chore(egen): refactors code as per new template guidelines, adds code to delete locally generated files
* added code to delete custom job in the cleanup section
* license year changed to 2022, removed you as per PR comments
* future to present tense
* adds tensorflow installation, protobuf version changes to resolve dependency issues
* chore, refactor, feat: follows new template, simplifies code for display-names, adds steps for deleting the resources in the cleaning up section
* chore: addresses the review comments
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* refacto, chore (egen): refactors code as per template guidelines, hardcodes TF version to 2.15.1, adds code to delete locally generated files, markdown changes ,performs linter test
* adds space
* changed URL for notebook redirects
* Updated notebook templace and did minor changes in notebook comments
* Added link of colab enterprice
* Fixed the link related issue and removed unwated variable value
* Added below comment in notebook:
# @title Copyright & License (click to expand)
* Fixed the issue related to notebook template based on reviewers feedback
* Fixed issue based on feedback given on PR
* Fixed the issue based on feedback given on PR
* fix, chore: replace REGION with LOCATION, remove will, contracts 'is not'
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* refactor,chore(egen) : refactored code according to template guidelines and removed unused and deprecated code
* refactor,chore(egen) : refactored code according to template guidelines and removed unused and deprecated code
* refactor(egen) : refactored notebook according to template guidelines
---------
Co-authored-by: Jayakrishna2801 <jayakrishna.rajaboina@egen.ai>
* chore, refactor, feat: follows new template, fixes typos, updates dsl.Condition to ds.If, rewords the headings and organizes them as per the tutorial, adds a cleanup step for the pipeline file
* chore, fix: minor sentence corrections, removes undefined UUID parameter
* chore: addresses the review comments
* fix: fixes the var name pipeline --> pipeline_job
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* chore: removes boilerplate, adds colab enterprise, changes region to location, adds testing variables
* chore, fix: adds verification_mode to load_dataset to deal with error and runs end to end
* chore: removes testing code
* chore: lint
* chore: addresses review comments
* chore: follows new template, fixes typos, removes unnecessary code-highlights, replaces K80 with T4, replaces REGION with LOCATION, removes IS_TESTING in cleaning up section, makes sentence/heading corrections and re-organizes some subsections as per the tutorial
* chore, refactor: minor markdown corrections, updates machine_type description and code to suit the explanation
* chore: addresses review comments and corrects 'uploading to a Vertex AI model resource' to 'uploading to Vertex AI Model Registry'
* chore: addresses the review comments
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* refactor,chore(egen) : refcatored code according to template guidelines and added cleanup code
* refactored code according to template guidelines
* refcatord code according to template guidelines
* refactor(egen) : refactored code according to template guidelines
* refactor(egen) : refactored code according to template guidelines
---------
Co-authored-by: Jayakrishna2801 <jayakrishna.rajaboina@egen.ai>
* refactor, chore(egen): refactors code as per new template guidelines ,hardcodes TF version to 2.15.1, changes K80 to T4
* adds code to delete batch prediction jobs in the clean up section
* Changed lower to upper case
* reverted license to 2022 as per comment
* case change, wording changes as per PR comments
* <refactore, chore>refactored notebook according to the template
* refactor: Apply markdown text edit
* source distribution fix
* source distribution fix
---------
Co-authored-by: SumanthKasula99 <sumanth.kasula@egen.ai>
* refcator, chore(egen) : refactored code according to template guidelines
* chore(egen) : changed headings as per guidelines
* performs linter test
* refactored code accordig to template guidelines
* formatted according to template guidelines
* formatted according to template guidelines
* refcator(egen) : refactored code according to template guidelines
* refactor(egen) : added warning message for kernal restart
---------
Co-authored-by: Jayakrishna2801 <jayakrishna.rajaboina@egen.ai>
* chore,refactor(egen): Changed REGION variable name to LOCATION, Added cleanup code fro cloud storage bucket, refactored code according to the template and performed linter test
* chore(egen): replaced region variable with location and perfomred linter test
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* refcator,chore(egen) : refcatored code according to template guidelines
* refcator(egen) : formatted accorded to template guidelines
* refactor(egen) : refactored code according to template guidelines,removed hardcoded values and performed linter test
* refactor(egen) : added warning message for kernal restart
* refactor(egen) : refactored according to template guidelines
* refactor(egen) : refactored according to template guidelines
* refactor(egen) : refactored according to template guidelines
---------
Co-authored-by: Jayakrishna2801 <jayakrishna.rajaboina@egen.ai>
* chore,refactor(egen): Changed REGION variable name to LOCATION, Removed os.getenv(IS_TESTING) while cleanup bucket, refactored code according to the template and performed linter test
* chore,refactor(egen): Changed REGION variable name to LOCATION, Removed os.getenv(IS_TESTING) while cleanup bucket, refactored code according to the template and performed linter test
* chore(egen): replaced region variable with location and perfomred linter test
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* fix,refactor,chore(egen): adds endpoint.wait() to resolve timeout error, hardcodes tf version to 2.15.1, refactors code as per tempalte, performs linter test
* contraction of words
* added code highlight
* chore: removes boiler plate and reformats according to the template
* chore: adds colab enterprise link to the notebook
* chore: testing end to end
* chore:end to end test with reformatting
* chore: lint
* chore: addresses comment on the markups
* fix, chore, refactor(egen): hardcodes scikit-learn version to 1.2, changes python version from 3.9 to 3.10, adds numpy==1.26.4 installation, adds code to undeploy model from endpoints, rusage of future tense
* wording changes
* markdown wording changes as per PR comments
* fix, refactor, chore(egen): removes keras3 dependency error while saving the model, refactors code as per template, performs linter test
* set epochs to 14 as per original code
* changed CustomJob to Custom Job
* chore: follows new template, remove IS_TESTING, replace REGION with LOCATION, organizes headings and styles, removes unnecessary code highlights
* fix: removes USER var, adds IS_COLAB var
* chore: addresses the review comments
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* refactor,chore(egen) : refactored code as per template guidelines and performed linter test
* refcator(egen) : refcatored code according to template guidelines
* refcator(egen) : refcatored code according to template guidelines
* refcator(egen) : refcatored code according to template guidelines
* refactor(egen) : refactored code according to template guidelines
---------
Co-authored-by: Jayakrishna2801 <jayakrishna.rajaboina@egen.ai>
* refactor,chore(egen) : refactored according to template guidelines , performed linter test
* refactor,chore(egen) : removed hardcoded values , performed linter test
* refcatored according to template guidelines
* refactor(egen) : refactored code according to template guidelines
* refactor(egen) : refactored code according to template guidelines
---------
Co-authored-by: Jayakrishna2801 <jayakrishna.rajaboina@egen.ai>
* chore,refactor(Egen): Removed the google-cloud-pipeline-components package version, IS_TESTING Variable and import statement of os module from the cleaning up section, Replaced REGION variable with LOCATION, refactored code according to template guidelines and performed linter test.
* chore(egen):renamed location variable to LOCATION
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* chore(egen):Added the note for deprecation of notebook and performed linter test
* chore(egen):changed the title of the link in the deprecated note
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* chore(egen) : added notes to deprecated notebook
* chore(egen) : performed linter test
* chore(egen) : added notes to deperecated notebook and performed linter test
* linter test
---------
Co-authored-by: Jayakrishna2801 <jayakrishna.rajaboina@egen.ai>
* refactor: removes boilerplate code, and fixes heading
* refactor: change region to location
* Removes IS_TESTING variable
* cleanup of changes
* chore: lint test done
* chore: aligns the icons to the center
* chore:verbiage changes and end to end code execution
* chore: reformatted by lint test
* chore: edits future tenses and reformatted by lint test
* chorE: address review comments and change import statement based on lint test
* fix: error rectification, remove vague testing variables
* fix: rectifies testing induced error in notebook
* chore: lint
* chore,refactor: removes boiler plate, removes version of aiplatform package, adds colab enterprise and formats according to the template
* chore: run end to end
* chore: lint run
* refactor, chore(egen): Refactored code according to template guidelines, performed linter test
* refactor, chore(egen): Removed vertexai SDK initiation in the beginning, performed linter test
* refactor, chore(egen): Made some grammatical changes in markdown script, performed linter test
* refactor(egen): modified code to delete locally created file, code to delete custom job
* comment change
---------
Co-authored-by: sumanvita-springml <sumanvita.kandregula@egen.ai>
* chore, refactor: adds colab enterprise, removes boilerplate, formats based on template, changes region to location
* chore,refactor: run end to end and format according to template
* chore: Lint test
* chore: comments on lower case addressed and lint run
* chore: comments on lower case addressed and lint run
* chore: address comment on lowercase of resource names
* <Refactor> Refactored the notebook according to the template.
* <refactor, chore, fix> Refactored the notebook according to the template, updated the documentation link and package version, fixed the import errors.
---------
Co-authored-by: UBhavani <bhavani.ummadi@egen.ai>
* refactor : removed ! rm lightweight_pipeline.json
* chore,refactor : Added cleanup code for deletion of pipeline and refactored code according to template guidelines , performed linter test
* chore,refactor : Added cleanup code for deletion of pipeline and refactored code according to template guidelines , performed linter test
* refactor,chore : Added code for deletion of pipeline and refactored code according to template guidelines , performed linter test
* refactor,chore : refactored code according to template guidelines and downgraded numpy version
* refactor : removed project name and bucket name used for testing in local
* refactor : refactored code according to template guidelines
* performed linter test
---------
Co-authored-by: Jayakrishna2801 <jayakrishna.rajaboina@egen.ai>
* chore(egen):Added the details of the deprecation of the notebook and performed linter test
* chore(egen):changed the title of the link in the deprecated note
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* <Refactor> Refactored the notebook according to the template.
* <Refactor> Refactored the notebook according to the template.
* applied suggested edits.
* Changed region to location.
---------
Co-authored-by: UBhavani <bhavani.ummadi@egen.ai>
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Split the 'instant-id' deployment notebook prediction into two sections.
* add `deployment_source` to the notebook.
* Switch to `pytorch-diffusers-serve-opt` container to for diffusion lora serving.
* add the dreambooth_lora notebook.
* minor update.
* Parameterize the "show_debug_logs" to facilitate automatic test of the Gradio notebooks.
* Lint format.
* minor updates
* Delete the two deprecated SD1.5 and 2.1 notebooks, as they were no longer referenced on any model cards.
* Sync Colab notebooks between g3 and github.
* format changes
* format update.
* Improve the SDXL-dreambooth-lora finetune notebook CUJ.
* Update the diffusers serving docker image version to `20240605_1400_RC00` to resolve vulnerabilities.
* Add dreambooth-lora-sdxl task for SDXL base model in the dreambooth finetune Gradio notebook.
* Add dreambooth-lora-sdxl task for SDXL base model in the dreambooth finetune Gradio notebook.
* Add dreambooth-lora-sdxl task for SDXL base model in the dreambooth finetune Gradio notebook.
* Add a new notebook for local dreambooth finetune user experience.
* refractor,chore(egen): replaced kfp.v2 with kfp in compile step, refracted code according to template guidelines, performed linter test
* chore,refactor(Egen): replaced aip with aiplatform, removed import statement of os module, refactored code according to template guidelines and performed linter test.
* refactor(egen):refactored code by renaming REGION variable to LOCATION and performed linter test
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* fix, chore, refactor: fixes the issue with job creation request, refactors to use the latest SDKs, follows the new template, sentence corrections
* chore: removes future tense, minor sentence corrections
* chore: addresses the review comments
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* chore, refactor: adds colab enterprise and refactors according to template
* fix, refactor: fixes issue with loading input and output with the types expected
* chore: lint
* chore, refactor(egen): hardcodes TF version to 2.15.1, refactors code as per template,changes future to present tense
* refactor(egen): removes hypen between words
* refactor(egen): wording change
* contracts words like it is to it's
* refactor, chore(egen): refactored code as per new notebook template, changes REGION to LOCATION
* chore, refactor(egen): adds code for deletion of locally generated files and other resources, rephrases sentences
* refactor(egen): changes lower to uppercase according to PR comments
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
added colab enterprise logo and link
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
hope I fixed the JSON issue
* fix: remove new changes
* Update vertex_ai_feature_store_based_llm_grounding_tutorial.ipynb
remove back ticks from product/feature names
* Update xai_image_classification_feature_attributions.ipynb
removed back ticks from product names.
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
added colab enterprise logo and link
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
hope I fixed the JSON issue
* fix: remove new changes
* Update vertex_ai_feature_store_based_llm_grounding_tutorial.ipynb
remove back ticks from product/feature names
* Update get_started_with_model_monitoring_custom.ipynb
small edits
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
added colab enterprise logo and link
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
hope I fixed the JSON issue
* fix: remove new changes
* Update vertex_ai_feature_store_based_llm_grounding_tutorial.ipynb
remove back ticks from product/feature names
* Update vertex_ai_feature_store_feature_view_service_agents.ipynb
remove back ticks
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* <fix, refactor> fixed and refactored notebook according to the template
* Apply suggested edits from @kittyabs
* Apply suggested edits from @kittyabs
---------
Co-authored-by: SumanthKasula99 <sumanth.kasula@egen.ai>
* refractor(egen): refracted code according to template guidelines, performed linter test
* refractor(egen): refracted code by removing os.getenv(IS_TESTING) in clean up code of bucket
* chore,refactor(egen):grammar check according to template guidelines, refactored the code by adding clean up code for deletion of local files created and model endpoint and performed linter test.
* refactor(egen):refactored code by modifying clean up code and performed linter test
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
* refactor, chore(egen): Refactored code according to template guidelines, performed linter test
* refactor, chore(egen): Removed vertexai SDK initiation at the beginning, performed linter test
* chore, fix: removes future tense(will), fixes workbench-specific dependency compatibility issue by fixing versions, removes Only at bucket creation, fixes categorical fields while encoding, adds comments in cleanup, adds project-id in gsutil command
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* fix, refactor, chore(egen): replaced .json to .yaml, refacted the code as per notebook template, performed linter test.
* refactor, chore(egen): Rephrases sentences, changes from google.cloud import aiplatform instead to import google.cloud.aiplatform as aip
* refactor(egen(egen): cleared cell output
* refactor, chore(egen): changes made as per PR comments, perfomed linter test
* fix,refractor,chore(egen): replaced np.float with np, refracted code according to template guidelines, performed linter test
* refractor(egen): refracted code according to template guidelines, performed linter test
* chore, fix: corrects/rewords some sentences, replaces K80 with T4
* chore(egen): spell check
* refactor, chore(egen): wording changes, contracts words like is not to is'nt, ran linter test
* refactor, chore(egen): rewording ,reintroduces import numpy as np in task.py
* fix(egen): removes delete_custom_folder variable in cleanup section
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
added colab enterprise logo and link
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
hope I fixed the JSON issue
* fix: remove new changes
* Update online_feature_serving_and_fetching_bigquery_data_with_feature_store_optimized.ipynb
made edits and also corrected the URL involving "pantheon", changing it to: https://console.cloud.google.com
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
added colab enterprise logo and link
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
hope I fixed the JSON issue
* fix: remove new changes
* Update online_feature_serving_and_fetching_bigquery_data_with_feature_store_bigtable.ipynb
Some small edits, but mainly, I changed the URL that used "pantheon" to https://console.cloud.google.com,
Note: egen has not reviewed this notebook yet, so I didn't do a more detailed edit. Will do that once they've updated the notebook.
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
added colab enterprise logo and link
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
hope I fixed the JSON issue
* Update online_feature_serving_and_vector_retrieval_bigquery_data_with_feature_store.ipynb
some small edits
* fix: remove new changes
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* chore, refactor: follows new template, removes IS_TESTING in clean up, contracts words and some steps, spell correct, K80 to T4
* chore: addresses review comments
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* chore, fix, refactor: template fixes, replace K80 with T4, remove IS_TESTING, reword some sentences and headings
* fix, refactor, feat, chore: replace K80 with T4, fix the TF version, template based fixes, remove local files in the clean up step
* chore: addresses review comments
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* refactor,chore(egen): refacted the code as per template guidelines, correct/reword some sentences, future tense removal
* refactor(egen): adds -p {PROJECT_ID} while creating bucket
* clears cell outputs
* refactor, chore(egen): removes extra spaces, changes does not to does'nt, performed linter test
* fix,refractor,chore(egen): refracted code according to template guidelines, performed linter testfixed and refactored notebook according to template
* refactor(egen): replaced the project_id with [you-project-id] according to template guidelines
* chore: template guideline fixes
* chore: corrects/rewords some sentences
* chore: minor markdown fixes
* chore(Egen):Done changes according to @kittyabs review and performed linter test.
* performed linter test
---------
Co-authored-by: sriramya2610 <sriramya.peddapally@egen.ai>
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
added colab enterprise logo and link
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
hope I fixed the JSON issue
* Update online_feature_serving_and_vector_retrieval_bigquery_data_with_feature_store.ipynb
Made numerous edit and fixed "pantheon" link.
* fix: remove new changes
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* [MG Model Team] Add checks to train and rendering job buttons in ZipNeRF gradio notebook.
* Clear output of all cells.
* Validate scene name in colmap workshop.
* chore: adds colab enterprise and updates styling for all the open in tabs
* chore: removes boilerplate and updates according to template
* refactor: changes Region to Location
* test: end to end notebook testing
* chore: removes wil
* end to end run successful. clearing outputs
* chore: lint test done
* chore: rearrage cell
* Adapted code with updated template
* Tested end to end code and added required code
* Worked on the feedback given on PR
* Did required changes based on feedback given on PR
* refactore, chore (egen): Refactored code according to the notebook template, performed linter test
* refactor, chore(egen): Reverted changes regarding IS_TESTING, performed linter test
* refactor, chore (egen): Removed reference to Tensorboard billing since it is not true anymore, performed linter test
* refactor, chore (egen): Rectified project ID, performed linter test
* refactor: Rectified service account variable
* chore: Performed linter test
* refactor, chore(egen): Updated comments in cleaning up section, performed linter test
* chore, feat: template fixes, adds steps to remove training job, local files, and remove future tense and contract long words
* fix: replaces REGION with LOCATION while creating the bucket
* refactor: reduces the budget_milli_node_hours to 1000 from 8000
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* fix, chore, refactor, feat: replaces K80 to T4, replaces gcr pushes to artifact registry pushes, template based fixes, clean up for local files, remove IS_TESTING
* fix: defines the IS_COLAB step before the condition
* fix: REGION is replaced by LOCATION while creating the artifact registry
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* refactor, chore(egen): Replaced TESLA_V100 with TESLA_T4 and refactored the notebook with updated template, performed linter test
* Refactor, chore(egen): Made few markdown changes,REGION > LOCATION, performed linter test
* Updated notebook template
* Code fix related to variable TIMESTAMP, added project set for colab
* Updated tensorflow library and exuection of prediction code in VPC network
* Perfomred lint test of code
* Did minro changes regarding os.getenv
* Fixed issue based on feedback on PR
* Did required changes in prediction/llm_streaming_prediction.ipynb. Additionally, note that code is not executed as it may requried huge resources.
* Removed hardcoded project name
* Updated REGION to LOCATION
* Updated notebook template
* Removed unwated library and addded required variable to delete resources
* Removed unwated comment as it was creating issue with linter test
* refactor(egen): Refactored code according to the template guidelines
* fix, refactor: fixes the compatible tf version and removes unnecessary import in the clean up step
* fix: adds matplotlib in the installation step
---------
Co-authored-by: rohith-egen <rohith.alla@egen.ai>
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* [MG Model Team] Add CamP ZipNeRF Gradio application notebook to model garden.
* [MG Model Team] Add CamP ZipNeRF Gradio application notebook to model garden.
* [MG Model Team] Add CamP ZipNeRF Gradio application notebook to model garden.
* [MG Model Team] Add CamP ZipNeRF Gradio application notebook to model garden.
* chore: restructures according to template, contracts text and cells, organizes headings
* refactor: removes the IS_TESTING conditions for steps involving redis instance
* chore: addresses review comments
* fix: adds back the IS_TESTING conditions for redis commands to skip in the test environment
* chore: removes duplicate comment
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* Did required changes in notebook template
* Service account permission changed as we don't need admin level access for this notebook
* Fixed issue based on PR feedback
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Minor update the `sd-xl` deployment notebook, based on the QA feedback.
* Add a few community models to the Gradio workshop.
* Switch `mediapipe-train` docker container from `vertex-ai-restricted` to `vertex-ai`, in the `mediapipe-train` notebooks.
* Create a notebook for model `instantx/instantid`.
* Update Gradio notebook to use the latest Gradio version and fix some bugs.
1. Update Gradio version to 4.29.0, as it complains 3.50.0 is too old.
2. Uninstall nest-asyncio and uvloop as a workaround to b/339301920 and https://github.com/gradio-app/gradio/issues/8238#issuecomment-2101066984.
* Resolve merge conflict.
* minor updates.
* minor updates.
* Merge some SD notebook in g3 and github.
* Remove the unused variable in the controlnet notebook.
* minor updates.
* include the SD1.5 dreambooth notebook.
* Include the sd1.5 dreambooth notebook.
* Improve the stable diffusion dreambooth tuning CUJ in the Gradio notebook.
* minor update.
* Add dreambooth-lora-sdxl task for SDXL base model in the dreambooth finetune Gradio notebook.
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to notebook template
* <refactor,chore> refactored notebook according to template
* <refactor,chore> refactored notebook according to template
* fix for docker repository creation in PR test environment
* <included IS_TESTING condition for docker repository
* lint fix
* Apply suggested edits from @kittyabs review
---------
Co-authored-by: SumanthKasula99 <sumanth.kasula@egen.ai>
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Split the 'instant-id' deployment notebook prediction into two sections.
* add `deployment_source` to the notebook.
* Switch to `pytorch-diffusers-serve-opt` container to for diffusion lora serving.
* add the dreambooth_lora notebook.
* minor update.
* Parameterize the "show_debug_logs" to facilitate automatic test of the Gradio notebooks.
* Lint format.
* minor updates
* Delete the two deprecated SD1.5 and 2.1 notebooks, as they were no longer referenced on any model cards.
* Sync Colab notebooks between g3 and github.
* format changes
* format update.
* Improve the SDXL-dreambooth-lora finetune notebook CUJ.
* Update the diffusers serving docker image version to `20240605_1400_RC00` to resolve vulnerabilities.
* Add dreambooth-lora-sdxl task for SDXL base model in the dreambooth finetune Gradio notebook.
* Add dreambooth-lora-sdxl task for SDXL base model in the dreambooth finetune Gradio notebook.
* Add dreambooth-lora-sdxl task for SDXL base model in the dreambooth finetune Gradio notebook.
* chore: updates copyright text, adds colab enterprise and for
* chore: removes boilerplate and changes colab authentication and get started section
* refactor: removes IS_TESTING and other test code
* refactor: removes IS_TESTING and other test code
* chore: clear all outputs and linter reformatting
* chore: removes code added for testing and other fixes
* chore: runs lint
* fix: fixes testing induced bug
* chore: review comments with header and copyright changes addressed
* chore, fix: restructures as per template, rewords some sentences, removes sudo in the option docker run
* feat: adds clean up step for local files
* chore: reverts lowercase to camelcase for artifact registry and other review comments
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* chore: updates the license
* chore: formats run in buttons and adds colab enterprise link
* chore: removes code font for names of products
* refactor: removes boilerplate and edits aiplatform initialization cell order
* fix: changes naming of app to deal with setup changing tar.gz file to canonical name and gsutil command not able to find it
* chore: linter run
* chore: edit all the future tense sentences
* chore: updates review comments
* refactor: Refactored custom-tabular-bq-managed-dataset code according to the template notebook
* refactor: Included markdown code in the beginning of the license cell to make it collapsible
* chore: linter test
* refactor, chore: Updated markdown according to the updated notebook template and performed linter test
* chore: Grouped all the imports present in the notebook
* chore: linter test
* refactor, chore(egen): REGION is replaced with LOCATION, linter test
* chore: updates license information, adds colab enterprise, and reformats run buttons
* chore: 'will' replaced appropriately
* chore: updates region and removes boilerplate
* fix: corrects the argument at pip install
* refactor: refactoring the cells for end to end functionality
* chore: changes verbiage in bucket creation
* chore: linter test done
* refactor: rearrage cell order for aiplatform initialization
* chore: review comments addressed
* chore: review comments addressed
* refactor: Refactored custom_batch_prediction_feature_filter code according to the template notebook
* refactor: Updated markdown according to the updated notebook template and did linter test
* chore: Modified code according to updated template
* chore: linter test
* refactor, chore(egen): REGION is replaced with LOCATION, linter test
* refactor: Updated markdown according to the updated notebook template
* refactor, chore: Added colab enterprise logo url and performed linter test
* refactor, chore: Reverted back the max trail count and parallel trail count values, performed linter test
* refactor, chore: Updated markdown according to the updated notebook template and performed linter test
* Revert "refactor, chore: Updated markdown according to the updated notebook template and performed linter test"
This reverts commit c91fa09431.
* refactor, chore: Updated markdown according to the updated notebook template and performed linter test
* Did all the required changes in notebook
* Added below comments:
# @title Copyright & License (click to expand)
* Upadated the template of notebook
* Fixed issue based on the feedback given on PR
* refactor, chore(egen): Removes boilerplate, heading fixes, and other corrections from template
* Added Below line in comments:
# @title Copyright & License (click to expand)
* Fixed issue in notebook based on feedback given by reviewer in PR
* Fixed issue based on feedback given on PR
* chore: replaces K80 with T4, Cloud ML with Vertex AI, REGION with LOCATION, restructures from template, & removes future tense
* fix: fixes the docker tag command for colab
* chore, fix: addresses the review comments, tf is pinned to 2.15.1 as the latest tf causes issues
* chore: replaces of with or
* chore: removes the collapsed license comment
* fix: removes the test env specific package update step and contracts the installations into one step to keep tf as 2.15
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* chore: restructures according to the template, removes future tense, removes IS_TESTING, unused imports
* chore, fix: addresses the review comments, converts npy array to list for running in py-3.9
* chore: adds --it's-- in the sentence
* chore: Getting started --> Get started
* chore: removes the collapsed license comment
* fix: extracts list from numpy objects instead of Dataset object
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* Completed code fixing for file prediction/pytorch_image_classification_with_prebuilt_serving_containers.ipynb. Please note that we need to execute file end to end.
* Added Colab Enterprice link and testead once again with different environment as previously it was throwing an expecption of libraries
* Added below comment:
# @title Copyright & License (click to expand)
* Fixed issue in notebook based on feedback given by reviewer in PR
* Fixed issue based on feedback give on PR
* Fix code of file prediction/get_started_with_raw_predict.ipynb
* Added link of Colab Enterprise
* Updated create bucket command because it requried those changes to execute in google colab notebook
* Removed IS_TESTING environment variable
* Added below comment in notebook:
# @title Copyright & License (click to expand)
* Fixed issue in notebook based on feedback given by reviewer in PR
* Fixed issue based on the feedback given on PR
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Split the 'instant-id' deployment notebook prediction into two sections.
* add `deployment_source` to the notebook.
* Switch to `pytorch-diffusers-serve-opt` container to for diffusion lora serving.
* add the dreambooth_lora notebook.
* minor update.
* Parameterize the "show_debug_logs" to facilitate automatic test of the Gradio notebooks.
* Lint format.
* minor updates
* Delete the two deprecated SD1.5 and 2.1 notebooks, as they were no longer referenced on any model cards.
* Sync Colab notebooks between g3 and github.
* format changes
* format update.
* Improve the SDXL-dreambooth-lora finetune notebook CUJ.
* <refactor> refactored notebook according to template
* <refactor> refactored notebook according to template
* <refactor> refactored notebook according to template
* <refactor>: refactored notebook according to new notebook template
* <refactor>: refactored notebook according to new notebook template
* <refactor>: refactored notebook according to new notebook template
---------
Co-authored-by: SumanthKasula99 <sumanth.kasula@egen.ai>
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to notebook template
* <refactor>: refactored code according to new notebook template
* <refactor>: refactored code according to new notebook template
* <refactor>: refactored code according to new notebook template
* <refactor>: refactored notebook according to new notebook template
* <refactor>: refactored notebook according to new notebook template
---------
Co-authored-by: SumanthKasula99 <sumanth.kasula@egen.ai>
* <refactor>: Refactored text_embedding_api_semantic_search_with_scann code according to the notebook template
* chore: linter test
* refactor: Modified colab enterprise logo url and made necessary changes according to the updated notebook template
* chore: linter test
* refactor, chore, fix: replaces K80 with T4, fixes to follow the template, fixes to utilize the defined accelerators while training
* chore: addresses the review comments
---------
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* refactor: Refactored text_embedding_new_api code according to the template notebook
* refactor: Modified colab enterprise logo url and made necessary changes according to the updated notebook template
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
added colab enterprise logo and link
* Update build_model_experimentation_lineage_with_prebuild_code.ipynb
hope I fixed the JSON issue
* Update notebook_template.ipynb
- changed "Getting Started" to "Get started" to be in compliance with style guide
- added "for Python" to "Vertex AI SDK" to be in compliance with product guidelines
* fix: reset changes
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* <refactor>: refactored code according to notebook template
* <refactor> refactored notebook according to template
---------
Co-authored-by: SumanthKasula99 <sumanth.kasula@egen.ai>
* refactor: removes boilerplate code, future tenses, and fixes heading styles
* chore: replaces REGION with LOCATION to match the notebook template
* chore: markdown heading fixes according to guidelines
---------
Co-authored-by: rohith-egen <rohith.alla@egen.ai>
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* chore: updates the notebook according to the latest template
* chore: linter test
* refactor: removes IS_TESTING, and os import
* ran linter test using linter.sh
---------
Co-authored-by: rohith-egen <rohith.alla@egen.ai>
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* Update ray_cluster_management.ipynb
Updated logo for Colab Enterprise
* fix: change accelerator type
* fix: alter accelerator type
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* fix: n1-standard-8 changed to n1-standard-16 and Tesla K80 changed to Tesla T4 + refactored code according to the template
* refactor: keeping the machine types same. Original issue with the K80 accelerators as they're no longer supported
---------
Co-authored-by: rohith-egen <rohith.alla@egen.ai>
Co-authored-by: krishr2d2 <krishna.movva@egen.ai>
* Update tensorboard_custom_training_with_custom_container.ipynb
added colab enterprise link and logo
* Update comparing_local_trained_models.ipynb
Added colab enterprise logo and link. Also made some edits.
* Update delete_outdated_tensorboard_experiments.ipynb
Updated Colab Enterprise logo
* Update get_started_with_model_registry.ipynb
add colabe enterprise link
* fix: remove extra line break elements
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* Upgrade to v1 API in feature store llm grounding tutorial.
* Sleep for 5min before starting serving to wait for DNS to be ready.
* use data_key in fetch request
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Minor update the `sd-xl` deployment notebook, based on the QA feedback.
* Add a few community models to the Gradio workshop.
* Switch `mediapipe-train` docker container from `vertex-ai-restricted` to `vertex-ai`, in the `mediapipe-train` notebooks.
* Create a notebook for model `instantx/instantid`.
* Update Gradio notebook to use the latest Gradio version and fix some bugs.
1. Update Gradio version to 4.29.0, as it complains 3.50.0 is too old.
2. Uninstall nest-asyncio and uvloop as a workaround to b/339301920 and https://github.com/gradio-app/gradio/issues/8238#issuecomment-2101066984.
* Resolve merge conflict.
* minor updates.
* minor updates.
* Merge some SD notebook in g3 and github.
* Remove the unused variable in the controlnet notebook.
* minor updates.
* include the SD1.5 dreambooth notebook.
* Include the sd1.5 dreambooth notebook.
* Improve the stable diffusion dreambooth tuning CUJ in the Gradio notebook.
* minor update.
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Split the 'instant-id' deployment notebook prediction into two sections.
* add `deployment_source` to the notebook.
* Switch to `pytorch-diffusers-serve-opt` container to for diffusion lora serving.
* add the dreambooth_lora notebook.
* minor update.
* Parameterize the "show_debug_logs" to facilitate automatic test of the Gradio notebooks.
* Lint format.
* minor updates
* Delete the two deprecated SD1.5 and 2.1 notebooks, as they were no longer referenced on any model cards.
* Sync Colab notebooks between g3 and github.
* format changes
* format update.
* Update get_started_with_pytorch_rov.ipynb
This is a test
* updated URL to point to tensorboard-introduction (and not "overview")
* change URL to /tensorboard-introduction
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Minor update the `sd-xl` deployment notebook, based on the QA feedback.
* Add a few community models to the Gradio workshop.
* Switch `mediapipe-train` docker container from `vertex-ai-restricted` to `vertex-ai`, in the `mediapipe-train` notebooks.
* Create a notebook for model `instantx/instantid`.
* Update Gradio notebook to use the latest Gradio version and fix some bugs.
1. Update Gradio version to 4.29.0, as it complains 3.50.0 is too old.
2. Uninstall nest-asyncio and uvloop as a workaround to b/339301920 and https://github.com/gradio-app/gradio/issues/8238#issuecomment-2101066984.
* Resolve merge conflict.
* minor updates.
* minor updates.
* Merge some SD notebook in g3 and github.
* Remove the unused variable in the controlnet notebook.
* minor updates.
* include the SD1.5 dreambooth notebook.
* Include the sd1.5 dreambooth notebook.
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Split the 'instant-id' deployment notebook prediction into two sections.
* add `deployment_source` to the notebook.
* Switch to `pytorch-diffusers-serve-opt` container to for diffusion lora serving.
* add the dreambooth_lora notebook.
* minor update.
* Parameterize the "show_debug_logs" to facilitate automatic test of the Gradio notebooks.
* Lint format.
* minor updates
* Delete the two deprecated SD1.5 and 2.1 notebooks, as they were no longer referenced on any model cards.
Fx colab parameter usage - the linting/auto-format placed some variables
across multiple lines which doesn't work in colab. Make the FOS ID names
shorter to avoid this issue.
Also fix some usage for getting FOS - this can be done directly using
SDK constructor.
Set PSC allow list project to current project.
Increase sleep for DNS propagation to pass CI.
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Split the 'instant-id' deployment notebook prediction into two sections.
* add `deployment_source` to the notebook.
* Switch to `pytorch-diffusers-serve-opt` container to for diffusion lora serving.
* add the dreambooth_lora notebook.
* minor update.
* Parameterize the "show_debug_logs" to facilitate automatic test of the Gradio notebooks.
* Lint format.
* minor updates
* feat: Add notebook for E5 text embedding models
* feat: Add notebook for E5 text embedding models
* fix: Broken 'processor' param due to linter
* fix: Update the dev TEI docker images to the public ones
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Split the 'instant-id' deployment notebook prediction into two sections.
* add `deployment_source` to the notebook.
* Switch to `pytorch-diffusers-serve-opt` container to for diffusion lora serving.
* add the dreambooth_lora notebook.
* minor update.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Minor update the `sd-xl` deployment notebook, based on the QA feedback.
* Add a few community models to the Gradio workshop.
* Switch `mediapipe-train` docker container from `vertex-ai-restricted` to `vertex-ai`, in the `mediapipe-train` notebooks.
* Create a notebook for model `instantx/instantid`.
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Update Gradio notebook to use the latest Gradio version and fix some bugs.
1. Update Gradio version to 4.29.0, as it complains 3.50.0 is too old.
2. Uninstall nest-asyncio and uvloop as a workaround to b/339301920 and https://github.com/gradio-app/gradio/issues/8238#issuecomment-2101066984.
* Resolve merge conflict.
* minor updates.
* minor updates.
* Update the instant-id Gradio notebook to use the latest Gradio version and fix some bugs.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Minor update the `sd-xl` deployment notebook, based on the QA feedback.
* Add a few community models to the Gradio workshop.
* Switch `mediapipe-train` docker container from `vertex-ai-restricted` to `vertex-ai`, in the `mediapipe-train` notebooks.
* Create a notebook for model `instantx/instantid`.
* Update Gradio notebook to use the latest Gradio version and fix some bugs.
1. Update Gradio version to 4.29.0, as it complains 3.50.0 is too old.
2. Uninstall nest-asyncio and uvloop as a workaround to b/339301920 and https://github.com/gradio-app/gradio/issues/8238#issuecomment-2101066984.
* Resolve merge conflict.
* minor updates.
* minor updates.
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Split the 'instant-id' deployment notebook prediction into two sections.
* add `deployment_source` to the notebook.
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Minor fix to the stable diffusion gradio notebook.
* Create a Gradio notebook for the new InstantId model.
* Add dreambooth finetune to the stable diffusion Gradio workshop notebook.
* Update the image generation Gradio notebook to support Dreambooth finetuning.
* linter update
* linter update
* minor fix to the instant-id notebook.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Update the link of the reference images.
* Update feature store vector search notebook to use latest vertex SDK.
* Run lint to fix format issue
* Sleep for a few minutes to wait for DNS to be ready
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Minor update the `sd-xl` deployment notebook, based on the QA feedback.
* Add a few community models to the Gradio workshop.
* Switch `mediapipe-train` docker container from `vertex-ai-restricted` to `vertex-ai`, in the `mediapipe-train` notebooks.
* Create a notebook for model `instantx/instantid`.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Minor update the `sd-xl` deployment notebook, based on the QA feedback.
* Add a few community models to the Gradio workshop.
* Switch `mediapipe-train` docker container from `vertex-ai-restricted` to `vertex-ai`, in the `mediapipe-train` notebooks.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Minor update the `sd-xl` deployment notebook, based on the QA feedback.
* Add a few community models to the Gradio workshop.
* Update get_started_with_pytorch_rov.ipynb
This is a test
* Added "Open in Colab Enterprise" link and made other edits
* Update ray_cluster_management.ipynb
---------
Co-authored-by: Katie Nguyen <21978337+katiemn@users.noreply.github.com>
* Update FeatureStore embedding notebook to use vertex SDK preview.
* Fix format issue.
* Comment deleting transfer config code
* Add Credentialed Accounts
ACTIVE ACCOUNT
* 141951627079-compute@developer.gserviceaccount.com to debug permission issue
* Fix bigquery transfer run issue.
* Initial commit of a Llama2 TPUv5e LoRA example
* Addressing issue of job failing at the end by adding sys.exit(0) after all steps complete
* Adding Llama2 LoRA tuning on TPUv5e notebook
* Create /tmp/modelfiles folder for downloading model files during training
* Updated to use gcloud storage instead of gsutil
* Removed step to clear folder in bucket, since that causes failure
* Added serving/deployment section.
* Fixed linting errors
* Default to 8 chip tuning for quota issue on automated tests
* Defaulting back to 16 chip fine-tuning and epochs to 200
* Set Accelerate library to 0.28.0, as newer version break TPU support
* Updated upload of tuned model files to happen for all workers - to avoid timeout errors
* Temp remove active endpoint, then retest
* Updating docker container to python 3.10
* Added wait to prevent job delete step happening too early
* Lint issue and remove temporary endpoint delete
* Lint issue
* Add 15 minute wait while model is setup on the endpoint, and readd temp delete of endpoint
* Make 15 minute wait optional and remove temporary endpoint delete
* Remove GCS path to model garden model for final commit
---------
Co-authored-by: Rob Vogelbacher <robv@google.com>
* Update FS optimized serving GA colab
* Fix import order
* Fix import format
* Fix format
* Fix test issue
* Fix format
* Add way to getFOS&FV for FR/FG
* Fix minor typo in accelerator selection.
* Fix minor typo in accelerator selection.
* Update eval dataset to hellaswag.
* Update eval dataset to hellaswag.
* feat: Update supported models table in RLHF notebooks.
* feat: Update image that shows how to locate output_model_path.
* feat: Update name of deploy model component.
---------
Co-authored-by: Ryan Latture <latture@google.com>
* Add Colab on how to use Claude 3 models on Vertex AI
* Add Colab on how to use Claude 3 models on Vertex AI
* add codeowner
* lint
* update model version
* update stream sdk to have more readable response
* add colab for claude 3
* lint
* update CODEOWNERS and file name
* remove claude 3 colab from model_garden folder
* update CODEOWNERS
* format
* fix intergration test failed
* fix markdown not showing up
* fix markdown not showing up
* update pip command
* update install command
* update restart kernel command
* fix restart kernel command
* clear cell output
* update select region command
* raise error if user doesn't update project_id
* update ordering and add preview image section
* update ordering and add preview image section
* fix httpx package not install
* fix httpx package not install
* fix httpx package not install
* fix lint
* add claude 3 opus model
* fix lint
---------
Co-authored-by: Huy Ngo <huyngo@google.com>
* Add Colab on how to use Claude 3 models on Vertex AI
* Add Colab on how to use Claude 3 models on Vertex AI
* add codeowner
* lint
* update model version
* update stream sdk to have more readable response
* add colab for claude 3
* lint
* update CODEOWNERS and file name
* remove claude 3 colab from model_garden folder
* update CODEOWNERS
* format
* fix intergration test failed
* fix markdown not showing up
* fix markdown not showing up
* update pip command
* update install command
* update restart kernel command
* fix restart kernel command
* clear cell output
* update select region command
* raise error if user doesn't update project_id
* update ordering and add preview image section
* update ordering and add preview image section
* fix httpx package not install
* fix httpx package not install
* fix httpx package not install
* fix lint
---------
Co-authored-by: Huy Ngo <huyngo@google.com>
* Some minor updates to the SD-XL model deployment notebook, based on the QA feedback.
* Updates to the `sd-xl-dreambooth-lora-finetune` notebook based on feedback.
* [Stable diffusion gradio] Add a few pre defined styles to the workshop, also some minor UX improvement.
* Update all the diffusion-serve containder URI to 20240403_0836_RC00 which includes the latest optimizations to the diffusion models.
* Some minor updates to the SD-XL model deployment notebook, based on the QA feedback.
* Updates to the `sd-xl-dreambooth-lora-finetune` notebook based on feedback.
* [Stable diffusion gradio] Add a few pre defined styles to the workshop, also some minor UX improvement.
* Some minor updates to the SD-XL model deployment notebook, based on the QA feedback.
* Updates to the `sd-xl-dreambooth-lora-finetune` notebook based on feedback.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Some minor updates to the SD2.1 deployment notebook.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Create a notebook to demonstrate dreambooth LoRA finetune for SD-XL model.
* minor updates
* add to the codeowner list.
* merge conflict.
* minor fix to the Gradio UI workshop notebook.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Some minor changes to the stable diffusion 2.1 and sd-xl notebooks.
* some additional minor fixes.
* additional fixes.
* Fix the minor bug associated with "bucket_name".
* Minor fixes for "BUCKET_NAME" for sd2_1 and sdxl deployment notebooks.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Rewrite the SD2.1 dreambooth finetune notebook.
* Add code owners.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Rewrite the stable diffusion 2.1 notebook: step #1 deployment.
* Add controlnet-canny to the Gradio playground, and some additional UX enhancement.
* Minor fixes.
* Minor fixes
* Add additional document regarding the list of supported models, and some UI enhancement.
* Minor update to the hyperlink.
* Add Colab on how to use Claude 3 models on Vertex AI
* Add Colab on how to use Claude 3 models on Vertex AI
* add codeowner
* lint
* update model version
* update stream sdk to have more readable response
* add colab for claude 3
* lint
* update CODEOWNERS and file name
* remove claude 3 colab from model_garden folder
* update CODEOWNERS
* format
* fix intergration test failed
* fix markdown not showing up
* fix markdown not showing up
* update pip command
* update install command
* update restart kernel command
* fix restart kernel command
* clear cell output
* update select region command
---------
Co-authored-by: Huy Ngo <huyngo@google.com>
* Publishing fine-tuning Gemma on TPUv5e notebook
* Update codeowners to add new TPUv5e notebook
* Fixed log link formatting, and added note to require Colab pro for converting to HF format
* Reran local pylint
* Updated python version to 3.10.13
* Pylint reran
* Remove python version note and run linter
* Add gcloud components update for automated tests
* Revert 'Add gcloud components update for automated tests'
This reverts commit a3e79d299b
* Added gcloud components update for automated testing
* Rerun linter
* Updates per nb review
* Changed default region to one where TPUv5e exists
* Update match case to if else for python 3.9
* Some minor fixed to the `stable-diffusion-gradio` notebook.
* Fix the deployment error of the `SDXL-REFINER` model in the notebook.
* Removed two unnecessary comments.
* Update the logic of cleaning up the `bucket-uri` in the SDXL deployment notebook.
* Add a stable diffusion playground based on Gradio UI.
* Add codeowner.
* Update the serving docker image to include the latest fixes for image-inpainting.
* switch llama2 deploymente notebook to lowcode version
* add moderate text link and lint
* lint
* Set gpu utilization
* Add --max-num-batched-tokens=4096
* Set max model len
* move prints in function
* lint
* Remove comment
* Fix link
* Pin the `pytorch-diffusers-serve-opt` docker image to `20231213_0836_RC00`.
* Update 4 stable diffusion notebooks to use the optimized serving container, including controlnet, instruct-pix2pix, text-to-video, text-to-video-zero-shot.
* Fix linter error.
* Update the docker image version to 20240223_1230_RC00 to fix the image quality issue associated with DPMSolverMultistepScheduler.
* Added missing link and made other edits to "Custom training with pre-built Google Cloud Pipeline Components". No impact on code
* Update custom_model_training_and_batch_prediction.ipynb
fixed typo
* Pin the `pytorch-diffusers-serve-opt` docker image to `20231213_0836_RC00`.
* Update 4 stable diffusion notebooks to use the optimized serving container, including controlnet, instruct-pix2pix, text-to-video, text-to-video-zero-shot.
* Fix linter error.
* feat: Replace evaluation pipeline with Vertex SDK evaluate function on automl_text_classification_model_evaluation.ipynb
* Add automl-text-classification-evaluation-image
* Manually change notebook to test lint locally
* Format lint
* Update get_started_with_vertex_experiments.ipynb
Fix several errors preventing notebook from being run out of the box, namely the custom job container image.
* Update get_started_with_vertex_experiments.ipynb
* Update get_started_with_vertex_experiments.ipynb
* Update get_started_with_vertex_experiments.ipynb
* Update get_started_with_vertex_experiments.ipynb
* Update CODEOWNERS
* Update get_started_with_vertex_experiments.ipynb
* Update the link of how to request TPU v5e quota in the notebook.
* Create a notebook to demonstrate how to load a thrid-party stable diffusion model, on Vertex AI for online prediction.
* Add codeowner.
* add code owner.
* Make stable_diffusion_xl_turbo a separate notebook.
* Update the `stable-diffusion-upscaler` notebook to use the optimized serving containder.
* Update the link of how to request TPU v5e quota in the notebook.
* Create a notebook to demonstrate how to load a thrid-party stable diffusion model, on Vertex AI for online prediction.
* Add codeowner.
* add code owner.
* Make stable_diffusion_xl_turbo a separate notebook.
* Update the link of how to request TPU v5e quota in the notebook.
* Create a notebook to demonstrate how to load a thrid-party stable diffusion model, on Vertex AI for online prediction.
* Add codeowner.
* add code owner.
* Update the link of how to request TPU v5e quota in the notebook.
* Create a notebook to demonstrate how to load a thrid-party stable diffusion model, on Vertex AI for online prediction.
* Delete notebooks/community/model_garden/model_garden_pytorch_stable_diffusion_custom.ipynb
move it to a separate commit
* Made edits to "Vertex AI TensorBoard custom training with custom container". Fixed typos and cleaned up content. No impact on code
* Update tensorboard_custom_training_with_custom_container.ipynb
Deleted empty cell.
We temporarily disabled this parameter for first-party models, so this will avoid validation errors when running the RLHF tuning notebook in the meantime.
Co-authored-by: Ryan Latture <latture@google.com>
* Numerous edits to "Vertex AI SDK: AutoML training video classification model for batch prediction". Does not impact code.
* Update sdk_automl_video_classification_batch.ipynb
deleted "a"
* Mistral 7B Finetuning with QLora
Need to fix the PEFT Train docker image for the finetuning step.
Merging works correctly with the docker image, You might face an error when merging if the peft version used for merging is different from the one used for finetuning (new field added in the config_adapter file)
* Update peft docker train image to 20240126_0936_RC00
* Linter OK
* updated the notebook with pull requests comments
* Remove HPT and updated the bucket URI
* Linter update
* Made edits to "Vertex AI TensorBoard integration with Vertex AI Pipelines". I also updated the section on viewing and comparing pipeline runs to point to new documentation.
* Update tensorboard_vertex_ai_pipelines_integration.ipynb
A few more small fixes. Trying to find source of lint error
* Update tensorboard_vertex_ai_pipelines_integration.ipynb
removed empty cells
* Replace evaluation pipeline with evaluate function
* Replace evaluation pipeline with evaluate function on automl_tabular_regression_model_evaluation.ipynb
* Replace evaluation pipeline with evaluate function on custom_tabular_classification_model_evaluation.ipynb
* Replace evaluation pipeline with evaluate function on custom_tabular_regression_model_evaluation.ipynb
* Replace evaluation pipeline with evaluate function on automl_video_classification_model_evaluation.ipynb
* Format automl_tabular_classification_model_evaluation.ipynb
* Format automl_tabular_regression_model_evaluation.ipynb
* Format automl_video_classification_model_evaluation.ipynb
* Format custom_tabular_classification_model_evaluation.ipynb
* Format custom_tabular_regression_model_evaluation.ipynb
* Add files via upload
* Update screenshot for notebooks with evaluate function usage
* Revert custom_tabular_classification_model_evaluation.ipynb
* Format lint
* manual fix lint
* Update get_started_with_vertex_experiments_autologging.ipynb
Added link in "Learn more about..." to the Vertex AI Experiments intro page. Currently, this notebook is not showing up properly in the Jupyter SDK Tutorial page.
* Update get_started_with_vertex_experiments_autologging.ipynb
* Update notebook_template_review.py
Missing left curly bracket/brace 2xs
(Note, commented out, but still fixing)
#'AutoML Vision': '{automl_vision_name}}',
#'AutoML Image': '{automl_vision_name}}',
* Update get_started_with_vertex_experiments_autologging.ipynb
Needed to add a period.
* fix: update spacing
---------
Co-authored-by: Katie Nguyen <katiemn@gmail.com>
* Search for the MODEL_ID env and set it in the deployment function for all model garden notebooks for pre-trained and tuned models.
* Fix model_garden_pytorch_stable_video_diffusion_img2vid_xt notebook linter issue with load_image and HTML.
* Fix model_garden_pytorch_stable_video_diffusion_img2vid_xt notebook linter issue with load_image and HTML.
* Fix missing MODEL_ID in model_garden_mediapipe_image_generation.ipynb.
* Update comparing_pipeline_runs.ipynb
Needed edits for the page. Does not impact code.
* Update comparing_pipeline_runs.ipynb
responded to katie's feedback.
* feat: Vertex AI Feature Store Based LLM Grounding Tutorial
* fix: fix the feature store based llm grounding tutorial based on a few comments
* fix: fix the feature store based llm grounding tutorial based on a few comments
* fix: move the fs grounding notebook to official
* fix: comment colab only code
* fix: fix pipeline prefix
* fix: resolve several comments
* fix: resolve several comments
* fix: a quick fix for type
* fix: a quick fix for import
* fix: a quick fix for colab
* Add a section documenting the one-click finetuning
button in the Model Card UI.
The section explains how to use the button,
what the pipeline does and some troubleshooting
tips.
* Edit one-click finetuning instructions for clarity
and syntax.
* Correct 'Tensorboard' to 'TensorBoard'
* Updated finetuning pipeline instructions to
include steps on launching the pipeline via the
Vertex SDK.
* Added more parameters to the pipeline command
example. Moved the section down.
* Remove unintentional character interpolation
* Removed changes
* Undo formatting
* Remove old version of finetuning pipeline section
* Only allow huggingface datasets with the
finetuning pipeline.
* Fix linter issues
* Add a section documenting the one-click finetuning
button in the Model Card UI.
The section explains how to use the button,
what the pipeline does and some troubleshooting
tips.
* Edit one-click finetuning instructions for clarity
and syntax.
* Correct 'Tensorboard' to 'TensorBoard'
* Update staable-diffusion 1.5 and XL notebooks to deploy with default GPU as L4, instead of A100.
* Update the SD notebooks using the new container.
* Delete notebooks/community/model_garden/model_garden_pytorch_stable_diffusion_xl_1_0.ipynb
Resolve the merge conflict.
* Resolve the merge conflict.
This adds `chat-bison@001` to the table of supported models and documents chat dataset formats for relevant input parameters.
Co-authored-by: Ryan Latture <latture@google.com>
* Add SDXL-turbo as a separate section in the SDXL notebook.
* Add SDXL-turbo as a separate section in the SDXL notebook.
* Add a new notebook for sdxl LCM
* Add ViT benchmarking report.
* Add ViT benchmarking report.
* Add ViT benchmarking report.
* Add ViT benchmarking report.
* Add ViT benchmarking report.
* Add ViT benchmarking report.
* Rephrase optimized notebook
* Update format issue and change region
* Update format issue and change region2
* Fix import format
* Apply format
* Change region
* Create new colab for FS optimized serving
* Address comments
* Fix allowlist syntax error with param
* Change default region to trigger test in clean env
* Comment expect to fail cells
* Change default region to trigger test
* Update stable diffusion XL notebook to use the optimized serving docker.
* Update model_garden_pytorch_stable_diffusion_xl_1_0.ipynb
minor update
* Update model_garden_pytorch_stable_diffusion_xl_1_0.ipynb
minor update
* Add a notebook example for the NLLB model in model garden
* Add a notebook example for the NLLB model in model garden
* Update an incorrect hyperlink in the NLLB notebook.
* Miscellaneous editorial fixes and rebranding to "Vertex AI Feature Store (Legacy)"
* chore: rebrand Legacy Feature Store product
* chore: Rebrand to "Vertex AI Feature Store (Legacy)" and change "ingest" to "import".
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* rebrand and clean
* fix: Added better type checking and fixed misspelling of _GCP_VPC_NETWORK_NAME
---------
Co-authored-by: ivanmkc@google.com <ivanmkc@google.com>
* Clean up SDK2 Bigframes notebooks
* Debug ci dependency error
* Remove cell output
* Remove local overrides
* Additional debug
* Re-trigger CI test
* Rerun CI tests
* Rerun CI tests
* Rerun CI tests
* Add tensorflow-io-gcs-filesystem pin
* Fix version pin
* Fix other version pin
* PyTorch efficient training - refcator code
* Revert "PyTorch efficient training - refcator code"
This reverts commit 90b563a7697b15b4154ac76236b894253dd58f3c.
* Add notebook to deploy Mistral models on Vertex AI
* Add notebook to deploy Mistral models on Vertex AI
* Add notebook to deploy Mistral models on Vertex AI
* Updated notebook to deploy Mistral models on Vertex AI
* Linting fixes
* Adding endpoint cleanup and machine spec
* Updating CODEOWNERS file
* Update linting fixes
* feat: feature store 2.0 tutorial (goku)
* Complying with the template
* Complying with the template 2
* clarify the notebook description
* clarify the notebook description 2
* address review comments and rename file
* add known issue and change install package
* wait for the sync job to complete, and fix resource conflicts
* address review comments
* address review comments 2
* add a delay for the endpoint to start properly
* Update automl_tabular_classification_beans.ipynb, add REGION to pipeline init and validate BQ REGION
- Add REGION to pipeline init
- Add validation to BQ REGION against pipeline REGION
* Update automl_tabular_classification_beans.ipynb: Add region to the region validation message to print
* Update automl_tabular_classification_beans.ipynb
* Update automl_tabular_classification_beans.ipynb
* Update automl_tabular_classification_beans.ipynb
* Update automl_tabular_classification_beans.ipynb
Fix lint error: white space around =, order of import
* Add missing 'import os' for Colab
The module is imported, but the Colab instructions restart the kernel
losing the import. Make sure `os` is imported on use.
* Remove redundant import
* Demo colab for the embedding model
* Update text_embedding_api_cloud_next_new_models.ipynb
* Update the demo. Update the CODEOWNER.
* Update the links.
* Remove the quiet tag of the pip command
* Demo colab for the embedding model
* Update text_embedding_api_cloud_next_new_models.ipynb
* Update the demo. Update the CODEOWNER.
* Update the links.
* feat: boilerplate reduction 59
* fix: bucket
* spark runtime
* dataproc runtine -> 1.1.20
* updates the build steps + clean up steps
* ran linter test
* adds gcloud components update step for test env + adds needed services in before you begin section
* ran linter test
* moves the gcloud components update to the start + updates experiment fetching
* ran linter test
* updates the aiplatform sdk to the latest
* ran linter test
* removes gcloud components update and adds try except at get_dataframe() method
* ran linter test
* initializes experiment + adds gcloud update + removes try catch
* ran linter test
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* fix: boilerplate reduction 41
* fix: install
* fix: TFDV version
* fix: increase wait time
* increase wait time
* replace INPUT_GS_PATH with TRAINING_DATASET while copying data in GCS + removes future tense + clean up step for batch job + moves the learn more section above clean up section
* ran linter test
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Add batch prediction examples to the ICN/IOD proprietary models in Model Garden
* Update teh IOD documentation to allow users to use up to 8 GPUs in training.
* Resolved comments
* fix: boilerplate reduction 88
* fix: install
* fix: reduce dataset size
* fix: > 24hrs
* fix: reduce dataset for testing
* fix: reduce dataset for testing
* updates sklearn and fixes the version, elaborates some existing descriptions and adds updates based on the template
* ran linter test
* changes FILE_NAME to LOCAL_FILE_NAME and adds a clean up step for the local saved model
* ran linter test
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* fix: issue 2125
* removes duplicate parameters, reduces max_steps to 100, fixes grammar and updates realted to the writing guidelines
* removes f from the string parameter
* ran linter test
* sets max_steps to 20 and adds lines in the cleanup step to remove the pipeline jobs
* ran linter test
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* adds the preprocessing steps on the original dataset + updates for boiler plate reduction
* ran linter test
* adds project-id and ticks in the sql queries
* ran linter test
* upgrade: boilerplate reduction 38
* fixes the pipeline-root-path typo, adds dataflow api dependency in the before-you-begin section, restructures the sections according to the template, fixes grammar and headings
* ran linter test
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Added Pic2Word notebook to Vertex AI Model Garden.
* Added jismailyan to pic2word notebook codeowners
* Pic2Word update.
* Formatted notebook using lint script.
* Add Pic2Word serving dockerfile and handler.
* Add jismailyan to CODEOWNERS for model OSS pic2word
* Fix filename typo
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Adding video object tracking with Vertex AI IOD endpoint and Bytetrack to model garden.
* Run vot container locally.
* fix: typo in license
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@gmail.com>
Welcome to the Google Cloud [Vertex AI](https://cloud.google.com/vertex-ai/docs/) sample repository.
This repository contains notebooks, code samples, sample apps, and other resources that demonstrate how to use, develop and manage machine learning and generative AI workflows using Google Cloud Vertex AI.
## Overview
The repository contains [notebooks](https://github.com/GoogleCloudPlatform/vertex-ai-samples/tree/master/notebooks) and [community content](https://github.com/GoogleCloudPlatform/vertex-ai-samples/tree/master/community-content) that demonstrate how to develop and manage ML workflows using Google Cloud Vertex AI.
[Vertex AI](https://cloud.google.com/vertex-ai) is a fully-managed, unified AI development platform for building and using generative AI. This repository is designed to help you get started with Vertex AI. Whether you're new to Vertex AI or an experienced ML practitioner, you'll find valuable resources here.
For more Vertex AI Generative AI notebook samples, please visit the Vertex AI [Generative AI](https://github.com/GoogleCloudPlatform/generative-ai) GitHub repository.
## Explore, learn and contribute
You can explore, learn, and contribute to this repository to unleash the full potential of machine learning on Vertex AI!
### Explore and learn
Explore this repository, follow the links in the header section of each of the notebooks to -
 Open and run the notebook in [Colab](https://colab.google/)\
 Open and run the notebook in [Colab Enterprise](https://cloud.google.com/colab/docs/introduction)\
 Open and run the notebook in [Vertex AI Workbench](https://cloud.google.com/vertex-ai/docs/workbench/introduction)\
 View the notebook on Github
### Contribute
See the [Contributing Guide](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/master/CONTRIBUTING.md).
## Get started
To get started using Vertex AI, you must have a Google Cloud project.
- If you don't have a Google Cloud project, you can learn and build on GCP for free using [Free Trail](https://cloud.google.com/free).
- Once you have a Google Cloud project, you can learn more about [setting up a project and a development environment](https://cloud.google.com/vertex-ai/docs/start/cloud-environment).
## Repository structure
```bash
├── community-content - Sample code and tutorials contributed by the community
├── notebooks
│ ├── community - Notebooks contributed by the community
│ ├── official - Notebooks demonstrating use of each Vertex AI service
│ │ ├── automl
│ │ ├── custom
│ │ ├── ...
│ ├── community - Notebooks contributed by the community
│ │ ├── model_garden
│ │ ├── ...
├── community-content - Sample code and tutorials contributed by the community
```
## Examples
## Contributing
<!-- markdownlint-disable MD033 -->
<table>
Contributions welcome! See the [Contributing Guide](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/master/CONTRIBUTING.md).
Curated collection of first-party, open-source, and third-party models available on Vertex AI including Gemini, Gemma, Llama 3, Claude 3 and many more.
# Benchmark report on hyperparameter tuning the OpenLLaMA models on Google Cloud Vertex Model Garden
Changyu Zhu, Software Engineer, Google Cloud
Dustin Luong, Software Engineer, Google Cloud
Gary Wei, Software Engineer, Google Cloud
Genquan Duan, Software Engineer, Google Cloud
## Introduction
Fine-tuning of LLMs can be non-trivial to find an optimal configuration of
machine types, training parameters, and other hyperparameters that achieves a
good balance between cost efficiency and model performance. To facilitate users
in conducting tuning experiments, this report benchmarks fine-tuning OpenLLaMA
models with [Vertex AI Hyperparameter Tuning Service](https://cloud.google.com/vertex-ai/docs/training/hyperparameter-tuning-overview), demonstrating both efficiency
and effectiveness. Similar hyperparameter tuning techniques can apply to other models as well.
## Key takeaways
- **The hyperparameter tuning service finds good parameters**: The best model found by the hyperparameter tuning service has an average improvement of around 4% in accuracy in *ARC*, *HellaSwag*, and *TruthfulQA* datasets, while only tuning the learning rate.
- **Hyperparameter tuning works with QLoRA on limited resources**: 4bit QLoRA is sufficient for hyperparameter tuning to find a set of good parameters. In this way, all OpenLLaMA models can run on 1 single `NVIDIA_L4` GPU. It is also possible to train for more steps on the good parameters discovered by hyperparameter tuning, avoiding the waste of computing resources on fine-tuning with suboptimal hyperparameters.
- **Hyperparameter tuning is cost-effective**: While `NVIDIA_L4` is slower than `NVIDIA_TESLA_V100`, it costs less and avoids the overhead of multi-GPU training since it has more GPU memory. Finding a good 3B/7B/13B OpenLLaMA model costs $28.5671, $47.8016, and $87.9208, respectively.
## Benchmarking setup
This section describes the experiment setup of the hyperparameter tuning experiments. The default tuning parameters are:
We use the Huggingface [PEFT](https://github.com/huggingface/peft) library for fine-tuning.
### Training dataset
We use the dataset [timdettmers/openassistant-guanaco](https://huggingface.co/datasets/timdettmers/openassistant-guanaco) loaded directly via Huggingface.
### Training parameters
The set of training parameters used during benchmarking:
- Batch size: 4
- Precision mode: 4bit QLoRA
- LoRA rank: 32
- LoRA alpha: 64
- Max sequence length: 512
- Max train steps: 1000
### Evaluation dataset
We use the [lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness) library injected into the training loop for evaluation. The hyperparameter tuning job will pick the model according to the evaluation metrics.
We only tune the learning rate hyperparameter. It is considered a floating point value in the continuous range [1e-5, 1e-4]. We run 8 trials in total, with a parallelism of 1 or 2.
### Code example
The following code example launches an example hyperparameter tuning job of OpenLLaMA 7B model.
Here are the evaluation results of the best model found by hyperparameter tuning, compared with the baseline model. The column `Eval acc_norm` is calculated during training, which is always lower than that during standalone evaluation, because the model is loaded and evaluated at a lower precision (4bit during training / float16 during standalone evaluation).
# Benchmark Stable Diffusion v1-5 Fine Tuning and Serving With Google Cloud Vertex Model Garden
Dustin Luong, Software Engineer, Google Cloud
Gary Wei, Software Engineer, Google Cloud
Changyu Zhu, Software Engineer, Google Cloud
Genquan Duan, Software Engineer, Google Cloud
## Introduction
[The public notebook][1] shows the full examples of fine tuning and serving of Stable diffusion v1-5. [The github repo][2] contains examples of building training and serving dockers for Google Cloud Vertex Model Garden. This report benchmarks Stable diffusion v1-5 fine tuning and serving in Google Cloud Vertex AI, showing both efficiencies and effectiveness.
### Benchmark Highlights
- Fine tuning
- Stable diffusion v1-5 with LoRA and Gradient checkpointing only requires ~10G GPU memory. Larger batch sizes, or larger resolutions require more GPU memories, but not does not change much for different LoRA ranks.
- The fine tuning speed is fast in ~11 minutes for 1k steps, and costs less than $1 in 1 A100. The fine tuning speed increases with batch sizes, decreases with resolution, but is not affected much by LoRA ranks.
- LoRA tunes a few percent (only 0.1% with LoRA rank=8) of all parameters, and the tuned models are very small (only 3.1MB with LoRA rank=8).
- Dreambooth+LoRA and Dreambooth can achieve similar performances, but Dreambooth LoRA can require much less GPU.
- Increasing batch size, reducing training steps, and increasing learning rate can result in models with the same performance for less cost.
- Inference
- The optimized serving docker pytorch-peft-serve can speed up inference by 2x than current pytorch-diffuser-serve, and support both base models and fine tuned lora models.
- The optimized serving docker pytorch-peft-serve can generate 4 512*512 images in 4.1 seconds on 1 V100 and 1.7 seconds on 1 A100.
Benchmark details are below.
## Fine Tuning Benchmarks
### Experiment Setup
We mainly compare two tuning algorithms:
- parameter efficient finetuning based on [dreambooth][3] and [LoRA][4] (shorten as Dreambooth+LoRA below)
- full parameter fine tuning based on [dreambooth][3] (shorten as Dreambooth below)
And then report benchmark results on GPU memories, tuning parameters, tuning speeds, costs and accuracy, using the public oxford flowers dataset: [train][5] and [test][6], where the column blip_caption as texts, and column image as images. We also benchmark subject and prompt fidelity using the [dataset][7] from the Dreambooth paper.
The default tuning parameters during benchmark are:
Many various factors will impact GPU memory usages. In this benchmark, we mainly benchmark with different finetuning algorithms, batch sizes, lora rank, resolution, and then recommended max batch size on different GPUs.
- LoRA tuning reduced about 47% peak RAM and 42% peak VRAM for GPU memory, compared to full parameter fine tuning.
- Gradient checkpointing decreases about 1% peak RAM and 31% peak VRAM for GPU memory further, compared without gradient checkpointing.
- The GPU memory does not change much for different LoRA ranks.
- Larger batch sizes require more GPU memories.
- Larger resolutions require more GPU memories.
- Dreambooth+LoRA+Gradient_Checkpointing can support max batch size as 32, or max resolution as 2048, but Dreambooth can only support max batch size as 8, or max resolution as 1024.
### Fine Tuning Parameters
This section shows the percentage of trainable parameters, and tuned model sizes.
- LoRA tunes quite a few percent (only 0.1% with LoRA rank=8) of all parameters, and the tuned models are very small (only 3.1MB with LoRA rank=8).
| LoRA Rank | Trainable parameters | Total parameters | Trainable Parameter Percentage | Fine tuned model size (MB) |
|---|---|---|---|---|
| 4 | 398592 | 859919556 | 0.05% | 1.57 |
|8 | 797184 | 860318148 | 0.09% | 3.09 |
| 16 | 1594368| 861115332| 0.19%| 6.13|
| 32| 3188736| 862709700| 0.37%| 12.21|
### Fine Tuning Speed And Costs
Fine tuning speeds and costs are affected by many different factors, such as batch size, tuning parameters, image resolutions, GPUs, and datasets. In order to make the report easy to understand, we set the following values in this section:
- The fine tuning speed increases with batch sizes, decreases with resolution, but is not affected much by LoRA ranks.
- The fine tuning speed is about 11 minutes for 1k steps, and costs less than $1 in 1 A100.
### Fine Tuning Quality
In this benchmark, we mainly benchmark Dreambooth and Dreambooth+LoRA to compare fine tuning quality. We compare [subject fidelity scored (DINO)][8], how well the subject is represented in the generated images, and [prompt fidelity scores (CoCa)][9], how well the generated images match the given prompt, for a single subject, a [dog][10] from the dataset released with the original Dreambooth paper. In practice, we recommend saving checkpoints periodically and inspecting validation prompts visually. We fine tuned the unet without fine tuning the text encoder and used the following hyperparameters:
- Fine tuning with Dreambooth or Dreambooth+LoRA can result in models with comparable performance. The base model produced images of the class rather than the instance.
- Dreambooth+LoRA is able to achieve the same subject fidelity score as Dreambooth if trained for more epochs.
- Increasing the number of training steps results in better subject fidelity but at the cost of prompt fidelity.
### Suggested Max Batch Sizes By Resolutions
We benchmarked and suggested max batch sizes by resolutions on 1 A100 and 1 V100 as below. This is with LoRA and gradient checkpointing enabled.
Increasing batch size allows for more images to be considered at each training step for fine tuning. This allows models to be trained in fewer training steps. In this benchmark, we aim to show how batch size can be increased to reduce training costs while still preserving subject and prompt fidelity.
Since the training dataset consists of 5 images, we train with a batch size of 5 and reduce the number of training steps from 400 to 80. Doing so results in a model that has not learned the subject since we’ve decreased the number of training steps. Conceptually, the model is taking a more precise step at each iteration, but it is taking fewer steps. To compensate for this, we increased the learning rate from 5e-6 and observed the best results at 1e-5 for full parameter finetuning.
- Although V100 has a lower $/hr cost than an A100, the same training setup takes longer. Even given the longer training time, the cost on V100 is still lower.
- Dreambooth+LoRA enables training with larger batch sizes, however, larger batch sizes will not necessarily mean faster training time.
- It is possible to fine tune with 1 V100 on 512 resolution with Dreambooth+LoRA.
- Dreambooth fine tuning must be run on 1 A100 at 512 resolution.
## Inference Benchmarks
We provide two serving dockers in vertex model garden for stable diffusion:
- This serving docker can serve base stable diffusion models, and base stable diffusion models with fine tuned lora models, and contains optimization for serving.
We run the two serving dockers on T4/V100/A100 to generate 4 512*512 images, and compare the inference speed without network considerations as:
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.