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

Remove deprecated modules #1872

Merged
merged 8 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 0 additions & 59 deletions .azure-pipelines/code-scan-neural-solution.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .azure-pipelines/scripts/codeScan/pydocstyle/pydocstyle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ log_dir="$work_dir/../scanLog"
mkdir -p $log_dir

scan_path="scan_path.txt"
if [ "${scan_module}" = "neural_solution" ]; then
scan_path="scan_path_neural_solution.txt"
elif [ "${scan_module}" = "neural_insights" ]; then
scan_path="scan_path_neural_insights.txt"
fi

exit_code=0
for line in $(cat ${work_dir}/${scan_path})
Expand Down

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions .azure-pipelines/scripts/codeScan/pylint/pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,6 @@ pip install torch \
pydantic \
protobuf

if [ "${scan_module}" = "neural_solution" ]; then
cd /neural-compressor
python setup.py install

echo "Install Neural Solution ... "
bash /neural-compressor/.azure-pipelines/scripts/install_neural_solution.sh

elif [ "${scan_module}" = "neural_insights" ]; then
cd /neural-compressor
python setup.py install

echo "Install Neural Insights ... "
bash /neural-compressor/.azure-pipelines/scripts/install_neural_insights.sh

fi

echo "[DEBUG] list pipdeptree..."
pip install pipdeptree
pipdeptree
Expand Down
8 changes: 0 additions & 8 deletions .azure-pipelines/scripts/install_neural_insights.sh

This file was deleted.

27 changes: 0 additions & 27 deletions .azure-pipelines/scripts/install_neural_solution.sh

This file was deleted.

26 changes: 0 additions & 26 deletions .azure-pipelines/scripts/ut/run_ncoder.sh

This file was deleted.

41 changes: 0 additions & 41 deletions .azure-pipelines/scripts/ut/run_neural_insights.sh

This file was deleted.

43 changes: 0 additions & 43 deletions .azure-pipelines/scripts/ut/run_neural_solution.sh

This file was deleted.

33 changes: 0 additions & 33 deletions .azure-pipelines/ut-ncoder.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .azure-pipelines/ut-neural-solution.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/checkgroup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ subprojects:
- "Code-Scan (DocStyle Code Scan DocStyle)"
- "Code-Scan (Pylint Code Scan Pylint)"

- id: "Code Scan Neural-Solution Tests workflow"
paths:
- "neural_solution/**"
- "setup.py"
- ".azure-pipelines/code-scan-neural-solution.yml"
checks:
- "Code-Scan-Neural-Solution"
- "Code-Scan-Neural-Solution (Bandit Code Scan Bandit)"
- "Code-Scan-Neural-Solution (DocStyle Code Scan DocStyle)"
- "Code-Scan-Neural-Solution (Pylint Code Scan Pylint)"

- id: "Model Tests workflow"
paths:
- "neural_compressor/**"
Expand Down Expand Up @@ -126,21 +115,6 @@ subprojects:
checks:
- "UT-ITREX"

- id: "Unit Tests Neural-Solution workflow"
paths:
- "neural_solution/**"
- "setup.py"
checks:
- "UT-Neural-Solution"

- id: "Unit Tests Neural-Coder workflow"
paths:
- "neural_coder/**"
- "test/neural_coder/**"
- "setup.py"
checks:
- "UT-Coder"

- id: "Unit Tests 3x-TensorFlow workflow"
paths:
- "neural_compressor/common/**"
Expand Down
18 changes: 1 addition & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ ci:
autofix_prs: true
autoupdate_schedule: quarterly

exclude: |
(?x)^(
conda_meta/.+|
neural_insights/gui.+|
neural_insights/test.+|
neural_solution/frontend/gRPC/proto/neural_solution_pb2.py|
neural_coder/extensions/.+|
neural_coder/examples/.+
)$

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
Expand Down Expand Up @@ -60,13 +50,7 @@ repos:
- id: insert-license
files: |
(?x)^(
neural_solution/.*(py|yaml|yml|sh)|
neural_compressor/.*(py|yaml|yml|sh)|
neural_insights/.*(py|yaml|yml|sh)
)$
exclude: |
(?x)^(
neural_solution/test/.*
neural_compressor/.*(py|yaml|yml|sh)
)$
args:
[
Expand Down
Loading
Loading