Open AnnaYang2020 opened 10 months ago
在执行代码 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))
这个一般是什么原因,请教如何解决?感谢
可能是您的网络不太稳定,导致模型没有下载成功。可是手动从modelscope或者wisemodel下载。
在执行代码 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))
这个一般是什么原因,请教如何解决?感谢