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
PhotoMaker
Commits
d127062d
Commit
d127062d
authored
Jul 30, 2024
by
chenpangpang
Browse files
feat: 优化
parent
c30b122a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
d127062d
...
...
@@ -6,8 +6,6 @@ RUN pip install -r requirements.txt && \
pip
install
onnxruntime-gpu
==
1.18.0
--extra-index-url
https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
# PhotoMaker-base clone from https://github.com/TencentARC/PhotoMaker.git and change pipeline.py to spaces' pipeline.py
RUN
pip
install
git+http://developer.hpccube.com/codes/chenpangpang/PhotoMaker-base.git
COPY
chenyh/photomaker/TencentARC/PhotoMaker /root/photomaker/PhotoMaker/TencentARC/PhotoMaker
COPY
chenyh/photomaker/SG161222/RealVisXL_V4.0 /root/photomaker/PhotoMaker/SG161222/RealVisXL_V4.0
#########
# Prod #
...
...
@@ -15,6 +13,8 @@ COPY chenyh/photomaker/SG161222/RealVisXL_V4.0 /root/photomaker/PhotoMaker/SG161
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.2.0-python3.10-cuda12.1-ubuntu22.04
COPY
chenyh/photomaker/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
chenyh/photomaker/TencentARC/PhotoMaker /root/PhotoMaker/TencentARC/PhotoMaker
COPY
chenyh/photomaker/SG161222/RealVisXL_V4.0 /root/PhotoMaker/SG161222/RealVisXL_V4.0
COPY
--from=base /opt/conda/lib/python3.10/site-packages /opt/conda/lib/python3.10/site-packages
COPY
--from=base /root/photomaker/PhotoMaker /root/PhotoMaker
COPY
--from=base /root/photomaker/启动器.ipynb /root/photomaker/start.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