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

[TorchFX] PTQ MinMax algorithm test #3000

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

Conversation

rk119
Copy link
Contributor

@rk119 rk119 commented Oct 1, 2024

Changes

  1. Added a new test file in tests/torch/fx. Implemented TemplateTestMinMaxAlgorithm for Torch Fx backend.

  2. Fixed a doc string mistake in tests/cross_fw/test_templates/test_min_max.py. Removed the line of code in the test test_get_channel_axes_matmul_torch that assigns the matmul node's layer attributes.

  3. Made changes to tests/torch/ptq/test_min_max.py to pass the functions that handle backend-specific layer attributes.

Reason for changes

For changes 2 and 3, only the node metatypes are required to test target point shape and weight quantization channel axes.

Related tickets

#2872

@rk119 rk119 requested a review from a team as a code owner October 1, 2024 14:40
@github-actions github-actions bot added the NNCF PT Pull requests that updates NNCF PyTorch label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NNCF PT Pull requests that updates NNCF PyTorch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant