Skip to content

Conversation

chensuyue
Copy link
Contributor

@chensuyue chensuyue commented Sep 30, 2025

User description

Type of Change

examples

Description

Example structure refactor

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


PR Type

Enhancement


Description

  • Refactor example structure for better organization

  • Add TensorFlow quantization script

  • Update CI model paths


Diagram Walkthrough

flowchart LR
  A["Refactor Examples"] -- "Organize Files" --> B["Update READMEs"]
  B -- "Add Scripts" --> C["TensorFlow Quantization"]
  C -- "Update CI" --> D["CI Model Paths"]
Loading

File Walkthrough

Relevant files
Enhancement
1 files
main.py
Add TensorFlow quantization script                                             
[link]   
Additional files
101 files
model-test-3x.yml +1/-1     
model-test.yml +1/-1     
env_setup.sh +2/-2     
run_model_trigger_common.sh +2/-2     
README.md +1/-1     
PT_FP8Quant.md +1/-1     
PT_MXQuant.md +1/-1     
benchmark.md +1/-1     
distillation.md +3/-3     
mixed_precision.md +5/-5     
mx_quantization.md +1/-1     
orchestration.md +1/-1     
pruning.md +7/-7     
quantization.md +1/-1     
quantization_layer_wise.md +1/-1     
quantization_weight_only.md +1/-1     
smooth_quant.md +1/-1     
tuning_strategies.md +1/-1     
README.md +0/-169 
requirements.txt +0/-4     
requirements.txt +0/-3     
requirements.txt +0/-2     
README.md +115/-1302
README.md +1356/-0
README.md +26/-0   
README.md +96/-96 
maxabs_measure.json [link]   
maxabs_quant.json [link]   
quant_config.json [link]   
sample_one_step.py [link]   
sample_two_steps.py +50/-50 
README.md +1/-1     
requirements.txt [link]   
test.py [link]   
README.md [link]   
requirements.txt [link]   
test.py [link]   
README.md [link]   
requirements.txt [link]   
test.py [link]   
README.md [link]   
requirements.txt [link]   
test.py [link]   
README.md +1/-1     
requirements.txt [link]   
test.py [link]   
README.md +1/-1     
requirements.txt [link]   
test.py [link]   
README.md [link]   
requirements.txt [link]   
test.py [link]   
README.md [link]   
quant_resnet18.py [link]   
requirements.txt [link]   
README.md [link]   
quant_mistral.py [link]   
requirements.txt [link]   
README.md [link]   
requirements.txt [link]   
test.py [link]   
train.py [link]   
build_imagenet_data.py [link]   
download_and_convert_imagenet.sh [link]   
download_imagenet.sh [link]   
imagenet_lsvrc_2015_synsets.txt [link]   
imagenet_metadata.txt [link]   
README.md [link]   
main.py [link]   
prepare_model.py +35/-35 
requirements.txt [link]   
run_benchmark.sh [link]   
run_quant.sh [link]   
README.md [link]   
main.py [link]   
prepare_model.py [link]   
requirements.txt [link]   
run_benchmark.sh [link]   
run_quant.sh [link]   
README.md [link]   
main.py [link]   
prepare_model.py +35/-35 
requirements.txt [link]   
run_benchmark.sh [link]   
run_quant.sh [link]   
prepare_dataset.sh [link]   
README.md [link]   
main.py [link]   
prepare_model.py +35/-35 
requirements.txt [link]   
run_benchmark.sh [link]   
run_quant.sh [link]   
README.md [link]   
main.py [link]   
prepare_model.py [link]   
requirements.txt [link]   
run_benchmark.sh [link]   
run_quant.sh [link]   
README.md [link]   
main.py [link]   
Additional files not shown

chensuyue and others added 10 commits September 30, 2025 14:19
Signed-off-by: chensuyue <[email protected]>
Signed-off-by: chensuyue <[email protected]>
Signed-off-by: chensuyue <[email protected]>
Signed-off-by: chensuyue <[email protected]>
Signed-off-by: chensuyue <[email protected]>
Signed-off-by: chensuyue <[email protected]>
Signed-off-by: chensuyue <[email protected]>
Signed-off-by: chensuyue <[email protected]>
<th>Domain</th>
<th>Approach</th>
<th>Method </th>
<th>Examples</th>
Copy link
Contributor

Choose a reason for hiding this comment

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

For new examples for Llama3, Llama4, Flux will be added to this table later?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, let's do this in another PR.

@chensuyue chensuyue merged commit 1277d2d into master Oct 10, 2025
31 of 36 checks passed
@chensuyue chensuyue deleted the suyue/examples branch October 10, 2025 05:59
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