一直想在 Live Debian System 中安裝 Stable Diffusion,以往在 Windows 中用 automatic 1111 很方便,但是新版的 Stable Diffusion 3.5 目前無法在 automatic 1111 上跑,且 Live Debian System 中測試 AI 的環境以往是用 anaconda ,也使得 Stable Diffusion 遲遲無法在 Linux 安裝,所以這次改用 ComfyUI,解決上述2個難題。 [ 先前準備 ] AI模型、運行環境先前準備資料。 ComfyUI 簡介 ComfyUI 是一個模組化、視覺化的 Stable Diffusion 前端工具,使用節點式的流程架構,讓使用者更直觀地設計影像生成流程。它支援最新的 Stable Diffusion 模型,包括 SDXL 與 SD3.5,對硬體要求較低,且安裝過程相對簡單,成為替代 automatic1111 的理想選擇。 如何在 Live Debian System 上安裝 ComfyUI: 將 ComfyUI 下載到家目錄 : git clone https://github.com/comfyanonymous/ComfyUI.git 下載 Stable Diffusion 3.5 模型 (使用中模型)及 Workflow example Hugging Face 網址: https://huggingface.co/stabilityai/stable-diffusion-3.5-medium/tree/main 需註冊登入、同意條款才能下載。( 下載 SD3.5M_example_workflow.json 及 sd3.5_medium.safetensors ) 下載 Text Encoders 3 個後放到 Comfyui > models > clip : clip_l.safetensors clip_g.safetensors t5xxl_fp16.safetensors (大模型) If you have less than 32 GB RAM (CPU RAM, not GPU VRAM), you can use t5xxl_fp8_e4m3fn.safetens...
留言
張貼留言