Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] add quant algo Learned Step Size Quantization #346

Merged
merged 54 commits into from
Nov 11, 2022

Commits on Oct 9, 2022

  1. update

    huangpengsheng committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    34a2d51 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. Fix a bug in make_divisible. (open-mmlab#333)

    fix bug in make_divisible
    
    Co-authored-by: liukai <liukai@pjlab.org.cn>
    LKJacky and liukai authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    6659a34 View commit details
    Browse the repository at this point in the history
  2. [Fix] Fix counter mapping bug (open-mmlab#331)

    * fix counter mapping bug
    
    * move judgment into get_counter_type & update UT
    gaoyang07 authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    a6a337b View commit details
    Browse the repository at this point in the history
  3. [Docs]Add MMYOLO projects link (open-mmlab#334)

    * [Doc] fix typos in en/usr_guides (open-mmlab#299)
    
    * Update README.md
    
    * Update README_zh-CN.md
    
    Co-authored-by: Sheffield <49406546+SheffieldCao@users.noreply.github.com>
    kitecats and SheffieldCao authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    31052ea View commit details
    Browse the repository at this point in the history
  4. [Features]Support MethodInputsRecorder and FunctionInputsRecorder (

    …open-mmlab#320)
    
    * support MethodInputsRecorder and FunctionInputsRecorder
    
    * fix bugs that the model can not be pickled
    
    * WIP: add pytest for ema model
    
    * fix bugs in recorder and delivery when ema_hook is used
    
    * don't register the DummyDataset
    
    * fix pytest
    HIT-cwh authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    972fd8e View commit details
    Browse the repository at this point in the history
  5. updated

    huangpengsheng committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    55c5499 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. retina loss & predict & tesnor DONE

    huangpengsheng committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    8f57a52 View commit details
    Browse the repository at this point in the history
  2. [Feature] Add deit-base (open-mmlab#332)

    * WIP: support deit
    
    * WIP: add deithead
    
    * WIP: fix checkpoint hook
    
    * fix data preprocessor
    
    * fix cfg
    
    * WIP: add readme
    
    * reset single_teacher_distill
    
    * add metafile
    
    * add model to model-index
    
    * fix configs and readme
    HIT-cwh authored Oct 25, 2022
    Configuration menu
    Copy the full SHA
    8c7cdb3 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. [Feature]Feature map visualization (open-mmlab#293)

    * WIP: vis
    
    * WIP: add visualization
    
    * WIP: add visualization hook
    
    * WIP: support razor visualizer
    
    * WIP
    
    * WIP: wrap draw_featmap
    
    * support feature map visualization
    
    * add a demo image for visualization
    
    * fix typos
    
    * change eps to 1e-6
    
    * add pytest for visualization
    
    * fix vis hook
    
    * fix arguments' name
    
    * fix img path
    
    * support draw inference results
    
    * add visualization doc
    
    * fix figure url
    
    * move files
    
    Co-authored-by: weihan cao <HIT-cwh>
    HIT-cwh authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    1e8f886 View commit details
    Browse the repository at this point in the history
  2. [Feature] Add kd examples (open-mmlab#305)

    * support kd for mbv2 and shufflenetv2
    
    * WIP: fix ckpt path
    
    * WIP: fix kd r34-r18
    
    * add metafile
    
    * fix metafile
    
    * delete
    HIT-cwh authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    db32b32 View commit details
    Browse the repository at this point in the history
  3. [Doc] add documents about pruning. (open-mmlab#313)

    * init
    
    * update user guide
    
    * update images
    
    * update
    
    * update How to prune your model
    
    * update how_to_use_config_tool_of_pruning.md
    
    * update doc
    
    * move location
    
    * update
    
    * update
    
    * update
    
    * add mutablechannels.md
    
    * add references
    
    Co-authored-by: liukai <liukai@pjlab.org.cn>
    Co-authored-by: jacky <jacky@xx.com>
    3 people authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    5eaa225 View commit details
    Browse the repository at this point in the history
  4. [Feature] PyTorch version of `PKD: General Distillation Framework for…

    … Object Detectors via Pearson Correlation Coefficient`. (open-mmlab#304)
    
    * add pkd
    
    * add pytest for pkd
    
    * fix cfg
    
    * WIP: support fcos3d
    
    * WIP: support fcos3d pkd
    
    * support mmdet3d
    
    * fix cfgs
    
    * change eps to 1e-6 and add some comments
    
    * fix docstring
    
    * fix cfg
    
    * add assert
    
    * add type hint
    
    * WIP: add readme and metafile
    
    * fix readme
    
    * update metafiles and readme
    
    * fix metafile
    
    * fix pipeline figure
    HIT-cwh authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    86c6153 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2022

  1. for RFC

    fpshuang committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    0fb34d3 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. Customed FX initialize

    fpshuang committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    7e533cb View commit details
    Browse the repository at this point in the history
  2. add UT init

    fpshuang committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    1180cda View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. [Refactor] Refactor Mutables and Mutators (open-mmlab#324)

    * refactor mutables
    
    * update load fix subnet
    
    * add DumpChosen Typehint
    
    * adapt UTs
    
    * fix lint
    
    * Add GroupMixin to ChannelMutator (temporarily)
    
    * fix type hints
    
    * add GroupMixin doc-string
    
    * modified by comments
    
    * fix type hits
    
    * update subnet format
    
    * fix channel group bugs and add UTs
    
    * fix doc string
    
    * fix comments
    
    * refactor diff module forward
    
    * fix error in channel mutator doc
    
    * fix comments
    
    Co-authored-by: liukai <liukai@pjlab.org.cn>
    pppppM and liukai authored Nov 1, 2022
    Configuration menu
    Copy the full SHA
    d37829e View commit details
    Browse the repository at this point in the history
  2. [Fix] Update readme (open-mmlab#341)

    * update kl readme
    
    * update dsnas readme
    
    * fix url
    HIT-cwh authored Nov 1, 2022
    Configuration menu
    Copy the full SHA
    d90c786 View commit details
    Browse the repository at this point in the history
  3. Bump version to 1.0.0rc1 (open-mmlab#338)

    update version
    pppppM authored Nov 1, 2022
    Configuration menu
    Copy the full SHA
    9c567e4 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. init demo

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    fe13c44 View commit details
    Browse the repository at this point in the history
  2. add customer_tracer

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    1f449b4 View commit details
    Browse the repository at this point in the history
  3. add quantizer

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    4c72514 View commit details
    Browse the repository at this point in the history
  4. add fake_quant, loop, config

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    45d40aa View commit details
    Browse the repository at this point in the history
  5. remove CPatcher in custome_tracer

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    fa06c01 View commit details
    Browse the repository at this point in the history
  6. demo_try

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    71ea8e8 View commit details
    Browse the repository at this point in the history
  7. init version

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    f82ec7d View commit details
    Browse the repository at this point in the history
  8. modified base.py

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    10f59a5 View commit details
    Browse the repository at this point in the history
  9. pre-rebase

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    4f90606 View commit details
    Browse the repository at this point in the history
  10. wip of adaround series

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    aca5023 View commit details
    Browse the repository at this point in the history
  11. adaround experiment

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    619bb20 View commit details
    Browse the repository at this point in the history
  12. trasfer to s2

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    b1bfd1e View commit details
    Browse the repository at this point in the history
  13. update api

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    b75b685 View commit details
    Browse the repository at this point in the history
  14. point at sub_reconstruction

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    515325a View commit details
    Browse the repository at this point in the history
  15. pre-checkout

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    376034a View commit details
    Browse the repository at this point in the history
  16. export onnx

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    0ed8622 View commit details
    Browse the repository at this point in the history
  17. add customtracer

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    3241f29 View commit details
    Browse the repository at this point in the history
  18. fix lint

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    8ac6576 View commit details
    Browse the repository at this point in the history
  19. move custom tracer

    humu789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    e3d5933 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. fix import

    humu789 committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    902d9d4 View commit details
    Browse the repository at this point in the history
  2. TDO: UTs

    fpshuang committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    97ccb95 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe55319 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Successfully RUN

    fpshuang committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    1191b29 View commit details
    Browse the repository at this point in the history
  2. update loop

    fpshuang committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    f98702e View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. update loop docstrings

    fpshuang committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    04c2835 View commit details
    Browse the repository at this point in the history
  2. update quantizer docstrings

    fpshuang committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    a7727de View commit details
    Browse the repository at this point in the history
  3. update qscheme docstrings

    fpshuang committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    7a8f719 View commit details
    Browse the repository at this point in the history
  4. update qobserver docstrings

    fpshuang committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    8a17020 View commit details
    Browse the repository at this point in the history
  5. update tracer docstrings

    fpshuang committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    8745593 View commit details
    Browse the repository at this point in the history
  6. update UTs init

    fpshuang committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    c73e477 View commit details
    Browse the repository at this point in the history
  7. update UTs init

    fpshuang committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    f29694b View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. fix review comments

    fpshuang committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    af12bac View commit details
    Browse the repository at this point in the history
  2. merge dev-1.x

    fpshuang committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    8ea1812 View commit details
    Browse the repository at this point in the history
  3. fix CI

    fpshuang committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    f5865fe View commit details
    Browse the repository at this point in the history
  4. fix UTs

    fpshuang committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    44bee5c View commit details
    Browse the repository at this point in the history
  5. update torch requirements

    fpshuang committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    9a7f4a7 View commit details
    Browse the repository at this point in the history