mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-04-07 15:34:16 +00:00
Upgrade comfyui versions & add convert_2_safetensors service
This commit is contained in:
parent
8e5ac35102
commit
b4941ea474
7 changed files with 208 additions and 2 deletions
26
services/convert2safetensors/Dockerfile
Normal file
26
services/convert2safetensors/Dockerfile
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
ARG PYTORCH_VERSION=2.7.1-cuda12.8-cudnn9-runtime
|
||||
FROM pytorch/pytorch:${PYTORCH_VERSION}
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
|
||||
|
||||
RUN apt update --assume-yes && \
|
||||
# apt install --assume-yes \
|
||||
# git \
|
||||
# sudo \
|
||||
# build-essential \
|
||||
# libgl1-mesa-glx \
|
||||
# libglib2.0-0 \
|
||||
# libsm6 \
|
||||
# libxext6 \
|
||||
# ffmpeg && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /opt/convert2safetensors
|
||||
COPY . /opt/convert2safetensors/
|
||||
RUN chmod u+x /opt/convert2safetensors/entrypoint.sh
|
||||
|
||||
RUN pip install --requirement /opt/convert2safetensors/requirements.txt
|
||||
|
||||
ENV NVIDIA_VISIBLE_DEVICES=all PYTHONPATH="${PYTHONPATH}:${PWD}" CLI_ARGS=""
|
||||
ENTRYPOINT ["/bin/bash", "/opt/convert2safetensors/entrypoint.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue