From ea8fc74ed28f8ab68a1783d37cbe0a39539a2fe4 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Wed, 4 Sep 2024 17:45:59 +0800 Subject: [PATCH] add start-podman.sh --- start-podman.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 start-podman.sh diff --git a/start-podman.sh b/start-podman.sh new file mode 100755 index 0000000..1b052cb --- /dev/null +++ b/start-podman.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +podman run -d --name whisper-fastapi \ + --restart unless-stopped \ + --name whisper-fastapi \ + -v ~/.cache/huggingface:/root/.cache/huggingface \ + --device nvidia.com/gpu=all --security-opt=label=disable \ + --gpus all \ + -p 5000:5000 \ + docker.io/heimoshuiyu/whisper-fastapi:latest \ + --model large-v2