Authentication token does not exist, failed to access model unknown which may not exist or may be private. Please login first.
训练时报错 2023-09-27 15:17:54,332 - modelscope - INFO - load ./zhong_data/output_dir/ 2023-09-27 15:17:54,555 - modelscope - ERROR - Authentication token does not exist, failed to access model unknown which may not exist or may be private. Please login first. 2023-09-27 15:17:54,652 - modelscope - ERROR - Authentication token does not exist, failed to access model unknown which may not exist or may be private. Please login first.
在训练前执行如下代码登录,使用自己的私有仓库
from modelscope.hub.api import HubApi
YOUR_ACCESS_TOKEN = '请从ModelScope个人中心->访问令牌获取'
api = HubApi()
api.login(YOUR_ACCESS_TOKEN)
我就是仅仅运行一下本地模型,为什么还报这个错误呢: 运行命令:
from vllm import LLM, SamplingParams
llm = LLM(model="/data/share/rwq/Qwen-7B-Chat", revision="v1.1.8", trust_remote_code=True)
报错:
2024-01-03 17:58:31,460 - modelscope - ERROR - Authentication token does not exist, failed to access model /data/share/rwq/Qwen-7B-Chat which may not exist or may be private. Please login first.
请问是什么原因?
我的python版本是: python 3.10.12
@ArlanCooper 请问您解决了吗,我遇到了相同的问题
@ArlanCooper 我解决了,只要unset VLLM_USE_MODELSCOPE就行
@ArlanCooper 我解决了,只要
unset VLLM_USE_MODELSCOPE就行
就是不用modelscope吗?只使用transformers吧?
Same error comes together with TypeError: Accelerator.__init__() got an unexpected keyword argument 'use_seedable_sampler',
update accelarator solves it: pip install accelerate==0.27.2
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.