Skip to content

Commit 74a4641

Browse files
authored
remove unnecessary CI (#1966)
Signed-off-by: Sun, Xuehao <[email protected]>
1 parent b99abae commit 74a4641

File tree

10 files changed

+9
-314
lines changed

10 files changed

+9
-314
lines changed

.azure-pipelines/code-scan.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,3 @@ stages:
4444
parameters:
4545
codeScanFileName: "bandit"
4646
uploadPath: "bandit.log"
47-
48-
- stage: PylintCodeScan
49-
displayName: Pylint Code Scan
50-
dependsOn: []
51-
jobs:
52-
- job: Pylint
53-
displayName: Pylint
54-
steps:
55-
- template: template/code-scan-template.yml
56-
parameters:
57-
codeScanFileName: "pylint"
58-
uploadPath: "pylint.json"

.azure-pipelines/docker/DockerfileCodeScan.devel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
3030

3131
RUN ln -sf $(which python3) /usr/bin/python
3232

33-
RUN python -m pip install --no-cache-dir pylint==2.12.1\
33+
RUN python -m pip install --no-cache-dir \
3434
bandit\
3535
pyspelling\
3636
pydocstyle

.azure-pipelines/scripts/codeScan/pylint/pylint.sh

Lines changed: 0 additions & 72 deletions
This file was deleted.
Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
#!/bin/bash
22

33
echo "export FWs version..."
4-
test_mode=$1
5-
6-
if [ "$test_mode" == "coverage" ] || [ "$test_mode" == "latest" ]; then
7-
export tensorflow_version='2.15.0-official'
8-
export pytorch_version='2.3.0+cpu'
9-
export torchvision_version='0.18.0+cpu'
10-
export ipex_version='2.3.0+cpu'
11-
export onnx_version='1.16.0'
12-
export onnxruntime_version='1.18.0'
13-
export mxnet_version='1.9.1'
14-
else
15-
export tensorflow_version='2.15.0-official'
16-
export pytorch_version='2.2.1+cpu'
17-
export torchvision_version='0.17.1+cpu'
18-
export ipex_version='2.2.0+cpu'
19-
export onnx_version='1.15.0'
20-
export onnxruntime_version='1.17.1'
21-
export mxnet_version='1.9.1'
22-
fi
23-
24-
25-
26-
27-
4+
export tensorflow_version='2.15.0-official'
5+
export pytorch_version='2.3.0+cpu'
6+
export torchvision_version='0.18.0+cpu'
7+
export ipex_version='2.3.0+cpu'
8+
export onnx_version='1.16.0'
9+
export onnxruntime_version='1.18.0'
10+
export mxnet_version='1.9.1'

.azure-pipelines/scripts/models/env_setup.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,6 @@ if [[ "${fwk_ver}" != "latest" ]]; then
100100
elif [[ "${framework}" == "onnxrt" ]]; then
101101
pip install onnx==1.15.0
102102
pip install onnxruntime==${fwk_ver}
103-
elif [[ "${framework}" == "mxnet" ]]; then
104-
pip install numpy==1.23.5
105-
echo "re-install pycocotools resolve the issue with numpy..."
106-
pip uninstall pycocotools -y
107-
pip install --no-cache-dir pycocotools
108-
pip install mxnet==${fwk_ver}
109103
fi
110104
fi
111105

@@ -118,9 +112,6 @@ if [ -f "requirements.txt" ]; then
118112
sed -i '/tensorflow==/d;/tensorflow$/d' requirements.txt
119113
sed -i '/^intel-tensorflow/d' requirements.txt
120114
fi
121-
if [ "${framework}" == "mxnet" ]; then
122-
sed -i '/mxnet==/d;/mxnet$/d;/mxnet-mkl==/d;/mxnet-mkl$/d' requirements.txt
123-
fi
124115
if [ "${framework}" == "pytorch" ]; then
125116
sed -i '/torch==/d;/torch$/d;/torchvision==/d;/torchvision$/d' requirements.txt
126117
fi

.azure-pipelines/scripts/models/run_model_trigger_common.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ if [ "${mode}" == "env_setup" ]; then
8080
elif [ "${mode}" == "tuning" ]; then
8181
if [ "${framework}" == "onnxrt" ]; then
8282
output_model=${log_dir}/${model}/${framework}-${model}-tune.onnx
83-
elif [ "${framework}" == "mxnet" ]; then
84-
output_model=${log_dir}/${model}/resnet50_v1
8583
elif [ "${framework}" == "tensorflow" ]; then
8684
output_model=${log_dir}/${model}/${framework}-${model}-tune.pb
8785
fi
@@ -140,8 +138,6 @@ elif [ "${mode}" == "int8_benchmark" ]; then
140138
$BOLD_YELLOW && echo "====== run benchmark int8 =======" && $RESET
141139
if [[ "${framework}" == "onnxrt" ]]; then
142140
model_name="${log_dir}/${model}/${framework}-${model}-tune.onnx"
143-
elif [[ "${framework}" == "mxnet" ]]; then
144-
model_name="${log_dir}/${model}"
145141
elif [[ "${framework}" == "tensorflow" ]]; then
146142
model_name="${log_dir}/${model}/${framework}-${model}-tune.pb"
147143
elif [[ "${framework}" == "pytorch" ]]; then

.azure-pipelines/scripts/models/run_mxnet_models_trigger.sh

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

.azure-pipelines/ut-basic-no-cover.yml

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

.github/checkgroup.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ subprojects:
1111
- "Code-Scan"
1212
- "Code-Scan (Bandit Code Scan Bandit)"
1313
- "Code-Scan (DocStyle Code Scan DocStyle)"
14-
- "Code-Scan (Pylint Code Scan Pylint)"
1514

1615
- id: "Model Tests workflow"
1716
paths:
@@ -79,27 +78,6 @@ subprojects:
7978
- "UT-Basic (Unit Test other basic case Test other basic case)"
8079
- "UT-Basic (Unit Test other cases baseline Test other cases baseline)"
8180

82-
- id: "Unit Tests basic no coverage workflow"
83-
paths:
84-
- "neural_compressor/**"
85-
- "test/**"
86-
- "setup.py"
87-
- "requirements.txt"
88-
- ".azure-pipelines/scripts/ut/**"
89-
- "!test/3x/**"
90-
- "!neural_compressor/common/**"
91-
- "!neural_compressor/torch/**"
92-
- "!neural_compressor/tensorflow/**"
93-
- "!neural_compressor/onnxrt/**"
94-
- "!.azure-pipelines/scripts/ut/3x/**"
95-
checks:
96-
- "UT-Basic-No-Coverage"
97-
- "UT-Basic-No-Coverage (Unit Test FWKs adaptor Test FWKs adaptor)"
98-
- "UT-Basic-No-Coverage (Unit Test Pruning Test PyTorch Pruning)"
99-
- "UT-Basic-No-Coverage (Unit Test Pruning Test TensorFlow Pruning)"
100-
- "UT-Basic-No-Coverage (Unit Test User facing API Test User facing API)"
101-
- "UT-Basic-No-Coverage (Unit Test other basic case Test other basic case)"
102-
10381
- id: "Unit Tests ITREX workflow"
10482
paths:
10583
- "neural_compressor/**"

docs/source/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Intel® Neural Compressor use [Azure DevOps](https://learn.microsoft.com/en-us/a
4848
And generally use [Azure Cloud Instance](https://azure.microsoft.com/en-us/pricing/purchase-options/pay-as-you-go) to deploy pipelines, e.g. Standard E16s v5.
4949
| Test Name | Test Scope | Test Pass Criteria |
5050
|-------------------------------|-----------------------------------------------|---------------------------|
51-
| Code Scan | Pylint/Bandit/CopyRight/DocStyle/SpellCheck | PASS |
51+
| Code Scan | Bandit/CopyRight/DocStyle/SpellCheck | PASS |
5252
| [DCO](https://github.com/apps/dco/) | Use `git commit -s` to sign off | PASS |
5353
| Unit Test | Pytest scripts under [test](/test) | PASS (No failure, No core dump, No segmentation fault, No coverage drop) |
5454
| Model Test | Pytorch + TensorFlow + ONNX Runtime + MXNet | PASS (Functionality pass, FP32/INT8 No performance regression) |

0 commit comments

Comments
 (0)