Remove a3u gcs blueprint#5238
Conversation
Summary of ChangesHello @AdarshK15, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on repository cleanup by eliminating a deprecated A3U GCS blueprint. This action streamlines the codebase by removing outdated components and ensures that relevant test assets are preserved and correctly located within the active A3 Ultra blueprint directory, maintaining the integrity of the project's validation processes. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request correctly removes the deprecated a3u-gcs blueprint and moves its associated tests to the a3-ultragpu-8g example, which aligns with the stated goal. However, the changes in tools/validate_configs/validate_configs.sh include modifications that seem unrelated to the removal of the a3u-gcs blueprint, such as removing a4x-maxgpu-4g-metal from the exclusion list and updating gke-tpu-v6e paths to gke-tpu-v6. According to the repository style guide (line 43), the PR description should clearly explain all changes. Please consider updating the description to include these additional cleanups or moving them to a separate pull request to maintain clarity. The comment regarding the readability of the validation script has been retained.
| } | ||
|
|
||
| CONFIGS=$(find examples/ community/examples/ tools/validate_configs/test_configs/ docs/tutorials/ docs/videos/build-your-own-blueprint/ -name "*.yaml" -type f -not -path 'examples/machine-learning/a3-megagpu-8g/*' -not -path 'examples/machine-learning/a3-ultragpu-8g/*' -not -path 'examples/machine-learning/build-service-images/*' -not -path 'examples/gke-a3-ultragpu/*' -not -path 'examples/hypercompute_clusters/*' -not -path 'examples/gke-consumption-options/*' -not -path 'examples/gke-a4/*' -not -path 'examples/gke-a3-megagpu/*' -not -path 'examples/machine-learning/a4-highgpu-8g/*' -not -path 'examples/machine-learning/a4x-highgpu-4g/*' -not -path 'examples/machine-learning/a4x-maxgpu-4g-metal/*' -not -path 'community/examples/gke-tpu-v6e/*' -not -path 'community/examples/xpk-n2-filestore/*' -not -path 'examples/gke-a4x/*' -not -path 'examples/science/af3-slurm/*' -not -path 'examples/gke-h4d/*' -not -path 'community/examples/hpc-slinky/*' -not -path 'examples/gke-g4/*' -not -path 'community/examples/slurm-gke/*' -not -path 'examples/hpc-slurm-h4d/*' -not -path 'examples/machine-learning/a3-highgpu-8g/*' -not -path 'examples/netapp-volumes.yaml' -not -path 'examples/gke-tpu-7x/*' -not -path 'examples/gke-tpu-v6e/*') | ||
| CONFIGS=$(find examples/ community/examples/ tools/validate_configs/test_configs/ docs/tutorials/ docs/videos/build-your-own-blueprint/ -name "*.yaml" -type f -not -path 'examples/machine-learning/a3-megagpu-8g/*' -not -path 'examples/machine-learning/a3-ultragpu-8g/*' -not -path 'examples/machine-learning/build-service-images/*' -not -path 'examples/gke-a3-ultragpu/*' -not -path 'examples/gke-consumption-options/*' -not -path 'examples/gke-a4/*' -not -path 'examples/gke-a3-megagpu/*' -not -path 'examples/machine-learning/a4-highgpu-8g/*' -not -path 'examples/machine-learning/a4x-highgpu-4g/*' -not -path 'community/examples/gke-tpu-v6/*' -not -path 'community/examples/xpk-n2-filestore/*' -not -path 'examples/gke-a4x/*' -not -path 'examples/science/af3-slurm/*' -not -path 'examples/gke-h4d/*' -not -path 'community/examples/hpc-slinky/*' -not -path 'examples/gke-g4/*' -not -path 'community/examples/slurm-gke/*' -not -path 'examples/hpc-slurm-h4d/*' -not -path 'examples/machine-learning/a3-highgpu-8g/*' -not -path 'examples/netapp-volumes.yaml' -not -path 'examples/gke-tpu-7x/*' -not -path 'examples/gke-tpu-v6/*') |
There was a problem hiding this comment.
This line is very long and hard to read, which impacts maintainability. To improve readability, consider breaking the find command into multiple lines, with one -not -path per line.
CONFIGS=$(find examples/ community/examples/ tools/validate_configs/test_configs/ docs/tutorials/ docs/videos/build-your-own-blueprint/ -name "*.yaml" -type f \
-not -path 'examples/machine-learning/a3-megagpu-8g/*' \
-not -path 'examples/machine-learning/a3-ultragpu-8g/*' \
-not -path 'examples/machine-learning/build-service-images/*' \
-not -path 'examples/gke-a3-ultragpu/*' \
-not -path 'examples/gke-consumption-options/*' \
-not -path 'examples/gke-a4/*' \
-not -path 'examples/gke-a3-megagpu/*' \
-not -path 'examples/machine-learning/a4-highgpu-8g/*' \
-not -path 'examples/machine-learning/a4x-highgpu-4g/*' \
-not -path 'community/examples/gke-tpu-v6/*' \
-not -path 'community/examples/xpk-n2-filestore/*' \
-not -path 'examples/gke-a4x/*' \
-not -path 'examples/science/af3-slurm/*' \
-not -path 'examples/gke-h4d/*' \
-not -path 'community/examples/hpc-slinky/*' \
-not -path 'examples/gke-g4/*' \
-not -path 'community/examples/slurm-gke/*' \
-not -path 'examples/hpc-slurm-h4d/*' \
-not -path 'examples/machine-learning/a3-highgpu-8g/*' \
-not -path 'examples/netapp-volumes.yaml' \
-not -path 'examples/gke-tpu-7x/*' \
-not -path 'examples/gke-tpu-v6/*')References
- Code should be easy to understand, modify, and extend. The long, single-line
findcommand is difficult to read and maintain. (link)
4015efc to
789a4d9
Compare
Remove deprecated a3u-gcs blueprint and its references, moved the tests to latest a3ultra folder.
Submission Checklist
NOTE: Community submissions can take up to 2 weeks to be reviewed.
Please take the following actions before submitting this pull request.