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

Fix TF2.13.0 TF models quantize failed issue due to no attribute 'convert_variables_to_constants' #1162

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

lvliang-intel
Copy link
Collaborator

Type of Change

bug fix
API not changed

Description

TF doesn't support tensorflow.python.framework.graph_util again, must use tensorflow.compat.v1.graph_util

Expected Behavior & Potential Risk

TF unit test and model test can run successfully with tensorflow 2.13.0.

How has this PR been tested?

UT, pre-CI and model test.

Dependency Change?

No.

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
@chensuyue
Copy link
Contributor

/azurepipeline run Code-Scan

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@chensuyue chensuyue left a comment

Choose a reason for hiding this comment

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

Extension test pass

@chensuyue chensuyue merged commit 760a62e into master Aug 22, 2023
41 checks passed
@chensuyue chensuyue deleted the lvl/ILITV-3054 branch August 22, 2023 02:02
XuehaoSun pushed a commit that referenced this pull request Sep 1, 2023
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
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.

None yet

2 participants