RuntimeError: Distributed package doesn‘t have NCCL built in

因为windows不支持NCCL backend
RuntimeError: Distributed package doesn‘t have NCCL built in_第1张图片

已解决

import os
os.environ["PL_TORCH_DISTRIBUTED_BACKEND"] = "gloo"

你可能感兴趣的:(python,ai,error(vs),python,vscode,人工智能)