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

lora貌似不支持ddp? #41

Open
wutaiqiang opened this issue Apr 11, 2023 · 0 comments
Open

lora貌似不支持ddp? #41

wutaiqiang opened this issue Apr 11, 2023 · 0 comments

Comments

@wutaiqiang
Copy link

Can't pickle local object 'init..'

Lora在使用ddp的时候,lambda函数无法pickle

建议直接在forward函数加入 if dropout>0的逻辑判断,而不是初始化,进而避免lambda函数的使用。

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

No branches or pull requests

1 participant