• Nicolas Patry's avatar
    Fixing tests for Perceiver (#14739) · 546a91ab
    Nicolas Patry authored
    * Adding some slow test to check for perceiver at least from a high level.
    
    * Re-enabling fast tests for Perceiver ImageClassification.
    
    * Perceiver might try to run without Tokenizer (Fast doesn't exist) and
    with FeatureExtractor some text only pipelines.
    
    * Oops.
    
    * Adding a comment for `update_config_with_model_class`.
    
    * Remove `model_architecture` to get `tiny_config`.
    
    * Finalize rebase.
    
    * Smarter way to handle undefined FastTokenizer.
    
    * Remove old code.
    
    * Addressing some nits.
    
    * Don't instantiate `None`.
    546a91ab
test_pipelines_common.py 17.4 KB