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
MiniCPM-V-2_6
Commits
e035a36b
Commit
e035a36b
authored
Nov 14, 2024
by
chenpangpang
Browse files
feat: dcu初始提交
parent
b14040ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
15 deletions
+9
-15
Dockerfile
Dockerfile
+8
-6
MiniCPM-V-2_6/requirements.txt
MiniCPM-V-2_6/requirements.txt
+1
-9
No files found.
Dockerfile
View file @
e035a36b
FROM
image.sourcefind.cn:5000/gpu/admin/base/
jupyterlab-pytorch:2.
1.2-py
3.
1
0-
cuda11.8-
ubuntu22.04 as base
FROM
jupyterlab-pytorch:2.3.0-ubuntu22.04
-dtk24.04.2-py3.10-devel
as base
ARG
IMAGE=minicpm-v-2_6
ARG
IMAGE=minicpm-v-2_6
ARG
IMAGE_UPPER=MiniCPM-V-2_6
ARG
IMAGE_UPPER=MiniCPM-V-2_6
ARG
BRANCH=
gp
u
ARG
BRANCH=
dc
u
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/flash_attn/DAS1.2/flash_attn-2.0.4+das.opt2.dtk24042-cp311-cp311-manylinux_2_28_x86_64.whl'
&&
\
pip
install
flash_attn-2.0.4+das.opt2.dtk24042-cp311-cp311-manylinux_2_28_x86_64.whl
#########
#########
# Prod #
# Prod #
#########
#########
FROM
image.sourcefind.cn:5000/gpu/admin/base/
jupyterlab-pytorch:2.
1.2-py
3.
1
0-
cuda11.8-
ubuntu22.04
FROM
jupyterlab-pytorch:2.3.0-ubuntu22.04
-dtk24.04.2-py3.10-devel
ARG
IMAGE=minicpm-v-2_6
ARG
IMAGE=minicpm-v-2_6
ARG
IMAGE_UPPER=MiniCPM-V-2_6
ARG
IMAGE_UPPER=MiniCPM-V-2_6
COPY
chenyh/$IMAGE/frpc_linux_amd64_v0.
2
/
usr/local
/lib/python3.10/
dist
-packages/gradio/
COPY
chenyh/$IMAGE/frpc_linux_amd64_v0.
3
/
opt/conda
/lib/python3.10/
site
-packages/gradio/
RUN
chmod
+x /
usr/local
/lib/python3.10/
dist
-packages/gradio/frpc_linux_amd64_v0.
2
RUN
chmod
+x /
opt/conda
/lib/python3.10/
site
-packages/gradio/frpc_linux_amd64_v0.
3
COPY
chenyh/$IMAGE/openbmb/MiniCPM-V-2_6 /root/$IMAGE_UPPER/openbmb/MiniCPM-V-2_6
COPY
chenyh/$IMAGE/openbmb/MiniCPM-V-2_6 /root/$IMAGE_UPPER/openbmb/MiniCPM-V-2_6
COPY
--from=base /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
COPY
--from=base /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
COPY
--from=base /root/$IMAGE/$IMAGE_UPPER /root/$IMAGE_UPPER
COPY
--from=base /root/$IMAGE/$IMAGE_UPPER /root/$IMAGE_UPPER
...
...
MiniCPM-V-2_6/requirements.txt
View file @
e035a36b
Pillow
torch
torchvision
transformers
sentencepiece
https://github.com/Dao-AILab/flash-attention/releases/download/v2.6.2/flash_attn-2.6.2+cu118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
opencv-python
decord
decord
#gradio==4.22.0
gradio
gradio==4.41.0
http://thunlp.oss-cn-qingdao.aliyuncs.com/multi_modal/never_delete/modelscope_studio-0.4.0.9-py3-none-any.whl
http://thunlp.oss-cn-qingdao.aliyuncs.com/multi_modal/never_delete/modelscope_studio-0.4.0.9-py3-none-any.whl
accelerate
accelerate
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