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

Upgrade to 0.13.2, merge recent LLM changes #242

Merged
merged 51 commits into from
Mar 17, 2023
Merged

Conversation

abhi-mosaic
Copy link
Contributor

This PR upgrades to Composer 0.13.2 and loops in all pending changes from the last few weeks of LLM runs.

Going to do some LLM runs on this branch to test and send screenshots.

Copy link
Collaborator

@dakinggg dakinggg left a comment

Choose a reason for hiding this comment

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

LGTM once you've gotten a couple runs in successfully.
Request for manual testing:

  • a mosaicgpt run with icl
  • a gptneo run with icl
  • run through the bert readme
  • run through at least the resnet imagenet readme (we can do the rest before release)

examples/bert/yamls/test/glue.yaml Outdated Show resolved Hide resolved
examples/common/optim/__init__.py Outdated Show resolved Hide resolved
examples/common/optim/lion.py Outdated Show resolved Hide resolved
examples/llm/main.py Outdated Show resolved Hide resolved
examples/llm/requirements.txt Show resolved Hide resolved
@dakinggg
Copy link
Collaborator

Also, you'll need to bump mosaicml versions in the other subfolders to increase the top level requirement

Copy link
Contributor

@vchiley vchiley left a comment

Choose a reason for hiding this comment

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

LGTM, left a few nits

examples/bert/src/glue/finetuning_jobs.py Outdated Show resolved Hide resolved
examples/bert/src/hf_bert.py Show resolved Hide resolved
examples/common/builders.py Outdated Show resolved Hide resolved
examples/common/optim/__init__.py Outdated Show resolved Hide resolved
examples/common/convert_dataset.py Outdated Show resolved Hide resolved
examples/common/optim/lion.py Show resolved Hide resolved
examples/llm/icl_eval/evaluate_model.py Show resolved Hide resolved
examples/llm/main.py Outdated Show resolved Hide resolved
examples/llm/src/models/layers/gpt_blocks.py Outdated Show resolved Hide resolved
examples/llm/src/models/mosaic_gpt.py Outdated Show resolved Hide resolved
@abhi-mosaic
Copy link
Contributor Author

CI passing, just running through some test runs now...

@abhi-mosaic
Copy link
Contributor Author

Successfully ran MosaicGPT-1.3B and OPT-2.7B both with ICL eval, and BERT pretraining, all is well!

@abhi-mosaic abhi-mosaic enabled auto-merge (squash) March 17, 2023 02:10
@abhi-mosaic abhi-mosaic merged commit 3566595 into main Mar 17, 2023
@abhi-mosaic abhi-mosaic deleted the merge-hero-changes branch March 17, 2023 02:12
@vchiley vchiley mentioned this pull request Mar 17, 2023
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.

6 participants