ai-voice-cloning/start-oneapi.sh
a-One-Fan 7fedff0b1f Make oneAPI startup its own file
Not sed-ing seems like a better idea, in case the user wants to revert it easily or something, or for updates.
2023-05-02 00:20:34 +03:00

7 lines
155 B
Bash

#!/bin/bash
ulimit -Sn `ulimit -Hn` # ROCm is a bitch
source ./venv/bin/activate
source /opt/intel/oneapi/setvars.sh
python3 ./src/main.py "$@"
deactivate