Repository navigation
Commit fd6ad32
docs(whisper): cast input features to model dtype in AutoModel example (#49837)
openai/whisper-large-v3-turbo loads in float16 by default, while the
feature extractor emits float32, so the example raised
"Input type (float) and bias type (c10::Half) should be the same".
Fixes #47805
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 9b322e7 commit fd6ad32
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments