Repository navigation
Conversation
…tasks for Python 3.13 - tensorflow_tests_requirements.txt: use Python-version markers for tf-keras and tensorflow>=2.16,<2.22 on Python >= 3.12 while preserving keras<3 and tensorflow<2.16 on Python < 3.12. - torch_tests_requirements.txt & huggingface_tests_requirements.txt: cap torch<2.12.0 to prevent triton>=3.7 LLVM option registration collision when imported alongside TensorFlow, and add tensorflow/tf-keras bounds for HF ITs. - sdks/python/test-suites/direct/common.gradle: remove obsolete scikit-learn<1.2.0 downgrade, export TF_USE_LEGACY_KERAS=1 for tensorflowInferenceTest, install enrichment_tests_requirements.txt (redis) in testcontainersTest, and give each direct inference/enrichment task a distinct JUnit suite name so per-task XML reports are not overwritten.
5 tasks
Contributor
Author
|
Replaced by native stacked PR #41648. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41643 +/- ##
=========================================
Coverage 58.03% 58.04%
Complexity 2844 2844
=========================================
Files 1210 1210
Lines 173259 173280 +21
Branches 2329 2329
=========================================
+ Hits 100554 100581 +27
+ Misses 69995 69989 -6
Partials 2710 2710
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Updates Direct
inferencePostCommitITdependency constraints and Gradle task configs for Python 3.13:tensorflow_tests_requirements.txt: Use Python-version markers (tf-keras>=2.16.0+tensorflow>=2.16.0,<2.22on Python >= 3.12, preservingkeras<3.0.0+tensorflow>=2.12.0,<2.16on Python < 3.12 for the Python 3.11 Dataflow cost benchmarks).torch_tests_requirements.txt&huggingface_tests_requirements.txt: Captorch>=2.3.0,<2.12.0(matchingsetup.pyandtox.ini) sotorch>=2.12does not pulltriton>=3.7, which aborts with an LLVM option registration collision when imported alongside TensorFlow in the shared virtualenv; addtensorflow>=2.12.0,<2.22andtf-keras>=2.16.0; python_version >= '3.12'tohuggingface_tests_requirements.txt.sdks/python/test-suites/direct/common.gradle:pip install 'scikit-learn<1.2.0'doFirststep insklearnInferenceTest(fails to build on Python 3.13;apache-beam[test]already providesscikit-learn<1.8.0).TF_USE_LEGACY_KERAS=1intensorflowInferenceTestso legacy TF2 SavedModels load under TensorFlow 2.16+.enrichment_tests_requirements.txt(redis>=5.0.0,<6) intestcontainersTest(matchingdataflow:mockAPITests, needed sincerediswas moved to an optional extra in split redis into extra #36772).suitename so per-task XML reports no longer overwritepytest_postCommitIT-direct-py*.xml.Verification
inferencePostCommitITtasks passing in PostCommit Python (3.13) run 45406881889 on Re-enable Direct and Dataflow inferencePostCommitIT in python313PostCommit #41595.Part of the stack leading up to re-enabling Python 3.13
inferencePostCommitITin #41595 (independent of the other prerequisite PRs; can be merged in any order).