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
64d88f4c
Commit
64d88f4c
authored
Jul 26, 2024
by
chenpangpang
Browse files
feat: 新增onnxruntime-gpu和einops依赖
parent
aacfdabb
Pipeline
#1422
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Dockerfile
Dockerfile
+3
-1
PhotoMaker/requirements.txt
PhotoMaker/requirements.txt
+1
-0
No files found.
Dockerfile
View file @
64d88f4c
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.2.0-python3.10-cuda12.1-ubuntu22.04 as base
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.2.0-python3.10-cuda12.1-ubuntu22.04 as base
RUN
cd
/root
&&
git clone
-b
gpu http://developer.hpccube.com/codes/chenpangpang/photomaker.git
RUN
cd
/root
&&
git clone
-b
gpu http://developer.hpccube.com/codes/chenpangpang/photomaker.git
WORKDIR
/root/photomaker/PhotoMaker
WORKDIR
/root/photomaker/PhotoMaker
RUN
pip
install
-r
requirements.txt
RUN
apt-get update
&&
apt-get
install
-y
gcc g++
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/
RUN
pip
install
git+https://github.com/TencentARC/PhotoMaker.git
RUN
pip
install
git+https://github.com/TencentARC/PhotoMaker.git
COPY
chenyh/photomaker/TencentARC/PhotoMaker /root/photomaker/PhotoMaker/TencentARC/PhotoMaker
COPY
chenyh/photomaker/TencentARC/PhotoMaker /root/photomaker/PhotoMaker/TencentARC/PhotoMaker
...
...
PhotoMaker/requirements.txt
View file @
64d88f4c
...
@@ -11,3 +11,4 @@ omegaconf
...
@@ -11,3 +11,4 @@ omegaconf
peft
peft
gradio
gradio
insightface==0.7.3
insightface==0.7.3
einops
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