"test/srt/test_vision_openai_server_common.py" did not exist on "8fefdd32c7c3e101cf4286643a6d8dbcc73751b7"
  1. 01 Apr, 2020 1 commit
  2. 31 Mar, 2020 1 commit
  3. 19 Mar, 2020 1 commit
    • Patrick von Platen's avatar
      Support T5 Generation (#3228) · bbf26c4e
      Patrick von Platen authored
      
      
      * fix conflicts
      
      * update bart max length test
      
      * correct spelling mistakes
      
      * implemented model specific encode function
      
      * fix merge conflicts
      
      * better naming
      
      * save intermediate state -> need to rethink strucuture a bit
      
      * leave tf problem as it is for now
      
      * current version
      
      * add layers.pop
      
      * remove ipdb
      
      * make style
      
      * clean return cut decoding
      
      * remove ipdbs
      
      * Fix restoring layers in the decoders that doesnt exists.
      
      * push good intermediate solution for now
      
      * fix conflicts
      
      * always good to refuse to merge conflicts when rebasing
      
      * fix small bug
      
      * improve function calls
      
      * remove unused file
      
      * add correct scope behavior for t5_generate
      Co-authored-by: default avatarMorgan Funtowicz <funtowiczmo@gmail.com>
      bbf26c4e
  4. 18 Mar, 2020 1 commit
  5. 17 Mar, 2020 1 commit
  6. 04 Mar, 2020 1 commit
  7. 03 Mar, 2020 5 commits
    • Gunnlaugur Thor Briem's avatar
      fix unused imports and style · 96c49901
      Gunnlaugur Thor Briem authored
      96c49901
    • Gunnlaugur Thor Briem's avatar
      Put @keras_serializable only on layers it works on · 470753bc
      Gunnlaugur Thor Briem authored
      And only run the test on TF*MainLayer classes so marked.
      470753bc
    • Gunnlaugur Thor Briem's avatar
      Use class decorator instead of superclass · 0c716ede
      Gunnlaugur Thor Briem authored
      When supplied by Keras deserialization, the config parameter to initializers
      will be a dict. So intercept it and convert to PretrainedConfig object (and
      store in instance attribute for get_config to get at it) before passing to the
      actual initializer. To accomplish this, and repeat as little code as possible,
      use a class decorator on TF*MainLayer classes.
      0c716ede
    • Gunnlaugur Thor Briem's avatar
      b8da16f3
    • Patrick von Platen's avatar
      Add generate() functionality to TF 2.0 (#3063) · 41341003
      Patrick von Platen authored
      * add first copy past test to tf 2 generate
      
      * add tf top_k_top_p_filter fn
      
      * add generate function for TF
      
      * add generate function for TF
      
      * implemented generate for all models expect transfoXL
      
      * implemented generate for all models expect transfoXL
      
      * implemented generate for all models expect transfoXL
      
      * make style
      
      * change permission of test file to correct ones
      
      * delete ipdb
      
      * delete ipdb
      
      * fix bug and finish simple gpt2 integration test
      
      * clean test file
      
      * clean test file
      
      * make style
      
      * make style
      
      * make style
      
      * make style
      
      * change import style
      
      * change import style
      
      * make style
      
      * make style
      
      * add decorators
      
      * add decorators
      
      * fix tf ctrl bug dim => axis in TF
      
      * make style
      
      * make style
      
      * refactored test file
      
      * refactored test file
      
      * take out test_torch_tf_conversion if nothing is defined
      
      * take out test_torch_tf_conversion if nothing is defined
      
      * remove useless files
      
      * remove useless files
      
      * fix conflicts
      
      * fix conflicts
      
      * fix conflicts
      
      * fix conflicts
      
      * fix conflicts
      
      * solve conflicts
      
      * solve conflicts
      
      * fix conflicts
      
      * fix conflicts
      
      * merge conflicts
      
      * delete ipdb
      
      * exposed top_k_top_p_filtering fns
      
      * delete weirdly created w! file
      
      * add comment to test tf common modeling
      
      * fix conflicts
      
      * fix conflicts
      
      * make style
      
      * merge conflicts
      
      * make style
      
      * change tf.tensor.shape to shape_list(tensor)
      41341003
  8. 02 Mar, 2020 1 commit
    • Julien Chaumond's avatar
      TF GPU CI (#3085) · f169957d
      Julien Chaumond authored
      * debug env
      
      * Restrict TF GPU memory
      
      * Fixup
      
      * One more test
      
      * rm debug logs
      
      * Fixup
      f169957d
  9. 28 Jan, 2020 1 commit
  10. 27 Jan, 2020 1 commit
  11. 06 Jan, 2020 2 commits
  12. 29 Dec, 2019 1 commit
  13. 23 Dec, 2019 1 commit
  14. 22 Dec, 2019 10 commits
  15. 21 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Reformat source code with black. · fa84ae26
      Aymeric Augustin authored
      This is the result of:
      
          $ black --line-length 119 examples templates transformers utils hubconf.py setup.py
      
      There's a lot of fairly long lines in the project. As a consequence, I'm
      picking the longest widely accepted line length, 119 characters.
      
      This is also Thomas' preference, because it allows for explicit variable
      names, to make the code easier to understand.
      fa84ae26
  16. 10 Dec, 2019 2 commits
  17. 09 Dec, 2019 1 commit
  18. 06 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Remove dependency on pytest for running tests (#2055) · 35401fe5
      Aymeric Augustin authored
      * Switch to plain unittest for skipping slow tests.
      
      Add a RUN_SLOW environment variable for running them.
      
      * Switch to plain unittest for PyTorch dependency.
      
      * Switch to plain unittest for TensorFlow dependency.
      
      * Avoid leaking open files in the test suite.
      
      This prevents spurious warnings when running tests.
      
      * Fix unicode warning on Python 2 when running tests.
      
      The warning was:
      
          UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
      
      * Support running PyTorch tests on a GPU.
      
      Reverts 27e015bd.
      
      * Tests no longer require pytest.
      
      * Make tests pass on cuda
      35401fe5
  19. 04 Dec, 2019 1 commit
  20. 26 Nov, 2019 3 commits
  21. 12 Nov, 2019 3 commits