#! /usr/bin/env bash
# cnmon
image=harbor-contest.4pd.io/zhanghao/diffusers:mlu370-0.2
device_id=2
docker run -it -v /root/zhanghao:/workspace -v /mnt:/mnt --device=/dev/cambricon_dev$device_id:/dev/cambricon_dev0 --device=/dev/cambricon_ctl:/dev/cambricon_ctl $image bash