"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "a75c64d80c76c3dc71f735d9197a4a601847e0cd"
Unverified Commit d0f324f1 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix warning for MCTC model (#21049)

parent 9a046cc1
......@@ -40,7 +40,7 @@ from .configuration_mctct import MCTCTConfig
logger = logging.get_logger(__name__)
if not is_torch_less_than_1_9:
if is_torch_less_than_1_9:
logger.warning(
f"You are using torch=={torch.__version__}, but torch>=1.9.0 is required to use MCTCTModel. Please upgrade"
" torch."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment