https://github.com/dahlitzflorian/streamlit-diffusion-pipeline-demo
A little demo showing the usage of a diffusion pipeline in conjunction with streamlit
https://github.com/dahlitzflorian/streamlit-diffusion-pipeline-demo
ai ppc64le stable-diffusion
Last synced: 2 months ago
JSON representation
A little demo showing the usage of a diffusion pipeline in conjunction with streamlit
- Host: GitHub
- URL: https://github.com/dahlitzflorian/streamlit-diffusion-pipeline-demo
- Owner: DahlitzFlorian
- License: apache-2.0
- Created: 2023-11-03T11:02:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-07T08:51:50.000Z (over 1 year ago)
- Last Synced: 2025-01-08T13:27:18.399Z (4 months ago)
- Topics: ai, ppc64le, stable-diffusion
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Streamlit Diffusion Pipeline Demo on IBM POWER
## Description
This little demo shows how to use a diffusion pipeline in conjunction with streamlit on IBM POWER (ppc64le).
## Usage
Clone the repository and build the image:
```shell
$ podman image build -t streamlit-diffusion .
```... and start the container with a volume for the models, a mapped port, and passed GPUs:
```shell
$ podman container run --name streamlit-diffusion --rm -itd --device nvidia.com/gpu=all -v huggingface_cache:/root/.cache/huggingface/hub -p 8501:8501 streamlit-diffusion
```Alternatively, use the `start.sh` script.