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

[mypy] extend mypy check #3154

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

AlexanderDokuchaev
Copy link
Collaborator

Changes

Added some files to mypy check and fix errors:

  • nncf/quantization/passes.py
  • nncf/quantization/advanced_parameters.py
  • nncf/quantization/range_estimator.py
  • nncf/quantization/telemetry_extractors.py

@AlexanderDokuchaev AlexanderDokuchaev requested a review from a team as a code owner December 16, 2024 23:56
@github-actions github-actions bot added NNCF Common Pull request that updates NNCF Common NNCF PTQ Pull requests that updates NNCF PTQ labels Dec 16, 2024
nncf/common/graph/graph.py Show resolved Hide resolved
nncf/common/graph/graph.py Outdated Show resolved Hide resolved
nncf/quantization/advanced_parameters.py Show resolved Hide resolved
@AlexanderDokuchaev AlexanderDokuchaev force-pushed the ad/mypy_quant1 branch 3 times, most recently from 3980c9c to cbf5bca Compare December 24, 2024 03:58
Copy link
Contributor

@alexsu52 alexsu52 left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -232,16 +232,16 @@ class AdvancedQuantizationParameters:
"""

# General parameters
overflow_fix: OverflowFix = None
overflow_fix: Optional[OverflowFix] = None
Copy link
Contributor

Choose a reason for hiding this comment

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

Please, update type in the docstring.

@github-actions github-actions bot added the API Public API-impacting changes label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Public API-impacting changes NNCF Common Pull request that updates NNCF Common NNCF PTQ Pull requests that updates NNCF PTQ
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants