Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

refactor, chore(egen): Replaces K80 GPU with T4, package version updates, pre-built Docker container image for prediction update, other corrections from template #3241

Conversation

SumanthKasula99
Copy link
Contributor

This PR consists of the following updates:

  1. Replaces K80 GPU with Tesla T4 GPU in markdown section,.
  2. Updates package versions.
  3. Updates pre-built Docker container image for prediction to 2.13.
  4. Refactors the notebook according to the notebook template (removes boilerplate elements, renames REGION with LOCATION and re-structures the sections).
  5. Adds link for Colab enterprise.
  6. Removes the usage of future tense(will) according to the guidelines.
  7. Updates gcr to artifact registry.

REQUIRED: Fill out the below checklists or remove if irrelevant

  1. If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:
  • Use the notebook template as a starting point.
  • Follow the style and grammar rules outlined in the above notebook template.
  • Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
  • Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
  • You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
  • This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
  • The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

…pgrades, updates prebuilt docker container image to 2.13, refactores notebook according to the template
@SumanthKasula99 SumanthKasula99 requested a review from a team as a code owner July 10, 2024 11:29
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Collaborator

@kittyabs kittyabs left a comment

Choose a reason for hiding this comment

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

some suggested edits

@@ -631,11 +598,11 @@
"\n",
"The files `setup.cfg` and `setup.py` are the instructions for installing the package into the operating environment of the Docker image.\n",
"\n",
"The file `trainer/task.py` is the Python script for executing the custom tuning job. *Note*, when we referred to it in the worker pool specification, we replace the directory slash with a dot (`trainer.task`) and dropped the file suffix (`.py`).\n",
"The file `trainer/task.py` is the Python script for executing the custom tuning job. *Note*, when referred to it in the worker pool specification, you replace the directory slash with a dot (`trainer.task`) and dropped the file suffix (`.py`).\n",
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • Shouldn't this: "Note, when referred to it in the worker pool specification, you replace the directory slash with a dot (trainer.task) and dropped the file suffix (.py),"
  • be: "Note*: When trainer/task.py is referred to in the worker pool specification, the directory slash is replaced with a dot and the file suffix (.py) is dropped (trainer.task)."

},
"source": [
"Next, build the container."
"Then, build the container and push it to Artifact Registry by running the following:"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should: "build the container and push it to Artifact Registry by running the following"
Be: "build the container and push it to an Artifact Registry repository by running the following". ??

@katiemn
Copy link
Collaborator

katiemn commented Jul 10, 2024

/gcbrun

…pgrades, updates prebuilt docker container image to 2.13, refactores notebook according to the template
@katiemn
Copy link
Collaborator

katiemn commented Jul 12, 2024

/gcbrun

@katiemn
Copy link
Collaborator

katiemn commented Jul 12, 2024

/gcbrun

@katiemn
Copy link
Collaborator

katiemn commented Jul 31, 2024

/gcbrun

@katiemn
Copy link
Collaborator

katiemn commented Aug 5, 2024

Please address @kittyabs suggested edits

@katiemn
Copy link
Collaborator

katiemn commented Aug 12, 2024

/gcbrun

@katiemn katiemn added this pull request to the merge queue Aug 13, 2024
Merged via the queue into GoogleCloudPlatform:main with commit 4c7180b Aug 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants