Skip to content

[PTQ Conformance][FX] Fix Torch Compile OV Model Caching #3459

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

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

anzr299
Copy link
Collaborator

@anzr299 anzr299 commented Apr 24, 2025

Changes

Save Torch Compile using torch compile with aot_autograd tracing.

Reason for changes

To have OV model cached with torch.compile and aot_autograd tracing mechanism similar to the torch.compile used in inference.

Tests

Category Job Status Job Number Notes
PTQ PTQ Running 663

@anzr299 anzr299 requested a review from a team as a code owner April 24, 2025 13:28
@github-actions github-actions bot added the NNCF PTQ Pull requests that updates NNCF PTQ label Apr 24, 2025
@anzr299 anzr299 closed this Apr 24, 2025
@anzr299 anzr299 force-pushed the an/conformance_fix branch from aadc772 to 6d0aacd Compare April 24, 2025 13:32
@anzr299 anzr299 reopened this Apr 24, 2025
@anzr299 anzr299 force-pushed the an/conformance_fix branch from 8b9e37c to b1d3260 Compare April 24, 2025 13:43
@github-actions github-actions bot added documentation Improvements or additions to documentation NNCF PT Pull requests that updates NNCF PyTorch NNCF OpenVINO Pull requests that updates NNCF OpenVINO NNCF ONNX Pull requests that updates NNCF ONNX labels Apr 24, 2025
@anzr299 anzr299 marked this pull request as draft April 24, 2025 13:53
@anzr299 anzr299 closed this Apr 24, 2025
@anzr299 anzr299 force-pushed the an/conformance_fix branch from b1d3260 to 6d0aacd Compare April 24, 2025 14:24
@anzr299 anzr299 reopened this Apr 24, 2025
@github-actions github-actions bot removed documentation Improvements or additions to documentation NNCF PT Pull requests that updates NNCF PyTorch NNCF OpenVINO Pull requests that updates NNCF OpenVINO NNCF ONNX Pull requests that updates NNCF ONNX labels Apr 24, 2025
@daniil-lyakhov
Copy link
Collaborator

@anzr299, does it relate to #3455 ?

@anzr299
Copy link
Collaborator Author

anzr299 commented Apr 25, 2025

Yes, but I found that there is another issue blocking swin model conformance test in PT 2.7 due to unspported aten.zero.default operation. I have created a PR for the same openvinotoolkit/openvino#30329.

I will close this PR as the changes from this Pull request will already be merged in #3455

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NNCF PTQ Pull requests that updates NNCF PTQ
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants