Repository navigation
Repo tests (CPU): drop the dead test_t[!p] gloo glob, utf-8 for the MiniMax LoRA sidecar read - #17913
Merged
Merged
Conversation
…okenizer test rename; utf-8 for the MiniMax LoRA sidecar
Member
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis 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. Chef's kiss. 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
Two checks are red on main right now:
Repo tests (CPU, rest):tests/test_ci_repo_cpu_shards.py::TestEveryGlobRootMatchesAFile::test_no_shard_hands_pytest_an_unexpanded_patternRepo tests (CPU): one shard for each new gloo test file; explicit encoding in test_bind_local_cuda_device #17892 added
tests/test_t[!p]*gloo*.pyto the gloo shard so thattests/test_tokenizer_save_ddp_gloo.py(from Tokenizer save under DDP / FSDP2: private copy per rank, then move into place #17862) was collected by some shard. Fix main Backend CI: PP layer name on transformers 5.17, INT8 attention without Triton, kernel and test gates #17882 landed at the same time and renamed that file totests/test_local_save_tokenizer_ddp_gloo.py, which the gloo shard's first glob (tests/test_[!dfimpstu]*gloo*.py) already covers. Thetest_t[!p]glob now matches nothing, and an unmatched glob reaches pytest as a literal path. Both PRs were right on their own; together they leave one dead glob.(Python 3.13, rest)andRepo tests (CPU, rest): the text I/O encoding gatesStudio: LoRA training for MiniMax-H3-Image, and loading the trained LoRA #17863 added
json.loads(sidecar.read_text())for the LoRAadapter_config.jsonsidecar. Without an encoding that read uses the locale codepage on Windows.Change
.github/workflows/studio-backend-ci.yml: removetests/test_t[!p]*gloo*.pyfrom the gloo shard and restore the comment that atest_t[!p]*gloo file would be reported as dropped bytests/test_ci_repo_cpu_shards.py(with a note on why the glob is not kept for later: an unmatched glob is a missing file to pytest).studio/backend/core/inference/diffusion_minimax_h3_image.py:sidecar.read_text(encoding = "utf-8"). JSON is UTF-8, so behaviour on Linux and macOS is unchanged.Testing
tests/test_ci_repo_cpu_shards.pyandtest_text_io_encoding.py::test_text_io_names_its_encoding[diffusion_minimax_h3_image.py]: 16 passed on this branch, 2 failed on main.tests/test_runtime_text_encoding.pyandstudio/backend/tests/test_diffusion_minimax_h3_image.pypass;studio/backend/tests/test_text_io_encoding.pypasses for every tracked file.