[GH-ISSUE #1262] [BUG]: Multiple download of Xenova/all-MiniLM-L6-v2 on initial embed #787

Closed
opened 2026-02-22 18:21:21 -05:00 by yindo · 0 comments
Owner

Originally created by @alexanderMal on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1262

Originally assigned to: @timothycarambat on GitHub.

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Embedding the first document will download the the embedding model Xenova/all-MiniLM-L6-v2 for each chunk instead of only once. See Log:

[NativeEmbedder] Embedded Chunk 245 of 248
[NativeEmbedder] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB)
[NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://huggingface.co/
[NativeEmbedder - Downloading model] tokenizer_config.json 100%
[NativeEmbedder - Downloading model] config.json 100%
[NativeEmbedder - Downloading model] tokenizer.json 100%
[NativeEmbedder - Downloading model] onnx/model_quantized.onnx 100%
[NativeEmbedder] Embedded Chunk 246 of 248
[NativeEmbedder] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB)
[NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://huggingface.co/
[NativeEmbedder - Downloading model] tokenizer_config.json 100%
[NativeEmbedder - Downloading model] config.json 100%
[NativeEmbedder - Downloading model] tokenizer.json 100%
[NativeEmbedder - Downloading model] onnx/model_quantized.onnx 100%
[NativeEmbedder] Embedded Chunk 247 of 248
[NativeEmbedder] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB)
[NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://huggingface.co/
[NativeEmbedder - Downloading model] tokenizer_config.json 100%
[NativeEmbedder - Downloading model] config.json 100%
[NativeEmbedder - Downloading model] tokenizer.json 100%

Subsequent embeddings use the existing modell.

Are there known steps to reproduce?

  1. Install Desktop App for Windows from the official website.
  2. Start embedding of a big file.
  3. View the logs.
Originally created by @alexanderMal on GitHub (May 2, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1262 Originally assigned to: @timothycarambat on GitHub. ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Embedding the first document will download the the embedding model Xenova/all-MiniLM-L6-v2 for each chunk instead of only once. See Log: ``` [NativeEmbedder] Embedded Chunk 245 of 248 [NativeEmbedder] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB) [NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://huggingface.co/ [NativeEmbedder - Downloading model] tokenizer_config.json 100% [NativeEmbedder - Downloading model] config.json 100% [NativeEmbedder - Downloading model] tokenizer.json 100% [NativeEmbedder - Downloading model] onnx/model_quantized.onnx 100% [NativeEmbedder] Embedded Chunk 246 of 248 [NativeEmbedder] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB) [NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://huggingface.co/ [NativeEmbedder - Downloading model] tokenizer_config.json 100% [NativeEmbedder - Downloading model] config.json 100% [NativeEmbedder - Downloading model] tokenizer.json 100% [NativeEmbedder - Downloading model] onnx/model_quantized.onnx 100% [NativeEmbedder] Embedded Chunk 247 of 248 [NativeEmbedder] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB) [NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://huggingface.co/ [NativeEmbedder - Downloading model] tokenizer_config.json 100% [NativeEmbedder - Downloading model] config.json 100% [NativeEmbedder - Downloading model] tokenizer.json 100% ``` Subsequent embeddings use the existing modell. ### Are there known steps to reproduce? 1) Install Desktop App for Windows from the official website. 2) Start embedding of a big file. 3) View the logs.
yindo added the bugcore-team-onlyDesktop labels 2026-02-22 18:21:21 -05:00
yindo closed this issue 2026-02-22 18:21:21 -05:00
yindo changed title from [BUG]: Multiple download of Xenova/all-MiniLM-L6-v2 on initial embed to [GH-ISSUE #1262] [BUG]: Multiple download of Xenova/all-MiniLM-L6-v2 on initial embed 2026-06-05 14:37:12 -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#787