Skip to content

Remove unused examples #2230

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

Merged
merged 2 commits into from
Jul 8, 2025
Merged

Remove unused examples #2230

merged 2 commits into from
Jul 8, 2025

Conversation

XuehaoSun
Copy link
Contributor

Type of Change

feature or bug fix or documentation or validation or others
API changed or not

Description

detail description

Expected Behavior & Potential Risk

the expected behavior that triggered by this PR

How has this PR been tested?

how to reproduce the test (including hardware information)

Dependency Change?

any library dependency introduced or removed

XuehaoSun added 2 commits July 1, 2025 18:42
Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
@XuehaoSun XuehaoSun requested review from chensuyue and Copilot July 8, 2025 02:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes a large set of outdated and unused example scripts, notebooks, and configuration entries across NLP and image recognition quantization examples.

  • Deleted static/dynamic PTQ example scripts under onnxrt/nlp/huggingface_model and onnxrt/image_recognition/unet
  • Removed the PyTorch quick-start notebook, benchmark scripts, and related requirements
  • Cleaned up example parameter configuration files and top‐level documentation

Reviewed Changes

Copilot reviewed 43 out of 43 changed files in this pull request and generated no comments.

Show a summary per file
File Description
examples/onnxrt/nlp/huggingface_model/text_classification/quantization/ptq_static/run_quant.sh (and siblings) Removed unused static PTQ shell scripts
examples/onnxrt/nlp/huggingface_model/text_classification/quantization/ptq_dynamic/run_quant.sh (and siblings) Removed unused dynamic PTQ shell scripts
examples/onnxrt/nlp/huggingface_model/code_detection/quantization Deleted CodeBERT quantization examples
examples/onnxrt/image_recognition/unet/quantization/ptq_static/* Deleted Unet quantization example scripts
examples/notebook/pytorch/* Removed PyTorch notebook, benchmark, and requirements
examples/.config/model_params_onnxrt.json Cleaned out parameters for removed examples
examples/.config/model_params_onnxrt_win.json Cleaned out Win config entries
examples/README.md Stripped links to deprecated examples
.pre-commit-config.yaml Updated exclude patterns to drop removed example paths
Comments suppressed due to low confidence (4)

examples/.config/model_params_onnxrt_win.json:29

  • Make sure the remaining JSON after removing obsolete model entries is still valid and no commas or braces are misplaced.
            "input_model": "models/onnx/DUC/ResNet101-DUC-12.onnx",

.pre-commit-config.yaml:110

  • [nitpick] Confirm that the pre-commit exclude patterns still correctly skip only intended files now that many example paths have been removed.
              examples/.+|

examples/.config/model_params_onnxrt.json:485

  • After bulk deletions of JSON entries, ensure that there are no trailing commas or structural issues that would break JSON parsing.
    },

@chensuyue chensuyue requested a review from thuang6 July 8, 2025 02:31
Copy link
Contributor

@thuang6 thuang6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chensuyue chensuyue merged commit 3f02be2 into master Jul 8, 2025
12 checks passed
@chensuyue chensuyue deleted the xuehao/fix_cve branch July 8, 2025 02:35
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.

3 participants