• Nicolas Patry's avatar
    Attempting to test automatically the `_keys_to_ignore`. (#20042) · bac2d29a
    Nicolas Patry authored
    
    
    * Attempting to test automatically the `_keys_to_ignore`.
    
    * Style.
    
    * First fix pass.
    
    * Moving test on its own.
    
    * Another batch.
    
    * Second round removing BatchNorm
    
    * Fixing layoutlmv{2,3} + support older Python.
    
    * Disable miss missing warning.
    
    * Removing dodgy additions.
    
    * Big pass.
    
    * mbart.
    
    * More corrections.
    
    * Fixup.
    
    * Updating test_correct_missing_keys
    
    * Add escape hatch for when the head has no extra params so doesn't need
    
    the missing keys check.
    
    * Fixing test.
    
    * Greener.
    
    * Green ! (except for weird splinter bug).
    
    * Adding a test about `named_parameters` usage.
    
    * Shorten message.
    
    * Apply suggestions from code review
    Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
    
    * After rebase modifications.
    
    * More explicit condition checking.
    
    * Fixing slow tests issues.
    
    * Remove extra pdb.
    
    * Remove print.
    
    * Attempt to make failure consistent + fixing roc_bert.
    
    * Removing the seed  (all tests passing with it).
    Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
    bac2d29a
test_modeling_bart.py 91.7 KB