[PR #10134] [MERGED] digest files in parallel #39026

Closed
opened 2026-04-22 23:40:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10134
Author: @mxyng
Created: 4/5/2025
Status: Merged
Merged: 4/7/2025
Merged by: @mxyng

Base: mainHead: mxyng/parallel-digest


📝 Commits (1)

📊 Changes

1 file changed (+21 additions, -5 deletions)

View changed files

📝 parser/parser.go (+21 -5)

📄 Description

this significantly improves performance of this function specifically when digesting a directory of many files. this reduces digesting by 90% (20s -> 2s) creating mistralai/Mistral-Small-3.1-24B-Instruct-2503


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/10134 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 4/5/2025 **Status:** ✅ Merged **Merged:** 4/7/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/parallel-digest` --- ### 📝 Commits (1) - [`a3ef614`](https://github.com/ollama/ollama/commit/a3ef614e0488354e8b40e52d0d8ad05340717ef5) digest files in parallel ### 📊 Changes **1 file changed** (+21 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `parser/parser.go` (+21 -5) </details> ### 📄 Description this significantly improves performance of this function specifically when digesting a directory of many files. this reduces digesting by 90% (20s -> 2s) creating [mistralai/Mistral-Small-3.1-24B-Instruct-2503](https://huggingface.co/mistralai/Mistral-Small-3.1-24B-Instruct-2503) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 23:40:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#39026