Remove fastchat dependency#98
Remove fastchat dependency#98mergify[bot] merged 1 commit intoinstructlab:maininstructlab/eval:mainfrom
Conversation
ce9e59a to
950c76c
Compare
|
@alimaredia FYI |
950c76c to
60c2726
Compare
193e4fe to
b6f6292
Compare
|
@dhellmann Note this will remove the fastchat dependency |
Ack, thanks for the heads-up. |
|
@danmcp are we confident we don't need to rely on fastchat for any future developments to the code that we are importing from them? |
I wish I could predict the future and answer this question :). We had already included the bulk of the fastchat code we needed within eval. This change largely includes the remainder of customizations from xukai92 lm-sys/FastChat@main...xukai92:FastChat:ilab that aren't included in FastChat anyway and leaves out support for most model type conversations. Given the amount of customization we are doing already, and the amount the code is tied to OpenAI vs FastChat, I think we are stuck maintaining our own version that works with the versions of OpenAI and vllm and models we need to support. I think the biggest risk comes to changes we need to make to the evaluation conversation with the model and judge and less to the core code.
There is already a decent bit of divergence with xukai92's changes, adding support for a new OpenAI version, support for custom judges, and support for merge-system-user-message. This is definitely a good question to ask. This particular PR doesn't increase the risk very much vs what we had already done, but the overall problem of how to maintain everything long term still exists. |
cd47bbf to
7c42db8
Compare
|
@Mergifyio refresh |
✅ Pull request refreshed |
|
This pull request has merge conflicts that must be resolved before it can be |
There were only a couple of remaining calls to fastchat. Models we don't interact with have been removed from support. Signed-off-by: Dan McPherson <dmcphers@redhat.com>
7c42db8 to
ca129ab
Compare
There were only a couple of remaining calls to fastchat. Models we don't interact with have been removed from support.
pylint version has been updated to correspond to cli and to allow the type | None syntax.