Sign inSign up

liutyi/sdnext-ipex

By liutyi

•Updated 6 days ago

Unofficial Docker image for SD.Next ipex (for Intel Arc iGPU)

Image
Machine learning & AI
Web servers
0

8.6K

liutyi/sdnext-ipex repository overview

⁠Images

⁠SD.Next official repo

  • sdnext-ipex:master - use git master branch (updated every couple of week)
  • sdnext-ipex:latest - uses git dev branch (updated almost every day)

⁠SD.Next experimental fork with scheduler and default classic interface

  • sdnext-ipex:ipex- Special experimental build for Intel Core Ultra Arc iGPU with PyTorch 2.7.0 + ipex 2.7.10
  • sdnext-ipex:pytorch - Special experimental build for Intel Core Ultra Arc iGPU with latest PyTorch+xpu (w/o ipex)
  • sdnext-ipex:resolute - Same as pytorch, but based on Ubuntu 26.04 instead of Ubuntu 24.04 image

⁠SETUP

⁠with docker compose

vi docker-compose.yml
docker compose up -d
docker compose logs --follow
⁠docker compose file
services:
  sdnext-ipex:
    image: liutyi/sdnext-ipex:pytorch
    container_name: sdnext-ipex
    restart: unless-stopped
    devices:
      - /dev/dri:/dev/dri
      #- /dev/accel:/dev/accel
    environment:
      - TZ='Europe/Kyiv'
      #- https_proxy=http://proxy.example.com:3128/


    ports:
      - 7860:7860
    volumes:
      - /docker/sdnext/app-volume:/app
      - /docker/sdnext/mnt-volume:/mnt
      - /docker/sdnext/huggingface-volume:/root/.cache/huggingface
      - /dev/shm:/dev/shm

⁠Execution example output

first start may take several minutes to install all requirements

root@server:~# docker compose up -d
[+] Running 2/2
 ✔ Network sdnext-ipex_default  Created                                                                                                                                                                                           0.0s
 ✔ Container sdnext-ipex              Started                                                                                                                                                                                           0.1s
root@server:~#  docker compose logs --follow
sdnext-ipex  | fatal: not a git repository (or any parent up to mount point /)
sdnext-ipex  | Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
sdnext-ipex  | Cloning into '.'...
sdnext-ipex  | Create python venv
sdnext-ipex  | Activate python venv: /mnt/python/venv
sdnext-ipex  | Launch: /mnt/python/venv/bin/python3
sdnext-ipex  | 07:54:05-593997 INFO     Starting SD.Next
sdnext-ipex  | 07:54:05-595473 INFO     Logger: file="/app/sdnext.log" level=INFO
sdnext-ipex  |                          host="aa248dcb4ab9" size=79 mode=append
sdnext-ipex  | 07:54:05-596033 INFO     Python: version=3.12.3 platform=Linux
sdnext-ipex  |                          bin="/mnt/python/venv/bin/python3"
sdnext-ipex  |                          venv="/mnt/python/venv"
sdnext-ipex  | 07:54:05-612420 INFO     Version: app=sd.next updated=2025-08-20 hash=3ec0d35d
sdnext-ipex  |                          branch=master
sdnext-ipex  |                          url=https://github.com/vladmandic/sdnext.git/tree/maste
sdnext-ipex  |                          r ui=main
sdnext-ipex  | 07:54:05-980798 INFO     Version: app=sd.next latest=2025-08-20T18:42:31Z
sdnext-ipex  |                          hash=3ec0d35d branch=master
sdnext-ipex  | 07:54:05-982929 INFO     Platform: arch=x86_64 cpu=x86_64 system=Linux
sdnext-ipex  |                          release=6.14.0-29-generic python=3.12.3 locale=('C',
sdnext-ipex  |                          'UTF-8') docker=True
sdnext-ipex  | 07:54:05-983742 INFO     Args: ['-f', '--use-ipex', '--uv', '--listen',
sdnext-ipex  |                          '--insecure', '--api-log', '--log', 'sdnext.log']
sdnext-ipex  | 07:54:14-128062 INFO     Verifying torch installation
sdnext-ipex  | 07:54:14-133707 INFO     IPEX: Intel OneAPI toolkit detected
sdnext-ipex  | 07:54:14-134393 INFO     Torch: download and install in progress...
sdnext-ipex  |                          cmd="torch==2.7.1+xpu torchvision==0.22.1+xpu
sdnext-ipex  |                          --index-url https://download.pytorch.org/whl/xpu"
sdnext-ipex  | 07:54:40-148852 INFO     Transformers install: version=4.55.2
sdnext-ipex  | 07:54:47-072323 INFO     Diffusers install:
sdnext-ipex  |                          commit=4fcd0bc7ebb934a1559d0b516f09534ba22c8a0d
sdnext-ipex  | 07:54:56-576899 INFO     Install: verifying requirements

⁠Note on ipex build is based on liutyi/sdnext/ipex

  • Using desktop Intel drivers (not DC product drivers)
  • includes agent scheduler as build in extension,
  • default theme is default (not modern)
  • default long image names including seed, cfg, other tech data
  • intel pytorch extension is installed over pytorch
  • based on SD.Next:latest (vladmandic/sdnext/dev)

⁠Note on pytorch build is based on liutyi/sdnext/pytorch

  • Using desktop Intel drivers (not DC product drivers)
  • includes agent scheduler as build in extension,
  • default theme is default (not modern)
  • default long image names including seed, cfg, other tech data
  • based on SD.Next:latest (vladmandic/sdnext/dev)

⁠More info

Tag summary

Content type

Image

Digest

sha256:2b2ae9770…

Size

445.6 MB

Last updated

6 days ago

docker pull liutyi/sdnext-ipex