fixing docker build and Vertex AI tests#7833
Open
dmiltr3 wants to merge 8 commits intotensorflow:masterfrom
Open
fixing docker build and Vertex AI tests#7833dmiltr3 wants to merge 8 commits intotensorflow:masterfrom
dmiltr3 wants to merge 8 commits intotensorflow:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gcr.io/tfx-oss-public/tfx_base:py310-20260326as its foundation.--no-rebuildand --clean-cache option, accessible viabuild_docker_image.shor theUSE_CPP_WHEELS_FROM_TEMP=trueDocker argument. This feature aids in debugging Docker builds by skipping redundant rebuilds when modifying sources, given the resource-intensive nature of the CPP build. Consequently, image building is now significantly faster when troubleshooting Python dependencies.tfx.patchhas been removed from the process of stripping pinned versions in TXT files (remains for depencies.py), as this functionality has been transferred tobuild_docker_image.sh. The reasoning behind this change is that as therequirements.txtfile evolves a lot during the Dockerfile tuning, the patch becomes ineffective due to hunks falling out of context.Testing - Vertex AI
These Docker build variations have been put to the test.:
- TFX_DEPENDENCY_SELECTOR=DEFAULT
- TFX_DEPENDENCY_SELECTOR=NIGHTLY
- TFX_DEPENDENCY_SELECTOR=UNCONSTRAINED