Skip to content

[CI-Test] Fixes but also skips the mT5 tests#20755

Merged
ArthurZucker merged 4 commits intohuggingface:mainfrom
ArthurZucker:fix-tf-mt5-test
Dec 14, 2022
Merged

[CI-Test] Fixes but also skips the mT5 tests#20755
ArthurZucker merged 4 commits intohuggingface:mainfrom
ArthurZucker:fix-tf-mt5-test

Conversation

@ArthurZucker
Copy link
Collaborator

What does this PR do?

Silences the MT5 tests. They are irrelevant as the model behind is T5, which function well.
I want to delete everything but prefer to ask if there is a reason why we have these?
cc @sgugger

@ydshieh
Copy link
Collaborator

ydshieh commented Dec 13, 2022

My opinion is that we should have test file(s) for each model type we have. MT5 has its own modeling file and model type, so we should keep it.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Dec 13, 2022

The documentation is not available anymore as the PR was closed or merged.

@sgugger
Copy link
Collaborator

sgugger commented Dec 13, 2022

mT5 does not really have its own modeling file since it's just T5. I'm happy if the tests for that model are contained to a slow integration test to not bloat the CI, like what is done for similar models (Camembert for instance).

@ydshieh
Copy link
Collaborator

ydshieh commented Dec 13, 2022

I am OK with the decision, but just want to point out that we will lose these models for tiny model creation, which is required for ONNX testing and pipeline testing (in the future). I just want every party involved agree this.

cc @LysandreJik, @Narsil and @lewtun

@LysandreJik
Copy link
Member

Ok with the decision as well!

@ArthurZucker ArthurZucker requested a review from sgugger December 14, 2022 10:53
@ArthurZucker ArthurZucker merged commit 7c9e2f2 into huggingface:main Dec 14, 2022
@ArthurZucker ArthurZucker deleted the fix-tf-mt5-test branch December 14, 2022 14:36
mpierrau pushed a commit to mpierrau/transformers that referenced this pull request Dec 15, 2022
* weight -> weights

* model embedding resize does not work with both v2 and noraml

* remove useless test
gsarti added a commit to gsarti/transformers that referenced this pull request Dec 16, 2022
… add_get_encoder_decoder_fsmt

* 'main' of ssh://github.com/huggingface/transformers: (1433 commits)
  Add Universal Segmentation class + mapping (huggingface#20766)
  Stop calling expand_1d on newer TF versions (huggingface#20786)
  Fix object detection2 (huggingface#20798)
  [Pipeline] skip feature extraction test if in `IMAGE_PROCESSOR_MAPPING` (huggingface#20790)
  Recompile `apex` in `DeepSpeed` CI image (huggingface#20788)
  Move convert_to_rgb to image_transforms module (huggingface#20784)
  Generate: use `GenerationConfig` as the basis for `.generate()` parametrization (huggingface#20388)
  Install video dependency for pipeline CI (huggingface#20777)
  Fixing object detection with `layoutlm` (huggingface#20776)
  [Pipeline] fix failing bloom `pipeline` test (huggingface#20778)
  Patch for FlanT5-XXL 8bit support (huggingface#20760)
  Install vision for TF pipeline tests (huggingface#20771)
  Even more validation. (huggingface#20762)
  Add Swin backbone (huggingface#20769)
  Install `torch-tensorrt 1.3.0` for DeepSpeed CI (huggingface#20764)
  Replaces xxx_required with requires_backends (huggingface#20715)
  [CI-Test] Fixes but also skips the mT5 tests (huggingface#20755)
  Fix attribute error problem  (huggingface#20765)
  [Tests] Improve test_attention_outputs (huggingface#20701)
  Fix missing `()` in some usage of `is_flaky` (huggingface#20749)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants