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 pytest warnings #2813

Merged
merged 12 commits into from
Jul 16, 2024
Merged

Conversation

AlexanderDokuchaev
Copy link
Collaborator

@AlexanderDokuchaev AlexanderDokuchaev commented Jul 15, 2024

Changes

Fix warnings in tests:

  • PytestCollectionWarning: cannot collect test class 'Test' because it has a _init constructor
  • UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
  • UserWarning: Arguments other than a weight enum or None for 'weights' are deprecated since 0.13 and may be removed in the future.
  • Add pytest-dependency to requirements for common tests
  • Remove xfail for expected exception in tests/common/quantization/test_minmax.py::test_mode_against_default_map
  • Fix marks for onnx tests

Reason for changes

Reduce output log.

Related tickets

138690

@AlexanderDokuchaev AlexanderDokuchaev requested a review from a team as a code owner July 15, 2024 20:06
@github-actions github-actions bot added NNCF TF Pull requests that updates NNCF TensorFlow NNCF PT Pull requests that updates NNCF PyTorch NNCF Common Pull request that updates NNCF Common NNCF ONNX Pull requests that updates NNCF ONNX NNCF PTQ Pull requests that updates NNCF PTQ labels Jul 15, 2024
@KodiaqQ KodiaqQ merged commit d113c2a into openvinotoolkit:develop Jul 16, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NNCF Common Pull request that updates NNCF Common NNCF ONNX Pull requests that updates NNCF ONNX NNCF PT Pull requests that updates NNCF PyTorch NNCF PTQ Pull requests that updates NNCF PTQ NNCF TF Pull requests that updates NNCF TensorFlow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants