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
SmolVLM
Commits
84b0c105
"host/online_compile/include/logger.hpp" did not exist on "f6edda6119ebbb237dfa6270797b34f960d7b190"
Commit
84b0c105
authored
Dec 13, 2024
by
chenpangpang
Browse files
feat: dcu初始提交
parent
7d685c28
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
Dockerfile
Dockerfile
+3
-3
SmolVLM/requirements.txt
SmolVLM/requirements.txt
+0
-1
启动器.ipynb
启动器.ipynb
+1
-1
No files found.
Dockerfile
View file @
84b0c105
FROM
image.sourcefind.cn:5000/
gp
u/admin/base/jupyterlab-pytorch:2.3.
1-py3.10-cuda11.8-ubuntu22.04
-devel as base
FROM
image.sourcefind.cn:5000/
dc
u/admin/base/jupyterlab-pytorch:2.3.
0-ubuntu22.04-dtk24.04.2-py3.10
-devel as base
ARG
IMAGE=smolvlm
ARG
IMAGE_UPPER=SmolVLM
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
pip
install
-r
requirements.txt
...
...
@@ -10,7 +10,7 @@ RUN pip install -r requirements.txt
#########
# Prod #
#########
FROM
image.sourcefind.cn:5000/
gp
u/admin/base/jupyterlab-pytorch:2.3.
1-py3.10-cuda11.8-ubuntu22.04
-devel
FROM
image.sourcefind.cn:5000/
dc
u/admin/base/jupyterlab-pytorch:2.3.
0-ubuntu22.04-dtk24.04.2-py3.10
-devel
ARG
IMAGE=smolvlm
ARG
IMAGE_UPPER=SmolVLM
COPY
chenyh/$IMAGE/frpc_linux_amd64_* /opt/conda/lib/python3.10/site-packages/gradio/
...
...
SmolVLM/requirements.txt
View file @
84b0c105
accelerate
huggingface_hub
gradio
transformers==4.46.2
启动器.ipynb
View file @
84b0c105
...
...
@@ -11,7 +11,7 @@
"- 原项目地址:https://huggingface.co/spaces/HuggingFaceTB/SmolVLM\n",
"- SmolVLM是一个紧凑的开放式多模态对话机器人,可接受任意序列的图像和文本输入以生成文本输出,可回答有关图像的问题,描述视觉内容,基于多幅图像创建故事,或者在没有视觉输入的情况下充当纯语言模型。\n",
"## 运行资源\n",
"- 项目在
L20显卡,cuda12
.2上进行适配\n",
"- 项目在
异构加速卡AI,dtk24.04
.2上进行适配\n",
"## 使用说明\n",
"- 启动和重启 Notebook 点上方工具栏中的「重启并运行所有单元格」。出现如下内容就算成功了:\n",
" - `Running on local URL: http://0.0.0.0:7860`\n",
...
...
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