Commit bf512873 authored by wangwei990215's avatar wangwei990215
Browse files

Update README.md

parent 6dd28ce9
...@@ -28,6 +28,7 @@ pip install -r requirements.txt ...@@ -28,6 +28,7 @@ pip install -r requirements.txt
### Dockerfile(方法二) ### Dockerfile(方法二)
此处提供dockerfile的使用方法:<br> 此处提供dockerfile的使用方法:<br>
``` ```
cd ./docker
docker build --no-cache -t stablediffusion_v2:latest docker build --no-cache -t stablediffusion_v2:latest
docker run -it -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal:/opt/hyhal:ro --shm-size=32G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name docker_name imageID bash docker run -it -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal:/opt/hyhal:ro --shm-size=32G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name docker_name imageID bash
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment