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

Refactoring attention #1182

Merged
merged 16 commits into from
May 8, 2024

Conversation

ShashankMosaicML
Copy link
Contributor

@ShashankMosaicML ShashankMosaicML commented May 8, 2024

The following runs show that these changes do not affect the functionality of training:

  1. Text dataset:
    a. Loss curves:
Screenshot 2024-05-08 at 3 04 49 PM b. mfu: Screenshot 2024-05-08 at 3 05 15 PM c. memory Screenshot 2024-05-08 at 3 05 39 PM
  1. Finetuning hf dataset:
    a. Loss curves:
Screenshot 2024-05-08 at 4 11 09 PM b. mfu: Screenshot 2024-05-08 at 4 11 30 PM c. memory: Screenshot 2024-05-08 at 4 11 54 PM
  1. Finetuning streaming dataset:
    a. Loss curves: Screenshot 2024-05-08 at 4 17 56 PM
    b. mfu:
Screenshot 2024-05-08 at 4 18 24 PM c. memory: Screenshot 2024-05-08 at 4 18 45 PM

@ShashankMosaicML ShashankMosaicML requested review from dakinggg, mvpatel2000 and vchiley and removed request for dakinggg May 8, 2024 01:05
Co-Authored-By: Vitaliy Chiley <vitaliy.chiley@databricks.com>
Co-Authored-By: Cheng Li <cheng.li@databricks.com>
@ShashankMosaicML ShashankMosaicML removed the request for review from vchiley May 8, 2024 01:19
ShashankMosaicML and others added 6 commits May 7, 2024 18:21
Co-Authored-By: Vitaliy Chiley <vchiley@me.com>
Co-authored-by: Vitaliy Chiley <vitaliy.chiley@databricks.com>
Co-authored-by: Vitaliy Chiley <vchiley@me.com>
adding co-authors
Co-authored-by: Vitaliy Chiley <vitaliy.chiley@databricks.com>
Co-authored-by: Vitaliy Chiley <vchiley@me.com>
Co-authored-by: Cheng Li <cheng.li@databricks.com>
Co-authored-by: Cheng Li <@cli99>
Co-authored-by: Vitaliy Chiley <vitaliy.chiley@databricks.com>
Co-authored-by: Vitaliy Chiley <vchiley@me.com>
Co-authored-by: Vitaliy Chiley <vitaliy.chiley@databricks.com>
Co-authored-by: Vitaliy Chiley <vchiley@me.com>
Co-authored-by: Cheng Li <cheng.li@databricks.com>
@ShashankMosaicML ShashankMosaicML marked this pull request as ready for review May 8, 2024 01:45
llmfoundry/models/mpt/modeling_mpt.py Outdated Show resolved Hide resolved
llmfoundry/models/layers/blocks.py Outdated Show resolved Hide resolved
ShashankMosaicML and others added 3 commits May 8, 2024 10:03
Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com>
Co-authored-by: Cheng Li <pistasable@gmail.com>
@ShashankMosaicML ShashankMosaicML merged commit ac563e6 into mosaicml:main May 8, 2024
9 checks passed
@ShashankMosaicML ShashankMosaicML deleted the refactor_attention branch May 8, 2024 23:19
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.

None yet

2 participants