whisper large v3, arranque run.sh

This commit is contained in:
2025-08-04 19:23:40 +00:00
parent 08cf12beb1
commit 4a22a68ce3
1244 changed files with 235 additions and 207 deletions

16
whisper/run.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
# Ruta al entorno CUDA (ajustá si cambia en el futuro)
export XLA_FLAGS="--xla_gpu_cuda_data_dir=/usr/local/cuda-12.4"
export XLA_TARGET=cuda12
# Cargar variables del .env si existe
if [ -f .env ]; then
echo "Cargando variables desde .env..."
export $(grep -v '^#' .env | xargs)
fi
echo "Modelo: $MODEL"
echo "Cliente: $CLIENT"
exec iex -S mix phx.server