Skip to content

Commit 4543e15

Browse files
[PT] Remove NAS (#3763)
### Changes Remove NAS algorithm ### Related tickets 176422
1 parent 3a6ede9 commit 4543e15

File tree

85 files changed

+5
-14919
lines changed

Some content is hidden

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

85 files changed

+5
-14919
lines changed

.ci/cspell_dict.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ mxfp
275275
namedtuples
276276
nanmean
277277
nanquantile
278-
natsorted
279278
nbytes
280279
nccl
281280
ncdhw
@@ -360,7 +359,6 @@ ptselu
360359
ptsilu
361360
ptwc
362361
pymodules
363-
pymoo
364362
pyopenvino
365363
pythonpath
366364
qconf

constraints.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ pytest-ordering==0.6
2020
pytest-xdist==3.5.0
2121
pytest-forked==1.6.0
2222
pytest-split==0.9.0
23+
24+
matplotlib==3.10.7

licensing/third-party-programs.txt

Lines changed: 0 additions & 400 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ classifiers = [
3333
]
3434
dependencies = [
3535
"jsonschema>=3.2.0",
36-
"natsort>=7.1.0",
3736
"networkx>=2.6, <3.5.0",
3837
"ninja>=1.10.0.post2, <1.14",
3938
"numpy>=1.24.0, <2.3.0",
@@ -42,7 +41,6 @@ dependencies = [
4241
"pandas>=1.1.5,<2.4",
4342
"psutil",
4443
"pydot>=1.4.1, <=3.0.4",
45-
"pymoo>=0.6.0.1",
4644
"rich>=13.5.2",
4745
"safetensors>=0.4.1",
4846
"scikit-learn>=0.24.0",
@@ -168,7 +166,6 @@ extend-select = [
168166
]
169167

170168
[tool.ruff.lint.per-file-ignores]
171-
"src/nncf/experimental/torch/nas/bootstrapNAS/__init__.py" = ["F401"]
172169
"src/nncf/torch/__init__.py" = ["F401", "E402"]
173170
"tests/**/*.py" = ["F403"]
174171
"tests/**/__init__.py" = ["F401"]

src/nncf/common/accuracy_aware_training/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
Image = Any # Default type for Image.
4242

4343
try:
44-
import matplotlib.pyplot as plt
44+
import matplotlib.pyplot as plt # type: ignore[import-not-found]
4545
import PIL.Image
4646
from PIL.Image import Image
4747

src/nncf/common/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
@contextmanager
1616
def noninteractive_plotting() -> Generator[None, None, None]:
17-
from matplotlib import pyplot as plt
17+
from matplotlib import pyplot as plt # type: ignore[import-not-found]
1818

1919
backend = plt.get_backend()
2020
plt.switch_backend("agg")

src/nncf/config/definitions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
ADAPTIVE_COMPRESSION_LEVEL_TRAINING_MODE_NAME_IN_CONFIG = "adaptive_compression_level"
1616
EARLY_EXIT_TRAINING_MODE_NAME_IN_CONFIG = "early_exit"
1717
EXPERIMENTAL_QUANTIZATION_ALGO_NAME_IN_CONFIG = "experimental_quantization"
18-
BOOTSTRAP_NAS_ALGO_NAME_IN_CONFIG = "bootstrapNAS"
1918
CONST_SPARSITY_ALGO_NAME_IN_CONFIG = "const_sparsity"
2019
FILTER_PRUNING_ALGO_NAME_IN_CONFIG = "filter_pruning"
2120
KNOWLEDGE_DISTILLATION_ALGO_NAME_IN_CONFIG = "knowledge_distillation"

0 commit comments

Comments
 (0)