Skip to content

Allow for external serving to be used with mmlu#99

Merged
mergify[bot] merged 1 commit into
instructlab:mainfrom
danmcp:mmluserving
Sep 12, 2024
Merged

Allow for external serving to be used with mmlu#99
mergify[bot] merged 1 commit into
instructlab:mainfrom
danmcp:mmluserving

Conversation

@danmcp

@danmcp danmcp commented Aug 14, 2024

Copy link
Copy Markdown
Contributor

Requires lm_eval >= 0.4.4

As implemented, if server_url is passed, it's used for external serving. Otherwise the old logic is still applied. Eventually we may want to remove the non external serving option.

Resolves: #50
Resolves: #68

Corresponding cli change: instructlab/instructlab#2065

@danmcp

danmcp commented Aug 15, 2024

Copy link
Copy Markdown
Contributor Author

Note: Tests will fail until lm_eval 0.4.4 is available

@danmcp danmcp added the hold In-progress PR. Tag should be removed before merge. label Aug 15, 2024
@danmcp

danmcp commented Aug 15, 2024

Copy link
Copy Markdown
Contributor Author

@JamesKunstle FYI

Comment thread src/instructlab/eval/mmlu.py
@jaideepr97

Copy link
Copy Markdown
Contributor

cool patch btw! nice way to get around the current limitations
could you take a look at the CI failures?

@danmcp

danmcp commented Aug 19, 2024

Copy link
Copy Markdown
Contributor Author

cool patch btw! nice way to get around the current limitations could you take a look at the CI failures?

The CI failures are because of requiring lm_eval 0.4.4. They are promising a new release should come out soon. We're in a holding pattern until then.

@danmcp danmcp removed the hold In-progress PR. Tag should be removed before merge. label Sep 6, 2024
@danmcp

danmcp commented Sep 6, 2024

Copy link
Copy Markdown
Contributor Author

@Mergifyio rebase

Requires lm_eval >= 0.4.4

Signed-off-by: Dan McPherson <dmcphers@redhat.com>
@mergify

mergify Bot commented Sep 6, 2024

Copy link
Copy Markdown
Contributor

rebase

✅ Branch has been successfully rebased

@mergify mergify Bot added ci-failure dependencies Pull requests that update a dependency file and removed ci-failure labels Sep 6, 2024
@mergify mergify Bot added the one-approval label Sep 6, 2024
@nathan-weinberg
nathan-weinberg requested review from a team and jaideepr97 September 12, 2024 14:55
@nathan-weinberg

Copy link
Copy Markdown
Member

@mergify mergify Bot removed the one-approval label Sep 12, 2024
@mergify
mergify Bot merged commit 58c3653 into instructlab:main Sep 12, 2024
mergify Bot added a commit to instructlab/instructlab that referenced this pull request Sep 25, 2024
…2065)

Like with mt_bench, the new logic supports vllm and llama-cpp and passes the base url of the started instance to the mmlu library.

This enables:
- Consistency with how we are serving from a support perspective
- Support for larger models with sharding across gpus
- Multi-gpu support
- Potential for faster performance with higher serving throughput

Related: 
instructlab/eval#50
instructlab/eval#68

Corresponding Eval change:
instructlab/eval#99

Resolves: #1792

**Checklist:**

- [ ] **Commit Message Formatting**: Commit titles and messages follow guidelines in the
  [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary).
- [ ] [Changelog](https://github.com/instructlab/instructlab/blob/main/CHANGELOG.md) updated with breaking and/or notable changes for the next minor release.
- [ ] Documentation has been updated, if necessary.
- [x] Unit tests have been added, if necessary.
- [ ] Integration tests have been added, if necessary.



Approved-by: nathan-weinberg

Approved-by: alimaredia

Approved-by: leseb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mmlu isn't consuming multiple gpus Enable MMLU tests to be run on an already served model

4 participants