收起左侧

英特尔内置显卡,dockers安装运行comfyui

1
回复
99
查看
[ 复制链接 ]

9

主题

16

回帖

0

牛值

江湖小虾

英特尔内置显卡,dockers安装comfyui

看效果:

image.png

image.png

image.png

image.png

不多说先上代码:

# 用于 Intel GPU 的 Compose 文件

services:

  comfyui:
    init: true
    container_name: comfyui-xpu-cn
    build:
      context: .
      dockerfile: Dockerfile
    image: "yanwk/comfyui-boot:xpu-cn"
    ports:
      - "8188:8188"
    volumes:
      - "./storage:/root"
      - "./storage-models/models:/root/ComfyUI/models"
      - "./storage-models/hf-hub:/root/.cache/huggingface/hub"
      - "./storage-models/torch-hub:/root/.cache/torch/hub"
      - "./storage-user/input:/root/ComfyUI/input"
      - "./storage-user/output:/root/ComfyUI/output"
      - "./storage-user/workflows:/root/ComfyUI/user/default/workflows"
    environment:
      - CLI_ARGS=
    devices:
      - /dev/dri
    ipc: host
    security_opt:
      - label:disable

不用改直接compose建就行,路径选择时候设定个文件夹;

收藏
送赞 1
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

4

主题

12

回帖

0

牛值

江湖小虾

这个内存需要多大才能跑1920*1080的图啊 我之前那p4玩,都只能跑512像素的图

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则