Skip to content

Commit 68030ca

Browse files
Legacy unused code is removed (#3832)
### Changes * Legacy unused code is removed * Legacy NNCFTensor is removed * get_raw_stat_collector moved to common file `src/nncf/common/tensor_statistics/builders.py` * get_mean_stat_collector moved to common file `src/nncf/common/tensor_statistics/builders.py` for ONNX/Torch * get_mean_stat_collector moved to a file `src/nncf/openvino/statistics/builders.py` for OpenVINO ### Reason for changes To remove unused code and better format the repo --------- Co-authored-by: Alexander Dokuchaev <alexander.dokuchaev@intel.com>
1 parent 88445b3 commit 68030ca

File tree

64 files changed

+163
-3226
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+163
-3226
lines changed

.github/workflows/call_precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
- name: Install uv
120120
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
121121
- name: Install test requirements
122-
run: uv pip install --system -r tests/tools/requirements.txt
122+
run: uv pip install --system . -r tests/tools/requirements.txt
123123
- name: Print installed modules
124124
run: pip list
125125
- name: Run tools precommit test scope

src/nncf/common/collector.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/nncf/common/hook_handle.py

Lines changed: 0 additions & 65 deletions
This file was deleted.

src/nncf/common/plotting.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/nncf/common/quantization/collectors.py

Lines changed: 0 additions & 151 deletions
This file was deleted.

src/nncf/common/quantization/defaults.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
# See the License for the specific language governing permissions and
1010
# limitations under the License.
1111

12-
NUM_INIT_SAMPLES = 256
13-
1412
QUANTIZATION_PRESET = "performance"
1513
QUANTIZE_INPUTS = True
1614
QUANTIZE_OUTPUTS = False

0 commit comments

Comments
 (0)