Skip to content

Instantly share code, notes, and snippets.

@tomigee
Created March 12, 2024 15:07
Show Gist options
  • Save tomigee/c7d75bc2d4d881abe776ede01292707c to your computer and use it in GitHub Desktop.
Save tomigee/c7d75bc2d4d881abe776ede01292707c to your computer and use it in GitHub Desktop.
Error using pytest command
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: -n --dist=loadfile tests/models/auto/test_modeling_tf_auto.py tests/models/auto/test_modeling_tf_pytorch.py tests/models/bert/test_modeling_tf_bert.py tests/models/dpr/test_modeling_tf_dpr.py tests/models/encoder_decoder/test_modeling_tf_encoder_decoder.py tests/models/rag/test_modeling_tf_rag.py tests/models/vision_text_dual_encoder/test_modeling_tf_vision_text_dual_encoder.py tests/test_modeling_tf_utils.py tests/test_modeling_utils.py tests/utils/test_file_utils.py
inifile: /Users/tomi/DevProjects/transformers/pyproject.toml
rootdir: /Users/tomi/DevProjects/transformers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment