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 MP tutorial arguments after release #1191

Merged
merged 3 commits into from
Aug 26, 2024

Conversation

ofirgo
Copy link
Collaborator

@ofirgo ofirgo commented Aug 26, 2024

Pull Request Description:

New release changes some mixed precision argument name, so the tutorial which uses the latest release must be fixed.

Checklist before requesting a review:

  • I set the appropriate labels on the pull request.
  • I have added/updated the release note draft (if necessary).
  • I have updated the documentation to reflect my changes (if necessary).
  • All function and files are well documented.
  • All function and classes have type hints.
  • There is a licenses in all file.
  • The function and variable names are informative.
  • I have checked for code duplications.
  • I have added new unittest (if necessary).

@@ -515,7 +515,7 @@
"# while the bias will not)\n",
"# examples:\n",
"# weights_compression_ratio = 0.75 - About 0.75 of the model's weights memory size when quantized with 8 bits.\n",
"ResourceUtilization = mct.core.ResourceUtilization(ResourceUtilization_data.weights_memory * 0.75)"
"ResourceUtilization = mct.core.ResourceUtilization(resource_utilization_data.weights_memory * 0.75)"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please rename this variable. Also, when calling to pytorch_post_training_quantization fix the argument name to target_resource_utilization.

Ofir Gordon added 2 commits August 26, 2024 12:56
@reuvenperetz reuvenperetz merged commit 6e1f8d7 into sony:main Aug 26, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants