Error executing the command: Command ‘[‘D:\\xx\\python.exe‘, ‘-m‘, ‘accelerate.commands.launch‘,

目录

accelerate 多卡训练报错

pytorch win11单机多卡训练示例


accelerate 多卡训练报错

accelerate.commands.launch训练图片生成时报错:

Error executing the command: Command '['D:\\xx\\python.exe', '-m', 'accelerate.commands.launch', '--mixed_precision=fp16', '--main_process_port=3456'

是因为要用多卡分布式训练,3456端口没有开,

连接报错了。


你可能感兴趣的:(python宝典,python,前端,linux)