Commit da2a7d2
fix(whisper): bound version guard to < 4.8 + guard explicit CUDA devices (#1052)
* fix(whisper): bound ctranslate2 version guard + protect explicit CUDA devices
Addresses two post-merge nits from kwit75 on #1043:
1. Narrow version guard to (4,7) <= ct2 < (4,8) so the restriction
auto-lifts when ctranslate2 4.8+ ships the cuBLAS 12.8.4 fix,
rather than trapping 4.8/4.9/5.x indefinitely.
2. Run _check_gpu_compatible() for explicit device='cuda'/'cuda:N' in
local mode, not just for auto-detect (device=None). The SIGABRT can
occur regardless of how the CUDA device was selected.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* ci: retrigger CI (Windows HuggingFace network flake)
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 08558ce commit da2a7d2
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
216 | 226 | | |
217 | 227 | | |
218 | 228 | | |
| |||
0 commit comments