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

ore.exceptions.ResponseStreamingError #142

Open
AnnaYang2020 opened this issue Nov 1, 2023 · 1 comment
Open

ore.exceptions.ResponseStreamingError #142

AnnaYang2020 opened this issue Nov 1, 2023 · 1 comment

Comments

@AnnaYang2020
Copy link

在执行代码
model, model_args = CogVLMModel.from_pretrained(
"cogvlm-chat",
args=argparse.Namespace(
deepspeed=None,
local_rank=0,
rank=0,
world_size=1,
model_parallel_size=1,
mode='inference',
skip_init=True,
fp16=False,
bf16=True,
use_gpu_initialization=True,
device='cuda',
))
时,下载中途报错:
ore.exceptions.ResponseStreamingError: An error occurred while reading from response stream: ('Connection broken: IncompleteRead(8306688 bytes read, 81920 more expected)', IncompleteRead(8306688 bytes read, 81920 more expected))

这个一般是什么原因,请教如何解决?感谢

@1049451037
Copy link
Member

可能是您的网络不太稳定,导致模型没有下载成功。可是手动从modelscope或者wisemodel下载。

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