shsky commited on
Commit
1a4ba5f
·
verified ·
1 Parent(s): fe88c44

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -14
README.md CHANGED
@@ -1,39 +1,44 @@
1
- 下载代理客户端(有道笔记:资料->v2ray服务器客户端获取)
2
- https://github.com/v2fly/fhs-install-v2ray/blob/master/install-release.sh
 
3
 
4
- https://github.com/v2fly/v2ray-core/releases/download/v5.15.3/v2ray-linux-64.zip
5
-
6
- 权限:
7
  chmod +o ./install-release.sh
8
- 安装:
9
  ./install-release.sh -l v2ray-linux-64.zip
10
- 启动代理(后台):
11
  v2ray run --config v2-au-cf.json >> v2.out 2>&1 &
12
 
13
- #使用代理
 
14
  export http_proxy=http://127.0.0.1:10809 && export https_proxy=http://127.0.0.1:10809
15
  export no_proxy="127.0.0.1,localhost,::1,pypi.tuna.tsinghua.edu.cn"
 
16
 
17
 
18
- 【内存优化(二选一)】
 
19
  apt install google-perftools 或者apt install libgoogle-perftools-dev => 对应/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
20
  apt install libtcmalloc-minimal4 => 对应/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
21
- 【v1.6.0内存泄漏修复分支】
 
 
22
  git remote add leak https://github.com/kingljl/stable-diffusion-webui.git
23
  git fetch leak
24
  git merge leak/kingljl-patch-memory-leak
 
25
  取消合并执行:git merge --abort
26
 
27
 
28
- 【运行webui】
 
29
  cd /root/workspace/webui
30
  export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
31
 
32
- ```bash
33
  bash webui.sh -f --api --server-name=0.0.0.0 --port=7007 --lora-dir=/root/shared-nvme/v15lora --no-half-vae --ckpt-dir=/root/shared-nvme/15model --opt-sdp-attention --xformers --medvram --disable-nan-check --no-download-sd-model --controlnet-dir=/root/shared-nvme/v15controlNetModel --skip-version-check --skip-python-version-check --skip-torch-cuda-test --skip-install
34
  ```
35
 
36
- 【win+linux 稳定验证版本webui】commit hash:
37
  commit c2bdbb67b66de06f1163de3f10c290213cd6bdb0 (HEAD)
38
  Merge: 4d563830 f92d6149
39
  Author: fuchen.ljl <yjqqqqdx_01@163.com>
@@ -41,7 +46,7 @@ Date: Wed Dec 6 20:42:04 2023 +0800
41
 
42
  Merge branch 'dev' into kingljl-patch-memory-leak
43
 
44
- 【sd-webui-controlnet 稳定验证版本】
45
  commit 681de2c4f0298001195b1133aab9d0d429102148 (HEAD -> main, origin/main, origin/HEAD)
46
  Author: Chenlei Hu <chenlei.hu@mail.utoronto.ca>
47
  Date: Sat May 18 22:48:29 2024 -0400
 
1
+ ### 下载代理客户端(有道笔记:资料->v2ray服务器客户端获取)
2
+ - https://github.com/v2fly/fhs-install-v2ray/blob/master/install-release.sh
3
+ - https://github.com/v2fly/v2ray-core/releases/download/v5.15.3/v2ray-linux-64.zip
4
 
5
+ ### 权限:
 
 
6
  chmod +o ./install-release.sh
7
+ ### 安装:
8
  ./install-release.sh -l v2ray-linux-64.zip
9
+ ### 启动代理(后台):
10
  v2ray run --config v2-au-cf.json >> v2.out 2>&1 &
11
 
12
+ ### 使用代理
13
+ ```
14
  export http_proxy=http://127.0.0.1:10809 && export https_proxy=http://127.0.0.1:10809
15
  export no_proxy="127.0.0.1,localhost,::1,pypi.tuna.tsinghua.edu.cn"
16
+ ```
17
 
18
 
19
+ ### 【内存优化(二选一)】
20
+ ```
21
  apt install google-perftools 或者apt install libgoogle-perftools-dev => 对应/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
22
  apt install libtcmalloc-minimal4 => 对应/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
23
+ ```
24
+ ### 【v1.6.0内存泄漏修复分支】
25
+ ```
26
  git remote add leak https://github.com/kingljl/stable-diffusion-webui.git
27
  git fetch leak
28
  git merge leak/kingljl-patch-memory-leak
29
+ ```
30
  取消合并执行:git merge --abort
31
 
32
 
33
+ ### 【运行webui】
34
+ ```bash
35
  cd /root/workspace/webui
36
  export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
37
 
 
38
  bash webui.sh -f --api --server-name=0.0.0.0 --port=7007 --lora-dir=/root/shared-nvme/v15lora --no-half-vae --ckpt-dir=/root/shared-nvme/15model --opt-sdp-attention --xformers --medvram --disable-nan-check --no-download-sd-model --controlnet-dir=/root/shared-nvme/v15controlNetModel --skip-version-check --skip-python-version-check --skip-torch-cuda-test --skip-install
39
  ```
40
 
41
+ ### 【win+linux 稳定验证版本webui】commit hash:
42
  commit c2bdbb67b66de06f1163de3f10c290213cd6bdb0 (HEAD)
43
  Merge: 4d563830 f92d6149
44
  Author: fuchen.ljl <yjqqqqdx_01@163.com>
 
46
 
47
  Merge branch 'dev' into kingljl-patch-memory-leak
48
 
49
+ ### 【sd-webui-controlnet 稳定验证版本】
50
  commit 681de2c4f0298001195b1133aab9d0d429102148 (HEAD -> main, origin/main, origin/HEAD)
51
  Author: Chenlei Hu <chenlei.hu@mail.utoronto.ca>
52
  Date: Sat May 18 22:48:29 2024 -0400