You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
When checking repo-consistency by makr repo-consistency Test fails
$ make repo-consistency
python utils/check_copies.py
python utils/check_modular_conversion.py
No differences found for src/transformers/models/llava_next_video/modeling_llava_next_video.py.
No differences found for src/transformers/models/llava_next_video/configuration_llava_next_video.py.
No differences found for src/transformers/models/gemma/modeling_gemma.py.
No differences found for src/transformers/models/gemma/configuration_gemma.py.
No differences found for src/transformers/models/gemma/tokenization_gemma.py.
No differences found for src/transformers/models/instructblipvideo/modeling_instructblipvideo.py.
No differences found for src/transformers/models/instructblipvideo/configuration_instructblipvideo.py.
No differences found for src/transformers/models/gemma2/modeling_gemma2.py.
No differences found for src/transformers/models/gemma2/configuration_gemma2.py.
Differences found between the generated code and src/transformers/models/glm/modeling_glm.py:
1 --- src/transformers/models/glm/modeling_glm.py_generated
2 +++ src/transformers/models/glm/modeling_glm.py
3 @@ -38,7 +38,6 @@
4 )
5 from ...modeling_utils import PreTrainedModel
6 from ...utils import (
7 - add_code_sample_docstrings,
8 add_start_docstrings,
9 add_start_docstrings_to_model_forward,
10 is_flash_attn_2_available,
11 @@ -1223,11 +1222,6 @@
12 self.model.embed_tokens = value
13
14 @add_start_docstrings_to_model_forward(GLM_INPUTS_DOCSTRING)
15 - @add_code_sample_docstrings(
16 - checkpoint=_CHECKPOINT_FOR_DOC,
17 - output_type=TokenClassifierOutput,
18 - config_class=_CONFIG_FOR_DOC,
19 - )
20 def forward(
21 self,
22 input_ids: Optional[torch.LongTensor] = None,
Traceback (most recent call last):
File "/home/h3110fr13nd/Desktop/dev/community/huggingface/transformers/utils/check_modular_conversion.py", line 76, in<module>
raise ValueError("Some diff and their modeling code did not match.")
ValueError: Some diff and their modeling code did not match.
make: *** [Makefile:39: repo-consistency] Error 1
Expected behavior
This should not fail.
The text was updated successfully, but these errors were encountered:
System Info
transformers
version: 4.46.0.dev0Who can help?
@stevhliu @Cyrilvallez
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
When checking repo-consistency by
makr repo-consistency
Test failsExpected behavior
This should not fail.
The text was updated successfully, but these errors were encountered: