Skip to content

compat peft 0.19#42

Merged
Jintao-Huang merged 2 commits intomodelscope:mainfrom
Jintao-Huang:compat_peft_019
Apr 20, 2026
Merged

compat peft 0.19#42
Jintao-Huang merged 2 commits intomodelscope:mainfrom
Jintao-Huang:compat_peft_019

Conversation

@Jintao-Huang
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies the dispatch_megatron function signature in src/mcore_bridge/tuners/patcher.py by replacing the explicit lora_config parameter with variable positional arguments (*args). The review feedback suggests retaining lora_config as a named parameter with a default value to maintain a descriptive interface and improve readability, while still using *args for compatibility with other arguments.

Comment thread src/mcore_bridge/tuners/patcher.py Outdated
@Jintao-Huang Jintao-Huang merged commit d7c662e into modelscope:main Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant