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
ModelZoo
stablediffusion_v2.1_pytorch
Commits
049f76e2
Commit
049f76e2
authored
May 16, 2024
by
lijian6
Browse files
change docker which has dtk
parent
25e2b8a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
README.md
README.md
+3
-12
docker/Dockerfile
docker/Dockerfile
+1
-1
No files found.
README.md
View file @
049f76e2
...
...
@@ -17,11 +17,12 @@
### Docker(方法一):
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:stablediffusion_v2-1
docker run --rm --shm-size 10g --network=host --name=stablediffussion_v2-1 --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it image.sourcefind.cn:5000/dcu/admin/base/custom:stablediffusion_v2-1 bash
docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:stablediffusion_v2-1
_dtk24.04_xformers0.0.25_py310
docker run --rm --shm-size 10g --network=host --name=stablediffussion_v2-1 --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it image.sourcefind.cn:5000/dcu/admin/base/custom:stablediffusion_v2-1
_dtk24.04_xformers0.0.25_py310
bash
```
### Dockerfile(方法二):
```
cd docker
docker build --no-cache -t stablediffussion:test .
docker run --rm --shm-size 10g --network=host --name=stablediffussion_v2-1 --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it stablediffussion:test bash
```
...
...
@@ -32,16 +33,6 @@ cd /stablediffusion-main
git lfs install
git clone https://huggingface.co/stabilityai/stable-diffusion-2-1-base
```
### 下载 dtk工具
```
cd /opt/
## 下载 dtk
https://cancon.hpccube.com:65024/directlink/1/DTK-24.04/CentOS7.6/DTK-24.04-CentOS7.6-x86_64.tar.gz
解压链接
tar -zxvf DTK-24.04-CentOS7.6-x86_64.tar.gz
ln -s DTK-24.04 dtk
```
## 数据集
无
...
...
docker/Dockerfile
View file @
049f76e2
FROM
image.sourcefind.cn:5000/dcu/admin/base/custom:stablediffusion
FROM
image.sourcefind.cn:5000/dcu/admin/base/custom:stablediffusion
_v2-1_dtk24.04_xformers0.0.25_py310
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