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

Update references #3058

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Conversation

KodiaqQ
Copy link
Collaborator

@KodiaqQ KodiaqQ commented Nov 4, 2024

Changes

  • Fixed old issues in models.
  • Updated reference.

Reason for changes

  • openvino-nightly.

Related tickets

  • 156604

Tests

  • windows_precommit_openvino/63/ - passed
  • ubuntu20_precommit_openvino/107/ - passed

@github-actions github-actions bot added the NNCF OpenVINO Pull requests that updates NNCF OpenVINO label Nov 4, 2024
@KodiaqQ KodiaqQ marked this pull request as ready for review November 5, 2024 10:09
@KodiaqQ KodiaqQ requested a review from a team as a code owner November 5, 2024 10:09
@KodiaqQ
Copy link
Collaborator Author

KodiaqQ commented Nov 5, 2024

@openvinotoolkit/nncf-maintainers, can someone review this, please. Thank you.

@KodiaqQ KodiaqQ requested a review from andreyanufr November 5, 2024 10:10
@@ -1023,7 +1023,7 @@ def _create_ov_model(self, is_int8=False, with_multiply=False, n_layers=8):
alpha = np.array([1.5], dtype=np.float32)
alpha = opset.constant(alpha, dtype=np.float32)
lambda_value = np.array([1.5], dtype=np.float32)
lambda_value = opset.constant(alpha, dtype=np.float32)
lambda_value = opset.constant(lambda_value, dtype=np.float32)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@andreyanufr, could you comment please, was the lambda value replaced by alpha intentionally or by mistake? With the newest OV version, it causes the issue TypeError: The necessary overload for constant was not found

Copy link
Collaborator

Choose a reason for hiding this comment

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

It was mistake. I think we can use lambda_value = opset.constant(lambda_value, dtype=np.float32) or remove lambda_value = np.array([1.5], dtype=np.float32). Both changes are valid.

@MaximProshin MaximProshin self-requested a review November 5, 2024 10:34
@KodiaqQ KodiaqQ merged commit 34cb441 into openvinotoolkit:develop Nov 5, 2024
14 checks passed
@KodiaqQ KodiaqQ deleted the nm/references_update branch November 6, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Freeze NNCF OpenVINO Pull requests that updates NNCF OpenVINO
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants