Skip to content
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

local judge model not work, meet error when model.working() #670

Open
ylsaker opened this issue Dec 16, 2024 · 1 comment
Open

local judge model not work, meet error when model.working() #670

ylsaker opened this issue Dec 16, 2024 · 1 comment

Comments

@ylsaker
Copy link

ylsaker commented Dec 16, 2024

i have followed quick start to deploy local llm as judge. But I meet this error

assert model.working(), ('MathVista evaluation requires a working OPENAI API\n' + DEBUG_MESSAGE)
^^^^^^^^^^^^^^^
AssertionError: MathVista evaluation requires a working OPENAI API

i have get the model form judge build
image

here is my .env
OPENAI_API_KEY=sk-123456
OPENAI_API_BASE=http://0.0.0.0:23333/v1
LOCAL_LLM=internlm/internlm2-chat-1_8b

and my deployment command is
CUDA_VISIBLE_DEVICES=3 lmdeploy serve api_server internlm/internlm2-chat-1_8b --server-port 23333
start eval command is
python run.py --data MathVista_MINI --model InternVL2_5-8B --work-dir /data/eval_result --judge internlm/internlm2-chat-1_8b --nproc 1

@kennymckormick
Copy link
Member

Hi, the reason is that you local deployed judge model is not working. Would you please check if the api is actually working?

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

No branches or pull requests

2 participants