Skip to content

Conversation

@danmcp
Copy link
Member

@danmcp danmcp commented Sep 26, 2024

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 <[email protected]>
@danmcp
Copy link
Member Author

danmcp commented Sep 26, 2024

@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