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
d23c2148
Commit
d23c2148
authored
Mar 09, 2026
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force CPU mode for faster-whisper (CUDA not compatible with Vulkan)
parent
1dafc558
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
coderai
coderai
+6
-5
No files found.
coderai
View file @
d23c2148
...
...
@@ -2464,7 +2464,7 @@ async def create_transcription(
whisper_model = WhisperModel(
model_to_use,
device="c
uda" if torch.cuda.is_available() else "cpu",
device="c
pu", # faster-whisper CUDA doesn'
t
work
with
AMD
/
Vulkan
compute_type
=
compute_type
)
#
Store
in
multi_model_manager
...
...
@@ -3796,13 +3796,14 @@ def main():
model_path = download_model(model_to_use, cache_dir)
model_to_use = model_path
#
Determine
compute
type
compute_type
=
"float16"
if
torch
.
cuda
.
is_available
()
else
"int8"
# Determine compute type - always use CPU on Vulkan backend
# faster-whisper CUDA doesn't work with AMD/Vulkan GPUs
compute_type = "
int8
"
#
Load
the
model
# Load the model
- always use CPU (faster-whisper CUDA doesn't work with AMD/Vulkan)
whisper_model = WhisperModel(
model_to_use,
device
=
"c
uda"
if
torch
.
cuda
.
is_available
()
else
"c
pu"
,
device="
cpu
",
compute_type=compute_type
)
...
...
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