forked from mrq/ai-voice-cloning
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.
This commit is contained in:
parent
7261ec2b1f
commit
7fedff0b1f
|
@ -76,6 +76,4 @@ python3 -m pip install -r ./requirements.txt # install local requirements
|
|||
|
||||
rm *.bat
|
||||
|
||||
sed -i 's|bitch|BEATCH\nsource /opt/intel/oneapi/setvars.sh|' ./start.sh
|
||||
|
||||
deactivate
|
6
start-oneapi.sh
Normal file
6
start-oneapi.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/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
|
Loading…
Reference in New Issue
Block a user