Fix test_lora_qwen3 nightly failure: replace adapter with added_tokens#18884
Fix test_lora_qwen3 nightly failure: replace adapter with added_tokens#18884Kangyan-Zhou merged 1 commit intomainfrom
Conversation
PR #18046 added validation rejecting LoRA adapters with added_tokens.json, but the test adapter y9760210/Qwen3-4B-lora_model has added_tokens.json, causing a server crash (exit code -9). Replace with TanXS/Qwen3-4B-LoRA-ZH-WebNovelty-v0.0 which is a valid Qwen3-4B LoRA adapter without added_tokens.json. Failure: https://github.com/sgl-project/sglang/actions/runs/22026980777/job/63645203194
Summary of ChangesHello @alisonshao, 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 addresses a recurring nightly test failure in Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
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 addresses a nightly test failure in test_lora_qwen3.py by replacing a LoRA test adapter that is no longer valid. The previous adapter included an added_tokens.json file, which is now rejected by the lora_manager. The fix involves substituting it with a valid adapter that does not contain this file. The change is correct and directly resolves the test failure. The implementation looks good.
Motivation
Fix nightly 1-GPU test failure for
test_lora_qwen3.py(exit code -9).Failure: https://github.com/sgl-project/sglang/actions/runs/22026980777/job/63645203194
Modifications
Replace LoRA test adapter
y9760210/Qwen3-4B-lora_modelwithTanXS/Qwen3-4B-LoRA-ZH-WebNovelty-v0.0inLORA_MODELS_QWEN3.Root cause: PR #18046 added validation in
lora_manager.pythat rejects LoRA adapters withadded_tokens.json. The test adaptery9760210/Qwen3-4B-lora_modelcontainsadded_tokens.json, causing the server to crash during adapter loading.Fix: Replace with
TanXS/Qwen3-4B-LoRA-ZH-WebNovelty-v0.0, a valid Qwen3-4B LoRA adapter (rank 16, targets all attention + MLP modules) that does not haveadded_tokens.json.