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-V2
Commits
e9414793
"examples/summarization/vscode:/vscode.git/clone" did not exist on "0ae96ff8a7e2d371242452d81bee85da8df202f5"
Commit
e9414793
authored
Nov 22, 2024
by
chenpangpang
Browse files
feat: 解决依赖包版本问题
parent
e9040775
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
Dockerfile
Dockerfile
+7
-4
PhotoMaker-V2/requirements.txt
PhotoMaker-V2/requirements.txt
+2
-1
No files found.
Dockerfile
View file @
e9414793
...
@@ -5,6 +5,10 @@ ARG BRANCH=dcu
...
@@ -5,6 +5,10 @@ ARG BRANCH=dcu
RUN
cd
/root
&&
git clone
-b
$BRANCH
http://developer.hpccube.com/codes/chenpangpang/
$IMAGE
.git
RUN
cd
/root
&&
git clone
-b
$BRANCH
http://developer.hpccube.com/codes/chenpangpang/
$IMAGE
.git
WORKDIR
/root/$IMAGE/$IMAGE_UPPER
WORKDIR
/root/$IMAGE/$IMAGE_UPPER
RUN
pip
install
-r
requirements.txt
RUN
pip
install
-r
requirements.txt
RUN
wget
--no-check-certificate
--content-disposition
\
'https://cancon.hpccube.com:65024/directlink/4/onnxruntime/DAS1.2/onnxruntime-1.15.0+das.opt1.dtk24042-cp310-cp310-manylinux_2_28_x86_64.whl'
&&
\
pip
install
onnxruntime-1.15.0+das.opt1.dtk24042-cp310-cp310-manylinux_2_28_x86_64.whl
RUN
pip
install
numpy
==
1.24.4
'scipy<1.13.0'
opencv-python
==
3.4.
*
#########
#########
# Prod #
# Prod #
...
@@ -12,10 +16,9 @@ RUN pip install -r requirements.txt
...
@@ -12,10 +16,9 @@ RUN pip install -r requirements.txt
FROM
image.sourcefind.cn:5000/dcu/admin/base/jupyterlab-pytorch:2.3.0-ubuntu22.04-dtk24.04.2-py3.10-devel
FROM
image.sourcefind.cn:5000/dcu/admin/base/jupyterlab-pytorch:2.3.0-ubuntu22.04-dtk24.04.2-py3.10-devel
ARG
IMAGE=photomaker-v2
ARG
IMAGE=photomaker-v2
ARG
IMAGE_UPPER=PhotoMaker-V2
ARG
IMAGE_UPPER=PhotoMaker-V2
COPY
chenyh/$IMAGE/frpc_linux_amd64_v0.2 /opt/conda/lib/python3.10/site-packages/gradio/
COPY
chenyh/$IMAGE/frpc_linux_amd64_v* /opt/conda/lib/python3.10/site-packages/gradio/
RUN
chmod
+x /opt/conda/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2
RUN
chmod
+x /opt/conda/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v
*
COPY
chenyh/$IMAGE/openbmb/MiniCPM-V-2_6 /root/$IMAGE_UPPER/openbmb/MiniCPM-V-2_6
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/$IMAGE/$IMAGE_UPPER /root/$IMAGE_UPPER
COPY
--from=base /root/$IMAGE/$IMAGE_UPPER /root/$IMAGE_UPPER
COPY
--from=base /root/$IMAGE/启动器.ipynb /root/$IMAGE/start.sh /root/
COPY
--from=base /root/$IMAGE/启动器.ipynb /root/$IMAGE/start.sh /root/
COPY
--from=base /root/$IMAGE/assets/ /root/assets/
COPY
--from=base /root/$IMAGE/assets/ /root/assets/
\ No newline at end of file
PhotoMaker-V2/requirements.txt
View file @
e9414793
...
@@ -2,4 +2,5 @@ diffusers
...
@@ -2,4 +2,5 @@ diffusers
accelerate
accelerate
omegaconf
omegaconf
peft
peft
insightface==0.7.3
insightface==0.7.3
\ No newline at end of file
gradio
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