mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 23:02:00 +03:00
5853f3e1a1
# Adds the bridge code which when enabled turns the webui into a headless [Stable Horde](https://stablehorde.net) instance It adds a few new command-line args to be able to pass variables to the bridge, as well as the possibility to set it via a variables files `bridgeData.py`. To start the bridge, one needs to add the `--bridge` argument to their relauncher.py as well as any horde vars they want to specify. On top of that this adds the loguru module as well as my tuned loguru config. This provides a much nicer logging output and provides the capability to save output to files for issue reports etc. For now only the bridge is utilizing the nice format, but once it's merged, you can start replacing `print()` with `logger.xxx()` where appropriate To make the bridge work, I've had to add defaults to txt2img but this should not affect anything. # Checklist: - [ x ] I have changed the base branch to `dev` - [ x ] I have performed a self-review of my own code - [ x ] I have commented my code in hard-to-understand areas - [ x ] I have made corresponding changes to the documentation Co-authored-by: hlky <106811348+hlky@users.noreply.github.com> Co-authored-by: Thomas Mello <work.mello@gmail.com> Co-authored-by: Joshua Kimsey <jkimsey95@gmail.com> Co-authored-by: ZeroCool <ZeroCool940711@users.noreply.github.com>
80 lines
2.4 KiB
YAML
80 lines
2.4 KiB
YAML
name: ldm
|
|
# This file is part of stable-diffusion-webui (https://github.com/sd-webui/stable-diffusion-webui/).
|
|
|
|
# Copyright 2022 sd-webui team.
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
channels:
|
|
- pytorch
|
|
- defaults
|
|
# Psst. If you change a dependency, make sure it's mirrored in the docker requirement
|
|
# files as well.
|
|
dependencies:
|
|
- cudatoolkit=11.3
|
|
- git
|
|
- numpy=1.22.3
|
|
- pip=20.3
|
|
- python=3.8.5
|
|
- pytorch=1.11.0
|
|
- scikit-image=0.19.2
|
|
- torchvision=0.12.0
|
|
- loguru
|
|
- pip:
|
|
- -e .
|
|
- -e git+https://github.com/CompVis/taming-transformers#egg=taming-transformers
|
|
- -e git+https://github.com/openai/CLIP#egg=clip
|
|
- -e git+https://github.com/TencentARC/GFPGAN#egg=GFPGAN
|
|
- -e git+https://github.com/hlky/k-diffusion-sd#egg=k_diffusion
|
|
- -e git+https://github.com/devilismyfriend/latent-diffusion#egg=latent-diffusion
|
|
- accelerate==0.12.0
|
|
- albumentations==0.4.3
|
|
- basicsr>=1.3.4.0
|
|
- diffusers==0.3.0
|
|
- einops==0.3.0
|
|
- facexlib>=0.2.3
|
|
- ftfy==6.1.1
|
|
- fairscale==0.4.4
|
|
- gradio==3.1.6
|
|
- hydralit==1.0.14
|
|
- hydralit_components==1.0.10
|
|
- imageio-ffmpeg==0.4.2
|
|
- imageio==2.9.0
|
|
- kornia==0.6
|
|
- omegaconf==2.1.1
|
|
- opencv-python-headless==4.6.0.66
|
|
- open-clip-torch==2.0.2
|
|
- pandas==1.4.3
|
|
- piexif==1.1.3
|
|
- pycocotools==2.0.5
|
|
- pycocoevalcap==1.2
|
|
- pudb==2019.2
|
|
- pynvml==11.4.1
|
|
- python-slugify>=6.1.2
|
|
- pytorch-lightning==1.4.2
|
|
- retry>=0.9.2
|
|
- regex
|
|
- realesrgan==0.3.0
|
|
- streamlit==1.13.0
|
|
- streamlit-on-Hover-tabs==1.0.1
|
|
- streamlit-option-menu==0.3.2
|
|
- streamlit_nested_layout
|
|
- streamlit-server-state==0.14.2
|
|
- streamlit-tensorboard==0.0.2
|
|
- test-tube>=0.7.5
|
|
- tensorboard==2.10.1
|
|
- timm==0.4.12
|
|
- torch-fidelity==0.3.0
|
|
- torchmetrics==0.6.0
|
|
- transformers==4.19.2
|
|
- tqdm==4.64.0
|
|
|