Repository navigation
ROCm progress test: model a feed that resolves the no-torch pair - #16542
Merged
Merged
Conversation
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Summary
Repo tests (CPU, studio-install)is still red on main after #16532. That PR fixed the shared no-torch harness intest_no_torch_filtering.py. A second test class has the same problem: it runsinstall_python_stack()in no-torch mode withsubprocess.runmocked. It failed on #16534 and #16527, both of which ran on top of #16532:The cause is the same as in #16532. Since #16157, a no-torch install resolves a compatible Unsloth / Zoo pair from wheel metadata, and it refuses only when the feed has no such pair. That is right for users, since such an install would fail anyway.
_run_stackmockssubprocess.runto return nothing, so the probe finds no metadata and the full-pass (SKIP_STUDIO_BASE=0) cases stop before they reach the progress count they check.Change
tests/studio/install/test_rocm_support.py,TestProgressStepCountMatchesTotal._run_stackonly:_no_torch_pairreturns a compatible pair, which models a feed that serves one. This is the same model as #16532.NO_TORCHand the new patch share onepatch.multiple. Thatwithstatement already holds 20 context managers, which is Python's limit on nested blocks: a 21stpatch.objectmakes the whole file fail to import withSyntaxError: too many statically nested blocks. The patched values are otherwise unchanged.Testing
tests/studio/install/test_rocm_support.py:I also ran
tests/studio/installplustests/pythonon this branch. "Could not resolve a compatible" no longer appears anywhere. 22 other tests fail locally, intest_dependency_pass_skips.pyandtest_e2e_no_torch_sandbox.py, and they fail the same way on main here. CI passes them in the same shard, so the cause is this host's environment.