System Info
transformers tip of tree
Who can help?
@amyeroberts
Information
Tasks
Reproduction
pytest tests/ -m "not not_device_test" -p no:cacheprovider
______ ERROR collecting tests/pipelines/test_pipelines_conversational.py _______
ImportError while importing test module '/workspace/transformers/tests/pipelines/test_pipelines_conversational.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/conda/envs/py_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/pipelines/test_pipelines_conversational.py:18: in <module>
from transformers import (
E ImportError: cannot import name 'Conversation' from 'transformers' (/workspace/transformers/src/transformers/__init__.py)
Expected behavior
pytest collection succeeds with no error
System Info
transformers tip of tree
Who can help?
@amyeroberts
Information
Tasks
examplesfolder (such as GLUE/SQuAD, ...)Reproduction
pytest tests/ -m "not not_device_test" -p no:cacheprovider
Expected behavior
pytest collection succeeds with no error