1. 27 May, 2020 1 commit
    • Patrick von Platen's avatar
      [Benchmark] Memory benchmark utils (#4198) · 96f57c9c
      Patrick von Platen authored
      
      
      * improve memory benchmarking
      
      * correct typo
      
      * fix current memory
      
      * check torch memory allocated
      
      * better pytorch function
      
      * add total cached gpu memory
      
      * add total gpu required
      
      * improve torch gpu usage
      
      * update memory usage
      
      * finalize memory tracing
      
      * save intermediate benchmark class
      
      * fix conflict
      
      * improve benchmark
      
      * improve benchmark
      
      * finalize
      
      * make style
      
      * improve benchmarking
      
      * correct typo
      
      * make train function more flexible
      
      * fix csv save
      
      * better repr of bytes
      
      * better print
      
      * fix __repr__ bug
      
      * finish plot script
      
      * rename plot file
      
      * delete csv and small improvements
      
      * fix in plot
      
      * fix in plot
      
      * correct usage of timeit
      
      * remove redundant line
      
      * remove redundant line
      
      * fix bug
      
      * add hf parser tests
      
      * add versioning and platform info
      
      * make style
      
      * add gpu information
      
      * ensure backward compatibility
      
      * finish adding all tests
      
      * Update src/transformers/benchmark/benchmark_args.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * Update src/transformers/benchmark/benchmark_args_utils.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * delete csv files
      
      * fix isort ordering
      
      * add out of memory handling
      
      * add better train memory handling
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      96f57c9c
  2. 22 Apr, 2020 1 commit
    • Julien Chaumond's avatar
      Trainer (#3800) · dd9d483d
      Julien Chaumond authored
      * doc
      
      * [tests] Add sample files for a regression task
      
      * [HUGE] Trainer
      
      * Feedback from @sshleifer
      
      * Feedback from @thomwolf + logging tweak
      
      * [file_utils] when downloading concurrently, get_from_cache will use the cached file for subsequent processes
      
      * [glue] Use default max_seq_length of 128 like before
      
      * [glue] move DataTrainingArguments around
      
      * [ner] Change interface of InputExample, and align run_{tf,pl}
      
      * Re-align the pl scripts a little bit
      
      * ner
      
      * [ner] Add integration test
      
      * Fix language_modeling with API tweak
      
      * [ci] Tweak loss target
      
      * Don't break console output
      
      * amp.initialize: model must be on right device before
      
      * [multiple-choice] update for Trainer
      
      * Re-align to 827d6d6e
      dd9d483d
  3. 10 Apr, 2020 1 commit