Skip to content
Snippets Groups Projects
  1. Oct 23, 2019
  2. Oct 22, 2019
  3. Oct 07, 2019
    • Guy Jacob's avatar
      Post-Train Quant: Greedy Search + Proper mixed-settings handling (#402) · 9e7ef987
      Guy Jacob authored
      
      * Greedy search script for post-training quantization settings
        * Iterates over each layer in the model in order. For each layer,
          checks a user-defined set of quantization settings and chooses
          the best one based on validation accuracy
        * Provided sample that searches for best activations-clipping
          mode per layer, on image classification models
      
      * Proper handling of mixed-quantization settings in post-train quant:
        * By default, the quantization settings for each layer apply only
          to output quantization
        * Propagate quantization settings for activations tensors through
          the model during execution
        * For non-quantized inputs to layers that require quantized inputs,
          fall-back to quantizing according to the settings used for the
          output
        * In addition, provide mechanism to override inputs quantization
          settings via the YAML configuration file
        * By default all modules are quantized now. For module types that
          don't have a dedicated quantized implementation, "fake"
          quantization is performed
      
      * Misc. Changes
        * Fuse ReLU/ReLU6 to predecessor during post-training quantization
        * Fixes to ACIQ clipping in the half-range case
      
      Co-authored-by: default avatarLev Zlotnik <lev.zlotnik@intel.com>
      Co-authored-by: default avatarGuy Jacob <guy.jacob@intel.com>
      Unverified
      9e7ef987
    • Neta Zmora's avatar
    • Neta Zmora's avatar
      Remove confusing log message · 9f7f6b14
      Neta Zmora authored
      As noted in issue #382, logging when a parameter does not have
      a mask is unnecessary and may confuse users.  Therefore, it is
      removed.
      9f7f6b14
    • Neta Zmora's avatar
      Add logging of `app_cfg` to the logger default · bdab1fa5
      Neta Zmora authored
      `app_cfg` logs the basic execution environment state, and is deemed important
      in most circumstances.
      bdab1fa5
  4. Oct 06, 2019
    • Neta Zmora's avatar
      Low-level pruning API refactor (#401) · 05d5592e
      Neta Zmora authored
      Some refactoring of the low-level pruning API
      
      Added distiller/norms.py - for calculating norms of various sub-tensors.
      
      ranked_structures_pruner.py:
      -Removed l1_magnitude, l2_magnitude. Use instead distiller.norms.l1_norm
      -Lots of refactoring
      -replaced LpRankedStructureParameterPruner.ch_binary_map_to_mask with
      distiller.thresholding.expand_binary_map
      -FMReconstructionChannelPruner.rank_and_prune_channels used L2-norm
      by default and now uses L1-norm (i.e.magnitude_fn=l2_magnitude was
      replaced with magnitude_fn=distiller.norms.l1_norm)
      
      thresholding.py:
      -Delegated lots of the work to the new norms.py.
      -Removed support for 4D (entire convolution layers) since that has not been
      maintained for a longtime. This may break some old scripts that remove entire
      layers.
      -added expand_binary_map() explicitly so others can use it. Might need to
      move to a different file
      -removed threshold_policy()
      
      utils.py:
      -use distiller.norms.xxx for sparsity stats
      Unverified
      05d5592e
    • Bar's avatar
      Change requirements on Tensorflow version (#400) · bbd6fef9
      Bar authored
      Hot-fix for issue that arises with FileWriter class on TF v2.
      Allows only Tensorflow v1.X
      bbd6fef9
    • Guy Jacob's avatar
    • Guy Jacob's avatar
  5. Oct 05, 2019
  6. Sep 27, 2019
  7. Sep 25, 2019
  8. Sep 24, 2019
  9. Sep 23, 2019
    • Neta Zmora's avatar
      User-registered model (#391) · 0036011d
      Neta Zmora authored
      Add a jupyter notebook showing how to register a user's (external) image-classification model.
      Contains fixes to the previous models extension mechanism, and relaxation of the `args' requirements in apputils/image_classifier.py.
      
      apputils/image_classifier.py –
      *when self.logdir is None:
      -use NullLogger
      -skip save_checkpoint
      
      *return training log from run_training_loop()
      *don’t log if script_dir or output_dir are not set.
      *Fix params_nnz_cnt in update_training_scores_history()
      
      data_loggers/logger.py – add NullLogger which does not log
      Unverified
      0036011d
  10. Sep 18, 2019
  11. Sep 10, 2019
  12. Sep 09, 2019
  13. Sep 08, 2019
  14. Sep 06, 2019
  15. Sep 05, 2019
  16. Sep 04, 2019
Loading