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

FFN layer registry #1095

Merged
merged 38 commits into from
Apr 12, 2024
Merged

FFN layer registry #1095

merged 38 commits into from
Apr 12, 2024

Conversation

dakinggg
Copy link
Collaborator

@dakinggg dakinggg commented Apr 4, 2024

Before and after
Screenshot 2024-04-04 at 7 14 24 PM
Screenshot 2024-04-04 at 7 15 23 PM

@dakinggg dakinggg marked this pull request as ready for review April 5, 2024 02:19
@dakinggg dakinggg requested review from irenedea and mvpatel2000 April 5, 2024 02:20
Copy link
Collaborator

@mvpatel2000 mvpatel2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will review after tests pass

@dakinggg
Copy link
Collaborator Author

And with the MB merge:

Screenshot 2024-04-11 at 8 24 30 PM Screenshot 2024-04-11 at 8 24 40 PM

@irenedea @mvpatel2000 this one is ready

@dakinggg
Copy link
Collaborator Author

jk, also failed a test

@dakinggg
Copy link
Collaborator Author

ok @mvpatel2000 tests passing now

@mvpatel2000 mvpatel2000 requested a review from vchiley April 12, 2024 15:59
Copy link
Collaborator

@mvpatel2000 mvpatel2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do the megablocks ones have to be separate?

@vchiley to review the mb build stuff

@dakinggg
Copy link
Collaborator Author

@mvpatel2000 because there are a bunch of places in the code that we do something only for the mb layers (e.g. the mb args as an attr on the main class.

@dakinggg dakinggg requested a review from mvpatel2000 April 12, 2024 19:56
llmfoundry/models/layers/ffn.py Outdated Show resolved Hide resolved
@dakinggg dakinggg merged commit cb0de4f into mosaicml:main Apr 12, 2024
9 checks passed
KuuCi pushed a commit that referenced this pull request Apr 18, 2024
@dakinggg dakinggg deleted the ffn-registry branch June 22, 2024 20:46
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