Skip to content

[ci] Regenerate reference files - #4232

Merged
AlexanderDokuchaev merged 4 commits into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/regen_dots
Oct 12, 2026
Merged

AlexanderDokuchaev merged 4 commits into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/regen_dots

Conversation

@AlexanderDokuchaev

@AlexanderDokuchaev AlexanderDokuchaev commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

Regenerated all dot reference files
Add arguments --regen-ref-data and --nncf-debug for all backends in tests/conftest.py
Remove unused fixtures

Reason for changes

The reference files were generated using old version of pydot.
This still works, but when the references are updated, the changes affect the entire file, which makes the review process more difficult.

Related tickets

Tests

@github-actions github-actions Bot added NNCF PT Pull requests that updates NNCF PyTorch NNCF Common Pull request that updates NNCF Common NNCF OpenVINO Pull requests that updates NNCF OpenVINO NNCF ONNX Pull requests that updates NNCF ONNX labels Sep 23, 2026
@AlexanderDokuchaev
AlexanderDokuchaev marked this pull request as ready for review September 24, 2026 05:29
@AlexanderDokuchaev
AlexanderDokuchaev requested a review from a team as a code owner September 24, 2026 05:29
Copilot AI lite review requested due to automatic review settings September 24, 2026 05:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

One or more issues must be addressed before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 High severity

Open (2)
What changed in this PR

Regenerates graph reference files to match current serialization and adds the unified --regen-ref-data pytest option.

Changes:

  • Updated Torch, OpenVINO, ONNX, and common reference graphs.
  • Renamed the ONNX regeneration option.
  • Added regeneration support for common tests.
File Description
tests/​torch/​data/​fx/​yolo11n_sdpa_block.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​transformed/​node_removal_ref.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​transformed/​folded_scalar_clone_model.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​transformed/​folded_model.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​transformed/​folded_model_with_constraints_per_tensor.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​transformed/​folded_model_with_constraints_per_channel.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​topk_model.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​synthetic_transformer.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​MultiBranchesConnectedModelconv2d_conv2d_2.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​MultiBranchesConnectedModelconv2d_conv2d_1_add__add__1.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​MultiBranchesConnectedModelconv2d_add__add.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​MultiBranchesConnectedModelconv2d_add__1.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​MultiBranchesConnectedModelconv2d_1_add__1.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​ConvolutionWithSeveralOutputsconv2d_output.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​ConvolutionWithSeveralOutputsconv2d_conv2d_output_conv2d.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​ConvolutionWithNotTensorBiasModelconv2d_output.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​ConvolutionWithNotTensorBiasModelconv2d_conv2d.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​ConvolutionWithNotTensorBiasModelconv2d_conv2d_output_conv2d.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​ConvolutionWithAllConstantInputsModelconv2d_conv2d.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​ConcatWithReluInputcat_output.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​ConcatWithReluInputcat_conv2d_cat.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​extracted/​ConcatWithInputcat_conv2d_cat.dot Updated as part of this pull request.
tests/​torch/​data/​fx/​embedding_bag_model.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.2/​reference_graphs/​quantized/​SplitBlockModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.2/​reference_graphs/​original_nncf_graph/​SplitBlockModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​YOLO26AttentionBlock.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​SharedConvModel_FC.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​RoPEModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​ParallelEdgesOutputPortIdModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​MatMul2DModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​LinearModel_FC.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​IfModel_main.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​IfModel_2_ignored_scope_main.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​IfModel_2_ignored_scope_else.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​quantized/​ComparisonBinaryModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​YOLO26AttentionBlock.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​WeightsModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​UnifiedEmbeddingModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​SharedConvModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​ScaleShiftReluModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​nf4_FPModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​MatMul2DModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​LSTMSequenceModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​LinearModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​GroupNormalizationModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​f8e5m2_FPModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​f8e4m3_FPModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​exctracted_StatefulModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​exctracted_FPModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​exctracted_ConvModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​DynamicModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​ConvNotBiasModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​ConvModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​ComparisonBinaryModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​built_LinearModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​built_FPModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​built_DynamicModel.dot Updated as part of this pull request.
tests/​openvino/​native/​data/​2026.1/​reference_graphs/​original_nncf_graph/​built_ConvModel.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​weight_sharing_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​weight_propagation_matmul_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​weight_matmul_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​unified_embedding_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​reshape_weight_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​removed_nodes_in_linear_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​one_input_port_quantizable_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​one_convolutional_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​one_convolutional_identity_bias_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​multi_input_output_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​many_input_ports_quantizable_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​int_edges_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​gemm_weight_transpose_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​float64_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​embedding_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​double_input_output_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​attention_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​quantization/​synthetic/​activation_matmul_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​weight_sharing_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​weight_propagation_matmul_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​weight_propagation_conv_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​weight_matmul_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​unified_embedding_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​shape_of_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​reshape_weight_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​output_with_no_parents_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​one_input_port_quantizable_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​one_convolutional_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​one_convolutional_identity_bias_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​non_shape_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​multi_input_output_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​many_input_ports_quantizable_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​linear_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​int_edges_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​gemm_weight_transpose_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​float64_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​embedding_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​double_input_output_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​attention_model.dot Updated as part of this pull request.
tests/​onnx/​data/​reference_graphs/​original_nncf_graph/​synthetic/​activation_matmul_model.dot Updated as part of this pull request.
tests/​onnx/​conftest.py Updated as part of this pull request.
tests/​common/​data/​reference_graphs/​passes/​test_constant_filtering_model_before0.dot Updated as part of this pull request.
tests/​common/​data/​reference_graphs/​passes/​test_constant_filtering_model_after1.dot Updated as part of this pull request.
tests/​common/​data/​reference_graphs/​passes/​test_constant_filtering_model_after0.dot Updated as part of this pull request.
tests/​common/​conftest.py Updated as part of this pull request.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tests/common/conftest.py
Comment thread tests/onnx/conftest.py
@github-actions github-actions Bot added documentation Improvements or additions to documentation NNCF PTQ Pull requests that updates NNCF PTQ labels Oct 12, 2026
@github-actions github-actions Bot removed documentation Improvements or additions to documentation NNCF PTQ Pull requests that updates NNCF PTQ labels Oct 12, 2026
@AlexanderDokuchaev
AlexanderDokuchaev merged commit 353724a into openvinotoolkit:develop Oct 12, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NNCF Common Pull request that updates NNCF Common NNCF ONNX Pull requests that updates NNCF ONNX NNCF OpenVINO Pull requests that updates NNCF OpenVINO NNCF PT Pull requests that updates NNCF PyTorch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants