Skip to content

Instantly share code, notes, and snippets.

@tomigee
Created March 12, 2024 15:01
Show Gist options
  • Save tomigee/797580872acc9959722af3d66f378ecb to your computer and use it in GitHub Desktop.
Save tomigee/797580872acc9959722af3d66f378ecb to your computer and use it in GitHub Desktop.
Error encountered running `make repo-consistency`
python utils/check_copies.py
python utils/check_table.py
python utils/check_dummies.py
python utils/check_repo.py
Checking all models are included.
Checking all models are public.
Checking all models are properly tested.
Checking all objects are properly documented.
Checking all models are in at least one auto class.
utils/check_repo.py:368: UserWarning: Full repo consistency checks require all backends to be installed (with `pip install -e '.[dev]'` in the Transformers repo, the following are missing: PyTorch, Flax. While it's probably fine as long as you didn't make any change in one of those backends modeling files, you should probably execute the command above to be on the safe side.
warnings.warn(
Checking all names in auto name mappings are defined.
Checking all keys in auto name mappings are defined in `CONFIG_MAPPING_NAMES`.
Checking all auto mappings could be imported.
Checking all objects are equally (across frameworks) in the main __init__.
/Users/tomi/DevProjects/transformers/src/transformers/deepspeed.py:23: FutureWarning: transformers.deepspeed module is deprecated and will be removed in a future version. Please import deepspeed modules directly from transformers.integrations
warnings.warn(
/Users/tomi/DevProjects/transformers/src/transformers/generation_tf_utils.py:24: FutureWarning: Importing `TFGenerationMixin` from `src/transformers/generation_tf_utils.py` is deprecated and will be removed in Transformers v4.40. Import as `from transformers import TFGenerationMixin` instead.
warnings.warn(
Checking the DEPRECATED_MODELS constant is up to date.
python utils/check_inits.py
python utils/check_config_docstrings.py
python utils/check_config_attributes.py
python utils/check_doctest_list.py
python utils/update_metadata.py --check-only
Traceback (most recent call last):
File "utils/update_metadata.py", line 338, in <module>
check_pipeline_tags()
File "utils/update_metadata.py", line 317, in check_pipeline_tags
model = model[0]
IndexError: tuple index out of range
make: *** [repo-consistency] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment