Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
coderai
Commits
1dafc558
Commit
1dafc558
authored
Mar 09, 2026
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add warning when faster-whisper runs on CPU (no CUDA)
parent
c8f70fe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
coderai
coderai
+6
-0
No files found.
coderai
View file @
1dafc558
...
@@ -3811,6 +3811,12 @@ def main():
...
@@ -3811,6 +3811,12 @@ def main():
multi_model_manager
.
add_model
(
model_key
,
whisper_model
)
multi_model_manager
.
add_model
(
model_key
,
whisper_model
)
print
(
f
"Audio model loaded successfully (faster-whisper)"
)
print
(
f
"Audio model loaded successfully (faster-whisper)"
)
#
Warn
if
using
CPU
(
no
CUDA
available
)
import
torch
if
not
torch
.
cuda
.
is_available
():
print
(
"Note: faster-whisper is running on CPU (no CUDA GPU detected)"
)
print
(
" For GPU acceleration, use NVIDIA GPU with CUDA or wait for Vulkan support."
)
except
ImportError
:
except
ImportError
:
#
faster
-
whisper
not
available
,
will
try
whispercpp
below
#
faster
-
whisper
not
available
,
will
try
whispercpp
below
faster_whisper_failed
=
True
faster_whisper_failed
=
True
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment