stable-diffusion-webui AutoDL 算力平台后台启动命令

AutoDL官网:AutoDL算力云 | 弹性、好用、省钱。租GPU就上AutoDL

AutoDL 算力平台后台启动命令

COMMANDLINE_ARGS="--listen --port 6006" REQS_FILE="requirements.txt" nohup python launch.py >> logs_launch.log 2>&1 &

备注:
COMMANDLINE_ARGS=”–share –gradio-debug –port 6006″   

要改成
COMMANDLINE_ARGS=”–listen –port 6006″ 

不然服务启动的是临时会话,72小时后服务可能会过期!

常见问题:

问题1:

ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.

需要执行如下命令:

 export no_proxy=localhost,127.0.0.1

问题2:

安装中文界面UI插件报错

AssertionError: extension access disabled because of command line flags

解决方法:

在启动命令里增加: –enable-insecure-extension-access

如下:

COMMANDLINE_ARGS="--enable-insecure-extension-access --listen --port 6006" REQS_FILE="requirements.txt" nohup python launch.py >> logs_launch.log 2>&1 &

  

学术资源加速¶

声明:限于国内网络环境和跨境网络速度慢的问题,以下为方便用户使用相关资源提供的加速代理,不承诺稳定性保证。此外如遭遇恶意攻击等,将随时停止该加速服务

以下为可以加速访问的学术资源地址:

  • github.com
  • githubusercontent.com
  • githubassets.com
  • huggingface.co

使用方法¶

设置学术加速,不再区分不同地区

source /etc/network_turbo

取消学术加速,如果不再需要建议关闭学术加速,因为该加速可能对正常网络造成一定影响

unset http_proxy && unset https_proxy

速度对比¶

未使用加速:

image-20220902184957292

使用加速:

image-20220902185038755

referrence link: 学术资源加速 

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
乘风的头像乘风管理团队
上一篇 2023年12月5日
下一篇 2023年12月5日

相关推荐