git clone https://github.com/ddPn08/Lsmith.git
cd Lsmith
git submodule update --init --recursive
docker-compose up --build
モデルや出力画像などのデータはディレクトリに保存されます。
docker-data
ドッカーファイルには2つのタイプがあります。
Dockerfile.full | TensorRT プラグインをビルドします。ビルドには数十分かかる場合があります。 |
Dockerfile.lite | Github リリースからビルド済みの TensorRT プラグインをダウンロードします。ビルド時間が大幅に短縮されます。 |
使用する Dockerfile を変更するには、 in docker-compose.yml の値を変更します。 デフォルトでは、.
services.lsmith.build.dockerfile
Dockerfile.lite
git clone https://github.com/ddPn08/Lsmith.git
cd Lsmith
git submodule update --init --recursive
cd Lsmith
cd frontend
pnpm i
pnpm build --out-dir ../dist
ex.)
bash launch.sh --host 0.0.0.0
git clone https://github.com/ddPn08/Lsmith.git
cd Lsmith
git submodule update --init --recursive
cd frontend
pnpm i
pnpm build --out-dir ../dist
launch-user.bat
起動したら、(例)にアクセスしてWebUIを開きます。
<ip address>:<port number>
http://localhost:8000
まず、既存のディフューザーモデルをテンソルトエンジンに変換する必要があります。
Model ID
CompVis/stable-diffusion-v1-4)
HuggingFace Access Token
Build
日本のAI画像生成コミュニティであるAI絵作り研究会の技術メンバーに感謝します。