Skip to content

Update __init__.py to inclusively handle maximum version#2001

Open
branisk wants to merge 1 commit into
open-mmlab:mainfrom
branisk:main
Open

Update __init__.py to inclusively handle maximum version#2001
branisk wants to merge 1 commit into
open-mmlab:mainfrom
branisk:main

Conversation

@branisk

@branisk branisk commented Oct 28, 2023

Copy link
Copy Markdown

Updated to accept up to version 3.2.0 (the current latest version), instead of accepting only versions less than 3.2.0.

Motivation

Issue #2000, unable to install mmocr using the standard instructions on a fresh environment led me to experience this compatibility issue.

Modification

Changed compatibility in mmocr init.py file to be inclusive of the maximum version (3.2.0), instead of including strictly less than the maximum version.

Updated to accept up to version 3.2.0 (the current latest version), instead of accepting only versions less than 3.2.0.
@CLAassistant

CLAassistant commented Oct 28, 2023

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@taziksh taziksh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. had the same issue locally, worked with this change

@laurencedewaele

Copy link
Copy Markdown

Hi,
Can you please tell us when the problem will be resolved?

@3manifold

Copy link
Copy Markdown

Updated to accept up to version 3.2.0 (the current latest version), instead of accepting only versions less than 3.2.0.

Motivation

Issue #2000, unable to install mmocr using the standard instructions on a fresh environment led me to experience this compatibility issue.

Modification

Changed compatibility in mmocr init.py file to be inclusive of the maximum version (3.2.0), instead of including strictly less than the maximum version.

@branisk Thanks for the submission. Can you provide the torch and cuda version of the system you tested it?

@branisk

branisk commented Oct 22, 2025

Copy link
Copy Markdown
Author

Updated to accept up to version 3.2.0 (the current latest version), instead of accepting only versions less than 3.2.0.

Motivation

Issue #2000, unable to install mmocr using the standard instructions on a fresh environment led me to experience this compatibility issue.

Modification

Changed compatibility in mmocr init.py file to be inclusive of the maximum version (3.2.0), instead of including strictly less than the maximum version.

@branisk Thanks for the submission. Can you provide the torch and cuda version of the system you tested it?

@3manifold Sure!

print(torch.version)
2.6.0+cu124

print(torch.version.cuda)
12.4

print(torchvision.version)
0.21.0+cu124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants