Giter Site home page Giter Site logo

cgwyx / docker-sdxl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from soulteary/docker-sdxl

0.0 0.0 0.0 2.12 MB

简单、靠谱的 SDXL Docker 使用方案。

Home Page: https://soulteary.com/2023/07/29/get-started-with-stability-ai-sdxl-1-0-release-using-docker.html

License: Apache License 2.0

Shell 1.27% Python 98.73%

docker-sdxl's Introduction

Docker Stable Diffusion XL (SDXL)

简单、靠谱的 SDXL Docker 使用方案。

欢迎一键三连🌟👏

镜像下载地址

使用教程

快速启动

将模型文件中的 stabilityai 放在当前目录,然后执行 Docker 命令:

docker run --gpus all --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 --rm -it -v `pwd`/stabilityai/:/app/stabilityai -p 7860:7860 soulteary/sdxl:runtime

额外计划

  • 集成 2~3 种主流 UI

手动构建

# 构建基础镜像
bash scripts/make-sdxl-base.sh
# 构建运行时镜像
bash scripts/make-sdxl-runtime.sh

# (可选)构建一键包,将模型下载至 `stabilityai` 目录后
bash scripts/make-sdxl-one-click.sh

Docker 镜像说明

# 和官方镜像保持一致的 PyTorch 版本
soulteary/sdxl:runtime
# 包含所有模型的镜像
soulteary/sdxl:all

# xformers 版本,PyTorch 版本较低
soulteary/sdxl:runtime-xformers
# 包含所有模型的镜像
soulteary/sdxl:all-xformers

相关项目

docker-sdxl's People

Contributors

soulteary avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.