1. 07 6月, 2019 1 次提交
    • W
      Add Ligth-NAS for PaddleSlim (#17679) · 5df65e50
      whs 提交于
      * Add auto pruning strategy.
      1. Fix compressor.
      2. Enhence graph executor.
      3. Add SAController
      4. Add auto pruning strategy.
      5. Add unitest for auto pruning strategy.
      test=develop
      
      * Init light-nas
      
      * Add light nas.
      
      * Some fix.
      test=develop
      
      * Fix sa controller.
      test=develop
      
      * Fix unitest of light nas.
      test=develop
      
      * Fix setup.py.in and API.spec.
      test=develop
      
      * Fix unitest.
      1. Fix unitest on windows.
      2. Fix package importing in tests directory.
      
      * 1. Remove unused comments.
      2. Expose eval_epoch option.
      3. Remove unused function in search_agent.
      4. Expose max_client_num to yaml file.
      5. Move flops constraint to on_epoch_begin function
      test=develop
      
      * Fix light nas strategy.
      test=develop
      
      * Make controller server stable.
      test=develop
      
      * 1. Add try exception to compressor.
      2. Remove unitest of light-nas for windows.
      test=develop
      
      * Add comments
      Enhence controller
      test=develop
      
      * Fix comments.
      test=develop
      5df65e50
  2. 29 3月, 2019 1 次提交
  3. 27 3月, 2019 1 次提交
  4. 26 3月, 2019 1 次提交
    • W
      [slim] Add quantization strategy and distillation strategy. (#16408) · e9bec936
      whs 提交于
      * Add fsp operator.
      1 Add unitest.
      2. Add python API.
      3. Add layer test.
      
      * Add quantization strategy.
      1. Add API.
      2. Add unitest.
      
      * Add distillatoin strategy.
      
      * Add unitest config file for quantization
      
      * Fix Copyright
      test=develop
      
      * Fix setup.py
      
      * Fix document of layers.py.
      test=develop
      
      * Fix unitest in python3.
      test=develop
      
      * Fix documents.
      test=develop
      
      * 1. refine fsp op by batched gemm
      2. remove unused import
      test=develop
      
      * Fix test_dist_se_resnext.
      1. disable test distillation.
      2. reset framework.py
      test=develop
      
      * Enable unitest of distillation after fixing Block._clone_variable
      test=develop
      
      * Fix cdn issue.
      test=develop
      e9bec936
  5. 23 3月, 2019 1 次提交
    • W
      [slim] Refine framework of slim and add filter pruning strategy (#16226) · 2e5831f0
      whs 提交于
      * First pr of paddle slim.
      1. Add framework of paddle slim
      2. Add filter pruning strategy
      test=develop
      
      * Rename unitest to tests.
      test=develop
      
      * Add prettytable into requirements.
      test=develop
      
      * Change in_nodes and out_nodes to odered dict.
      test=develop
      
      * Remove distillation.
      test=develop
      
      * Fix API.spec
      test=develop
      
      * Fix unitest.
      test=develop
      
      * Fix unitest in windows.
      test=develop
      
      * Fix unitest in windows.
      test=develop
      
      * Fix unitest.
      test=develop
      
      * Hide some functions.
      test=develop
      
      * Fix python import in python3.5
      test=develop
      
      * Fix compress pass.
      test=develop
      
      * Fix unitest of test_dist_ctr.
      test=develop
      
      * Enhence flops.
      
      * use os.path.join
      
      * Fix pickle for python3
      Fix log and comments.
      test=develop
      
      * 1. Remove feed_reader in compress pass
      2. Fix cache reader
      3. Rename CompressPass to Compressor
      4. Add comments for distiller optimizer
      5. Remove unused pruner currently
      6. Add some comments.
      7. Change API.spec
      test=develop
      
      * Fix pruning in python3.
      test=develop
      
      * Fix unitest in python3.
      test=develop
      
      * Fix format in python3.
      test=develop
      2e5831f0