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

modelscope installed will lead some problems #2744

Open
jijivski opened this issue Feb 27, 2025 · 1 comment
Open

modelscope installed will lead some problems #2744

jijivski opened this issue Feb 27, 2025 · 1 comment

Comments

@jijivski
Copy link

ran eval code on alibaba cloud

lm_eval --model vllm \
    --model_args "pretrained=Qwen2.5-3B,tensor_parallel_size=1,dtype=auto,gpu_memory_utilization=0.9,data_parallel_size=1" \
    --tasks gsm8k \
    --batch_size auto \
    --device cuda:0 \

pip uninstall modelscope -y # it will lead to modelscope to download the dataset, but since they have different name in modelscope and huggingface, this will fail

or: modelscope.hub.errors.RequestError: Url = https://www.modelscope.cn/api/v1/datasets/EleutherAI/hendrycks_math, Request id=a81d68cd-35f2-4c2d-ab08-92aa27e913ac Code = 10020101002 Message = 不存在的数据集(means dataset not exist), Please specify correct dataset_name and namespace.

export VLLM_USE_MODELSCOPE=0 # if set to True vllm will load modelscope and fail, this will lead to vllm mot loaded and no exception reported
mey

or: NameError: name 'LLM' is not defined when using vllm in lm_eval

@baberabb
Copy link
Contributor

Hi! you can change the dataset name in the task configs. for example for gsm8k here

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