update docker info

Signed-off-by: Vladimir Mandic <mandic00@live.com>
pull/3754/merge
Vladimir Mandic 2025-02-11 18:51:15 -05:00
parent 78125d8fd0
commit 82ff8681cc
6 changed files with 12 additions and 6 deletions

View File

@ -14,7 +14,9 @@
- **UI**:
- force browser cache-invalidate on page load
- **Docs**
- New [outpaint](https://github.com/vladmandic/sdnext/wiki/Outpaint) step-by-step guide
- New [Outpaint](https://github.com/vladmandic/sdnext/wiki/Outpaint) step-by-step guide
- Updated [Docker](https://github.com/vladmandic/sdnext/wiki/Docker) guide
includes build and publish and both local and cloud examples
- **Backend**
- **Torch**
- for **zluda** set default to `torch==2.6.0+cu118`

View File

@ -2,7 +2,7 @@
# docs: <https://github.com/vladmandic/sdnext/wiki/Docker>
# base image
FROM pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtime
FROM pytorch/pytorch:2.6.0-cuda12.6-cudnn9-runtime
# metadata
LABEL org.opencontainers.image.vendor="SD.Next"
@ -13,7 +13,7 @@ LABEL org.opencontainers.image.source="https://github.com/vladmandic/sdnext/"
LABEL org.opencontainers.image.licenses="AGPL-3.0"
LABEL org.opencontainers.image.title="SD.Next"
LABEL org.opencontainers.image.description="SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models"
LABEL org.opencontainers.image.base.name="https://hub.docker.com/pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtime"
LABEL org.opencontainers.image.base.name="https://hub.docker.com/pytorch/pytorch:2.6.0-cuda12.6-cudnn9-runtime"
LABEL org.opencontainers.image.version="latest"
# minimum install

2
configs/Dockerfile.ipex Normal file
View File

@ -0,0 +1,2 @@
# SD.Next Dockerfile
# docs: <https://github.com/vladmandic/sdnext/wiki/Docker>

2
configs/Dockerfile.rocm Normal file
View File

@ -0,0 +1,2 @@
# SD.Next Dockerfile
# docs: <https://github.com/vladmandic/sdnext/wiki/Docker>

View File

@ -111,7 +111,7 @@ def download_civit_model_thread(model_name: str, model_url: str, model_path: str
starting_pos = os.path.getsize(temp_file)
headers['Range'] = f'bytes={starting_pos}-'
if token is None:
token = shared.opts.civit_token
token = shared.opts.civitai_token
if token is not None and len(token) > 0:
headers['Authorization'] = f'Bearer {token}'
@ -398,7 +398,7 @@ def load_civitai(model: str, url: str):
return name # already downloaded
else:
shared.log.debug(f'Reference download start: model="{name}"')
download_civit_model_thread(model_name=model, model_url=url, model_path='', model_type='safetensors', token=shared.opts.civit_token)
download_civit_model_thread(model_name=model, model_url=url, model_path='', model_type='safetensors', token=shared.opts.civitai_token)
shared.log.debug(f'Reference download complete: model="{name}"')
sd_models.list_models()
info = sd_models.get_closet_checkpoint_match(name)

2
wiki

@ -1 +1 @@
Subproject commit 69cee788891ef65aaf918da59e0a36aae522f4e0
Subproject commit 80b43575ac976e311983ffe0c37887158016ea94