Skip to content

set PARALLEL_DEVICES default value= 0 #7935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025
Merged

Conversation

giiiiiithub
Copy link
Contributor

@giiiiiithub giiiiiithub commented May 29, 2025

What problem does this PR solve?

it would be fail if PARALLEL_DEVICES = None in OCR class , because it pass 0 to TextDetector and TextRecognizer init method.

and It would be simpler to set 0 as the default value for PARALLEL_DEVICES.

Type of change

  • Refactoring

@giiiiiithub giiiiiithub marked this pull request as ready for review May 29, 2025 03:21
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 29, 2025
@KevinHuSh KevinHuSh added the ci Continue Integration label May 29, 2025
@KevinHuSh KevinHuSh merged commit 6ba5a43 into infiniflow:main May 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continue Integration size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants