Skip to content

Allow for external serving to be used with mmlu #99

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

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

danmcp
Copy link
Member

@danmcp danmcp commented Aug 14, 2024

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
Copy link
Member Author

danmcp commented Aug 15, 2024

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
Copy link
Member Author

danmcp commented Aug 15, 2024

@JamesKunstle FYI

@jaideepr97
Copy link
Member

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

@danmcp
Copy link
Member Author

danmcp commented Aug 19, 2024

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
Copy link
Member Author

danmcp commented Sep 6, 2024

@Mergifyio rebase

Requires lm_eval >= 0.4.4

Signed-off-by: Dan McPherson <dmcphers@redhat.com>
Copy link
Contributor

mergify bot commented Sep 6, 2024

rebase

✅ Branch has been successfully rebased

@mergify mergify bot added the ci-failure label Sep 6, 2024
@mergify mergify bot added 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 jaideepr97 and a team September 12, 2024 14:55
@nathan-weinberg
Copy link
Member

@mergify mergify bot removed the one-approval label Sep 12, 2024
@mergify mergify bot merged commit 58c3653 into instructlab:main Sep 12, 2024
13 checks passed
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