Skip to content

Conversation

@janEbert
Copy link

@janEbert janEbert commented May 3, 2024

We now manually copy mu_readout.weight_infshape = mu_readout.weight.infshape after setting base shapes. This way, we can still access the infshape after FSDP-wrapping. Because this also requires using FSDP(..., use_orig_params=True), the README is accordingly adjusted to mention this caveat.

Fix #59. @edwardjhu is the review offer still up? :)

janEbert added 3 commits May 3, 2024 15:48
This is nicer to read than the nested if-queries before.
@janEbert
Copy link
Author

janEbert commented May 3, 2024

@microsoft-github-policy-service agree

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.

FSDP support?

1 participant