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
Kolors-FaceID
Commits
380c862e
Commit
380c862e
authored
Nov 05, 2024
by
chenpangpang
Browse files
feat: 修改dcu的依赖
parent
ff2df64e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
15 deletions
+12
-15
Dockerfile
Dockerfile
+11
-8
Kolors-FaceID/requirements.txt
Kolors-FaceID/requirements.txt
+1
-7
No files found.
Dockerfile
View file @
380c862e
FROM
image.sourcefind.cn:5000/gpu/admin/base/
jupyterlab-pytorch:2.
2.0-python
3.
1
0-
cuda12.1-
ubuntu22.04 as base
FROM
jupyterlab-pytorch:2.3.0-ubuntu22.04
-dtk24.04.2-py3.10-devel
as base
ARG
IMAGE=kolors-faceid
ARG
IMAGE_UPPER=Kolors-FaceID
ARG
BRANCH=
gp
u
ARG
BRANCH=
dc
u
RUN
cd
/root
&&
git clone
-b
$BRANCH
http://developer.hpccube.com/codes/chenpangpang/
$IMAGE
.git
WORKDIR
/root/$IMAGE/$IMAGE_UPPER
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
-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
#########
# Prod #
#########
FROM
image.sourcefind.cn:5000/gpu/admin/base/
jupyterlab-pytorch:2.
2.0-python
3.
1
0-
cuda12.1-
ubuntu22.04
FROM
jupyterlab-pytorch:2.3.0-ubuntu22.04
-dtk24.04.2-py3.10-devel
ARG
IMAGE=kolors-faceid
ARG
IMAGE_UPPER=Kolors-FaceID
COPY
chenyh/$IMAGE/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/$IMAGE/frpc_linux_amd64_v0.
3
/opt/conda/lib/python3.10/site-packages/gradio/
RUN
chmod
+x /opt/conda/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.
3
COPY
chenyh/$IMAGE/Kwai-Kolors/Kolors /root/$IMAGE_UPPER/Kwai-Kolors/Kolors
COPY
chenyh/$IMAGE/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus /root/$IMAGE_UPPER/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus
COPY
chenyh/$IMAGE/antelopev2 /root/$IMAGE_UPPER/.insightface/models/antelopev2
RUN
apt-get update
&&
apt
install
-y
libgl1-mesa-glx
libglib2.0-dev
RUN
apt-get update
&&
apt
install
-y
libglib2.0-dev
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/启动器.ipynb /root/$IMAGE/start.sh /root/$IMAGE/assets /root/
\ No newline at end of file
Kolors-FaceID/requirements.txt
View file @
380c862e
accelerate
diffusers
invisible_watermark
torch
transformers
sentencepiece
torchvision
timm
einops
scipy
insightface
opencv-python
gradio==3.40.0
\ No newline at end of file
gradio
\ No newline at end of file
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