Repository navigation
init python part - #7
Merged
Merged
Conversation
yingfeng
pushed a commit
that referenced
this pull request
Feb 5, 2024
4 tasks done
pinglanyi
added a commit
to pinglanyi/ragflow
that referenced
this pull request
May 21, 2026
- ocr.py: check ONNX Runtime CUDAExecutionProvider directly instead of requiring PyTorch for cuda_is_available(), since OCR uses ONNX not torch. All models (det/rec/layout/tsr) now load on GPU (~10x OCR speedup). - start.sh: add BACKEND_PORT, TASK_EXECUTOR_OFFSET, multi-worker support with configurable MAX_CONCURRENT_TASKS and TASK_EXECUTOR_COUNT. - INSTALL.md: document GPU OCR fix (infiniflow#7) and multi-worker config (infiniflow#8). Co-Authored-By: Claude Opus 4.6 <[email protected]>
4 tasks done
xugangqiang
referenced
this pull request
in xugangqiang/ragflow
Jul 28, 2026
- Scope temperature to 0.2 only for keyword/question extraction; the generic field-extraction path now leaves Temperature unset to use the model default, matching Python's generic Extractor (generator.py). - Merge runAutoKeywords/runAutoQuestions with their *Locked duplicates into single functions taking a *sync.Mutex (nil = sequential); map access stays race-safe under concurrency. - retryInvoker.Invoke now returns a nil response on failure instead of the last partial response. - RetryWithBackoff gains an optional shouldRetry predicate; the extractor chat call uses a lightweight classifier so non-transient errors (auth/4xx/config) stop retrying immediately. The greedy </think> strip already matched Python's re.sub behavior, so no change there. Addresses review items #3, #5, #6, #7 on PR infiniflow#17470.
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Add corresponding issue link with summary if exists -->
Issue link:
What is changed and how it works?
Code changes
Check List
Tests
Side effects
Note for reviewer