whisper large v3, arranque run.sh
This commit is contained in:
16
whisper/run.sh
Executable file
16
whisper/run.sh
Executable 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
|
Reference in New Issue
Block a user