安装环境:
操作系统:CentOS8 GPU VM (Tesla P40 N卡)
安装软件:ComfyUI、UI-Manager、UI-Login、Janus Pro

CentOS8升级GCC到最新版
# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo
# yum list | grep gcc-toolset
# yum install -y gcc-toolset-11
# source /opt/rh/gcc-toolset-11/enable

# conda create -n comfyui
# conda activate comfyui
# git clone https://github.com/comfyanonymous/ComfyUI.git
# cd ComfyUI/
# conda install -c conda-forge sentencepiece
# conda install -c conda-forge gxx_linux-64==11.1.0
# ln -sf /www/miniconda3/envs/comfyui/lib/libstdc++.so.6.0.33 /www/miniconda3/envs/comfyui/lib/libstdc++.so.6
# 
# pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
# or
# pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu124
# pip install -r requirements.txt
# cd custom_nodes/
# git clone https://github.com/ltdrdata/ComfyUI-Manager comfyui-manager
# git clone https://github.com/liusida/ComfyUI-Login
# cd ComfyUI-Login/
# pip install -r requirements.txt 
# cd ../../
#

#
# python main.py --listen 127.0.0.1 --port 7862 --multi-user
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-03-25 13:37:23.274
** Platform: Linux
** Python version: 3.13.2 | packaged by conda-forge | (main, Feb 17 2025, 14:10:22) [GCC 13.3.0]
** Python executable: /www/miniconda3/envs/comfyui/bin/python
** ComfyUI Path: /www/wwwroot/ComfyUI
** ComfyUI Base Folder Path: /www/wwwroot/ComfyUI
** User directory: /www/wwwroot/ComfyUI/user
** ComfyUI-Manager config path: /www/wwwroot/ComfyUI/user/default/ComfyUI-Manager/config.ini
** Log path: /www/wwwroot/ComfyUI/user/comfyui.log

Prestartup times for custom nodes:
   2.1 seconds: /www/wwwroot/ComfyUI/custom_nodes/comfyui-manager

Checkpoint files will always be loaded safely.
Total VRAM 22906 MB, total RAM 48128 MB
pytorch version: 2.6.0+cu124
Set vram state to: NORMAL_VRAM
Device: cuda:0 Tesla P40 : cudaMallocAsync
Using pytorch attention
ComfyUI version: 0.3.27
ComfyUI frontend version: 1.14.5
[Prompt Server] web root: /www/miniconda3/envs/comfyui/lib/python3.13/site-packages/comfyui_frontend_package/static
### Loading: ComfyUI-Manager (V3.31.8)
[ComfyUI-Manager] network_mode: public
### ComfyUI Version: v0.3.27-3-geade1551 | Released on '2025-03-24'

Import times for custom nodes:
   0.0 seconds: /www/wwwroot/ComfyUI/custom_nodes/websocket_image_save.py
   0.1 seconds: /www/wwwroot/ComfyUI/custom_nodes/comfyui-manager

Starting server

To see the GUI go to: http://127.0.0.1:7862
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
FETCH ComfyRegistry Data: 5/79
FETCH ComfyRegistry Data: 10/79
FETCH ComfyRegistry Data: 15/79


Comfyui模版中缺少的模型下载
文字生视频,管理器里缺少wan2.1_t2v_1.3B_fp16.safetensors
https://comfyanonymous.github.io/ComfyUI_examples/wan/
放到目录
/www/wwwroot/ComfyUI/models/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors
https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/tree/main/split_files/diffusion_models
https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors?download=true