Skip to content

Remove max_workers and serving_gpus from constructor#140

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

Remove max_workers and serving_gpus from constructor#140
mergify[bot] merged 1 commit into
instructlab:mainfrom
danmcp:removemaxworkersconstruct

Conversation

@danmcp

@danmcp danmcp commented Sep 26, 2024

Copy link
Copy Markdown
Contributor

Removes max_workers from the constructor in favor of passing to judge_answers and gen_answers. The original change was made because workers should be dependent on the particular settings of the model being served which can vary between the model being judged and the judge itself.

Any callers to max_workers= or serving_gpus= in the constructor should switch to use gen_answers and judge_answers for MTBenchEvaluator and MTBenchBranchEvaluator.

Original change made here: #107
CLI updated here: instructlab/instructlab#2144

This change is not backward compatible with callers using max_workers or serving_gpus in the constructor. A minor version bump should be made for the next release.

This change is not backward compatible with callers using max_workers or serving_gpus in the constructor.  A minor version bump should be made for the next release.

Any callers to max_workers= or serving_gpus= in the constructor should switch to use gen_answers and judge_answers for MTBenchEvaluator and MTBenchBranchEvaluator.

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

danmcp commented Sep 26, 2024

Copy link
Copy Markdown
Contributor Author

@sallyom FYI

@mergify
mergify Bot merged commit fa22ef5 into instructlab:main Sep 27, 2024
@mergify mergify Bot removed the one-approval label Sep 27, 2024
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.

3 participants