applied-ai-018's picture
Add files using upload-large-folder tool
feb6f45 verified
raw
history blame contribute delete
717 Bytes
version: '3.3'
services:
stable-diffusion:
image: stable-diffusion-pytorch-installer-1.13.1
build:
context: .
network: host
args:
BASE_IMAGE: "${BASE_IMAGE}"
container_name: stable_diffusion_demo
runtime: habana
environment:
- HABANA_VISIBLE_DEVICES=all
- OMPI_MCA_btl_vader_single_copy_mechanism=none
- MODEL_GARDEN_ROOT=/model_garden/
cap_add:
- SYS_ADMIN
ipc: host
network_mode: host
working_dir: /launch
volumes:
- ./ssh:/root/.ssh/
- ./launch:/launch
- ${STABLE_DIFFUSION_HOST}:${STABLE_DIFFUSION_DIR}:ro
- ${MODEL_GARDEN_HOST}:/model_garden
- /etc/habanalabs/:/etc/habanalabs/:ro
tty: true