Skip to content

[bugfix] fix GDN sequence_parallel not effective on LoraParallelLinear - #170

Closed
HowardZorn wants to merge 1 commit into
modelscope:mainfrom
HowardZorn:fix-gdn-lora-sequence-parallel
Closed

[bugfix] fix GDN sequence_parallel not effective on LoraParallelLinear#170
HowardZorn wants to merge 1 commit into
modelscope:mainfrom
HowardZorn:fix-gdn-lora-sequence-parallel

Conversation

@HowardZorn

Copy link
Copy Markdown

Summary

Fix #169.

Add a sequence_parallel property on LoraParallelLinear that delegates reads/writes to base_layer and all lora_A / lora_B adapters, so _set_linear_sequence_parallel / _restore_linear_sequence_parallel in GatedDeltaNet take effect on LoRA-wrapped linears.

Note: this works, but the approach feels a bit dirty (proxying inner modules' attribute via a property on the wrapper). Opened as a Draft PR — suggestions for a cleaner implementation are welcome.

@HowardZorn

Copy link
Copy Markdown
Author

Close as another PR has been merged.

@HowardZorn HowardZorn closed this Aug 24, 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.

ms-swift 使用 1.6.2 版本mcore_bridge 训练 qwen3.5 + lora 报错

1 participant