Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix row parallel lora layers parameters initialization bug #9426

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

will-jl944
Copy link

PR types

Bug fixes

PR changes

Models

Description

Fix the bug that in row-parallel LoRA layers, without get_rng_state_tracker().rng_state() specified, shards of LoRA A are initialized identically among all devices in MP group. Please refer to how the parameter is initialized in paddle.distributed.fleet.meta_parallel.RowParallelLinear.

Copy link

paddle-bot bot commented Nov 14, 2024

Thanks for your contribution!

@gongel gongel merged commit 9b52ccb into PaddlePaddle:release/2.8 Nov 16, 2024
5 checks 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.

2 participants