An open API service indexing awesome lists of open source software.

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

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.