Skip to content

Commit

Permalink
docker cpu only #120
Browse files Browse the repository at this point in the history
  • Loading branch information
abdeladim-s committed Mar 7, 2024
1 parent 91ec195 commit 38959f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ Simple examples can be found in the [examples](https://github.com/abdeladim-s/su
1. Make sure that you have `docker` installed.
2. Clone and `cd` to the repository
3. ```docker compose build```
4. ```docker compose run -p 8501:8501 -v /path/to/your/media_files/folder:/media_files subsai-webui```
5. You can access your media files through the mounted `media_files` folder.
4. ```docker compose run -p 8501:8501 -v /path/to/your/media_files/folder:/media_files subsai-webui # subsai-webui-cpu for cpu only```
6. You can access your media files through the mounted `media_files` folder.
# Notes
* If you have an NVIDIA graphics card, you may need to install [cuda](https://docs.nvidia.com/cuda/#installation-guides) to use the GPU capabilities.
Expand Down
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ services:
reservations:
devices:
- driver: nvidia
capabilities: [ gpu ]
capabilities: [ gpu ]

subsai-webui-cpu:
build:
context: .
dockerfile: Dockerfile

0 comments on commit 38959f8

Please sign in to comment.