mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 13:40:27 +02:00
Add onnxruntime-gpu installation for Supertonic GPU acceleration - #163
This commit is contained in:
@@ -323,6 +323,13 @@ if /I "%IS_NVIDIA%"=="true" (
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
echo Installing onnxruntime-gpu for Supertonic GPU acceleration...
|
||||
%PYTHON_CONSOLE_PATH% -m uv pip install --system onnxruntime-gpu
|
||||
if errorlevel 1 (
|
||||
echo Failed to install onnxruntime-gpu.
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
) else (
|
||||
echo CUDA is available on NVIDIA GPU.
|
||||
)
|
||||
@@ -348,6 +355,13 @@ if /I "%IS_NVIDIA%"=="true" (
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
echo Installing onnxruntime-gpu for Supertonic GPU acceleration...
|
||||
%PYTHON_CONSOLE_PATH% -m uv pip install --system onnxruntime-gpu
|
||||
if errorlevel 1 (
|
||||
echo Failed to install onnxruntime-gpu.
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user