[GH-ISSUE #3558] [BUG]: Uploading .mp3 files is prompted: "Failed to load the native whisper model: fetch failed TypeError: fetch failed" #2294

Closed
opened 2026-02-22 18:29:02 -05:00 by yindo · 1 comment
Owner

Originally created by @qqlong66 on GitHub (Mar 28, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3558

How are you running AnythingLLM?

Docker (local)

What happened?

When uploading a .mp3 file through the workspace, it fails. Here is the error message:
[collector] info: [LocalWhisper] Failed to load the native whisper model: fetch failed TypeError: fetch failed
at node:internal/deps/undici/undici:12625:11
at async getModelFile (file:///app/collector/node_modules/@xenova/transformers/src/utils/hub.js:471:24)
at async getModelJSON (file:///app/collector/node_modules/@xenova/transformers/src/utils/hub.js:575:18)
at async Promise.all (index 0)
at async loadTokenizer (file:///app/collector/node_modules/@xenova/transformers/src/tokenizers.js:61:18)
at async AutoTokenizer.from_pretrained (file:///app/collector/node_modules/@xenova/transformers/src/tokenizers.js:4406:50)
at async Promise.all (index 0)
at async loadItems (file:///app/collector/node_modules/@xenova/transformers/src/pipelines.js:3277:5)
at async pipeline (file:///app/collector/node_modules/@xenova/transformers/src/pipelines.js:3217:21)
at async LocalWhisper.client (/app/collector/utils/WhisperProviders/localWhisper.js:159:14)

Are there known steps to reproduce?

No response

Originally created by @qqlong66 on GitHub (Mar 28, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3558 ### How are you running AnythingLLM? Docker (local) ### What happened? When uploading a .mp3 file through the workspace, it fails. Here is the error message: [collector] info: [LocalWhisper] Failed to load the native whisper model: fetch failed TypeError: fetch failed at node:internal/deps/undici/undici:12625:11 at async getModelFile (file:///app/collector/node_modules/@xenova/transformers/src/utils/hub.js:471:24) at async getModelJSON (file:///app/collector/node_modules/@xenova/transformers/src/utils/hub.js:575:18) at async Promise.all (index 0) at async loadTokenizer (file:///app/collector/node_modules/@xenova/transformers/src/tokenizers.js:61:18) at async AutoTokenizer.from_pretrained (file:///app/collector/node_modules/@xenova/transformers/src/tokenizers.js:4406:50) at async Promise.all (index 0) at async loadItems (file:///app/collector/node_modules/@xenova/transformers/src/pipelines.js:3277:5) at async pipeline (file:///app/collector/node_modules/@xenova/transformers/src/pipelines.js:3217:21) at async LocalWhisper.client (/app/collector/utils/WhisperProviders/localWhisper.js:159:14) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:29:02 -05:00
yindo closed this issue 2026-02-22 18:29:02 -05:00
Author
Owner

@timothycarambat commented on GitHub (Mar 28, 2025):

We dont mirror the whisper-tiny ONNX model like we do for the default embedder on our CDN - you get this error because:

  • HuggingFace has you geo/IP banned from using their CDN
  • Internet connection is offline
@timothycarambat commented on GitHub (Mar 28, 2025): We dont mirror the `whisper-tiny` ONNX model like we do for the default embedder on our CDN - you get this error because: - HuggingFace has you geo/IP banned from using their CDN - Internet connection is offline
yindo changed title from [BUG]: Uploading .mp3 files is prompted: "Failed to load the native whisper model: fetch failed TypeError: fetch failed" to [GH-ISSUE #3558] [BUG]: Uploading .mp3 files is prompted: "Failed to load the native whisper model: fetch failed TypeError: fetch failed" 2026-06-05 14:45:42 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2294