Skip to content

Fix save#165

Merged
tastelikefeet merged 2 commits intomodelscope:mainfrom
tastelikefeet:fix/0417-1
Apr 18, 2026
Merged

Fix save#165
tastelikefeet merged 2 commits intomodelscope:mainfrom
tastelikefeet:fix/0417-1

Conversation

@tastelikefeet
Copy link
Copy Markdown
Collaborator

PR type

  • Bug Fix
  • New Feature
  • Document Updates
  • More Models or Datasets Support

PR information

Write the detail information belongs to this PR.

Experiment results

Paste your experiment result here(if needed).

Copy link
Copy Markdown
Contributor

@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 updates the match_target_modules function to strip LoRA-specific suffixes from module names before matching and adds support for sets in target_modules. A review comment identifies that the regex fails to account for hyphens in adapter names and suggests a performance optimization to avoid unnecessary regex calls.

Comment thread src/twinkle/model/multi_lora.py Outdated
@tastelikefeet tastelikefeet merged commit ff6c5b8 into modelscope:main Apr 18, 2026
1 of 3 checks passed
tastelikefeet added a commit that referenced this pull request Apr 18, 2026
(cherry picked from commit ff6c5b8)
Yunnglin pushed a commit that referenced this pull request Apr 18, 2026
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.

2 participants