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

Add nncf.strip call #28660

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrey-churkin
Copy link
Contributor

Details:

  • Add the nncf.strip() method to the ov.convert_model() for the TF model.

Tickets:

  • 158980

@andrey-churkin andrey-churkin requested a review from a team as a code owner January 24, 2025 11:28
@github-actions github-actions bot added the category: OVC OVC tool label Jan 24, 2025
@andrey-churkin
Copy link
Contributor Author

@alexsu52 @rkazants Please take a look at this

@@ -478,6 +478,12 @@ def _convert(cli_parser: argparse.ArgumentParser, args, python_api_used):
get_jax_decoder(args['input_model'], args)
else:
raise Error("JAX Frontend is not available.")
if model_framework == "tf":
try:
from nncf.tensorflow.strip import strip
Copy link
Member

Choose a reason for hiding this comment

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

please check that nncf module is installed. Only if installed, apply this code

Copy link
Member

@rkazants rkazants left a comment

Choose a reason for hiding this comment

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

@andrey-churkin, @alexsu52, @ilya-lavrenov,

Will it be possible to add GHA job to test interoperability of OV and NNCF? And test this case covered in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants