Skip to content

Conversation

@yiliu30
Copy link
Contributor

@yiliu30 yiliu30 commented Apr 26, 2023

Type of Change

Enhancement
API changed or not: No

Description

Enhance the strategy to avoid repeatedly initializing:

  • adaptor
  • capability
  • tuning space

How has this PR been tested?

Pre-CI, EXT Test

Dependency Change?

None

violetch24 and others added 30 commits March 27, 2023 16:02
Signed-off-by: Cheng, Zixuan <[email protected]>
Signed-off-by: Cheng, Zixuan <[email protected]>
Signed-off-by: Cheng, Zixuan <[email protected]>
Signed-off-by: Cheng, Zixuan <[email protected]>
Conflicts:
	neural_compressor/config.py
* refactor conf

Signed-off-by: yiliu30 <[email protected]>

* copy strategy layer into experimental

Signed-off-by: yiliu30 <[email protected]>

* adjusted the import relationship

Signed-off-by: yiliu30 <[email protected]>

* replace strategy with exp_strategy

Signed-off-by: yiliu30 <[email protected]>

* fixed import bug

Signed-off-by: yiliu30 <[email protected]>

* refactor ut

Signed-off-by: yiliu30 <[email protected]>

* refactor strategy

Signed-off-by: yiliu30 <[email protected]>

* update obj config

Signed-off-by: yiliu30 <[email protected]>

* fixed ut

Signed-off-by: yiliu30 <[email protected]>

* remove set framwork

Signed-off-by: yiliu30 <[email protected]>

* remove some comments

Signed-off-by: yiliu30 <[email protected]>

---------

Signed-off-by: yiliu30 <[email protected]>
Conflicts:
	neural_compressor/conf/pythonic_config.py
	neural_compressor/config.py
	neural_compressor/quantization.py
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: Cheng, Zixuan <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: Cheng, Zixuan <[email protected]>
Signed-off-by: Cheng, Zixuan <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
Signed-off-by: yiliu30 <[email protected]>
@yiliu30 yiliu30 changed the title Enhance the strategy to avoid repeatedly initializing the adaptor Enhance the strategy to avoid repeatedly initializing adaptor Apr 26, 2023
@yiliu30 yiliu30 requested review from lvliang-intel and xin3he April 26, 2023 05:22
@yiliu30
Copy link
Contributor Author

yiliu30 commented May 5, 2023

/Azurepipeline run Model-Test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yiliu30 yiliu30 requested a review from chensuyue May 5, 2023 06:09
@yiliu30
Copy link
Contributor Author

yiliu30 commented May 8, 2023

/Azurepipeline run Model-Test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yiliu30
Copy link
Contributor Author

yiliu30 commented May 8, 2023

@chensuyue, the PR is ready, pls review it.

@chensuyue chensuyue merged commit f3b38b2 into master May 9, 2023
@chensuyue chensuyue deleted the ly/enhance_auto branch May 9, 2023 01:41
yiliu30 pushed a commit to yiliu30/neural-compressor that referenced this pull request Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants