Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
InstantID
Commits
b6b8ac7a
Commit
b6b8ac7a
authored
Jul 19, 2024
by
chenpangpang
Browse files
feat: 加入frpc_linux_amd64_v0.2可生成公开链接;把latent-consistency/lcm-lora-sdxl加入镜像中
parent
9bcaa2e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Dockerfile
Dockerfile
+3
-0
No files found.
Dockerfile
View file @
b6b8ac7a
...
@@ -4,6 +4,7 @@ WORKDIR /root/instantid/InstantID
...
@@ -4,6 +4,7 @@ WORKDIR /root/instantid/InstantID
COPY
chenyh/InstantID/InstantID /root/instantid/InstantID/checkpoints
COPY
chenyh/InstantID/InstantID /root/instantid/InstantID/checkpoints
COPY
chenyh/InstantID/antelopev2 /root/instantid/InstantID/models/antelopev2
COPY
chenyh/InstantID/antelopev2 /root/instantid/InstantID/models/antelopev2
COPY
chenyh/InstantID/wangqixun /root/instantid/InstantID/wangqixun
COPY
chenyh/InstantID/wangqixun /root/instantid/InstantID/wangqixun
COPY
chenyh/InstantID/latent-consistency /root/instantid/InstantID/latent-consistency
RUN
apt-get update
&&
apt-get
install
-y
gcc g++
RUN
apt-get update
&&
apt-get
install
-y
gcc g++
RUN
pip
install
-r
gradio_demo/requirements.txt
&&
\
RUN
pip
install
-r
gradio_demo/requirements.txt
&&
\
pip
install
onnxruntime-gpu
==
1.18.0
--extra-index-url
https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
pip
install
onnxruntime-gpu
==
1.18.0
--extra-index-url
https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
...
@@ -13,6 +14,8 @@ RUN pip install -r gradio_demo/requirements.txt && \
...
@@ -13,6 +14,8 @@ RUN pip install -r gradio_demo/requirements.txt && \
#########
#########
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.2.0-python3.10-cuda12.1-ubuntu22.04
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.2.0-python3.10-cuda12.1-ubuntu22.04
RUN
apt-get update
&&
apt-get
install
-y
libglib2.0-0 libgl1-mesa-glx
RUN
apt-get update
&&
apt-get
install
-y
libglib2.0-0 libgl1-mesa-glx
COPY
chenyh/InstantID/frpc_linux_amd64_v0.2 /opt/conda/lib/python3.10/site-packages/gradio/
RUN
chmod
+x /opt/conda/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2
COPY
--from=base /opt/conda/lib/python3.10/site-packages /opt/conda/lib/python3.10/site-packages
COPY
--from=base /opt/conda/lib/python3.10/site-packages /opt/conda/lib/python3.10/site-packages
COPY
--from=base /root/instantid/InstantID /root/InstantID
COPY
--from=base /root/instantid/InstantID /root/InstantID
COPY
--from=base /root/instantid/启动器.ipynb /root/instantid/run.sh /root/
COPY
--from=base /root/instantid/启动器.ipynb /root/instantid/run.sh /root/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment