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

Test ResNet Ops Support #28

Closed
wants to merge 27 commits into from
Closed

Test ResNet Ops Support #28

wants to merge 27 commits into from

Conversation

anzr299
Copy link

@anzr299 anzr299 commented Jul 8, 2024

Changes

Added pytest to check if all the ops in the generated graph for resnet18 model are valid metatypes in NNCF

Reason for changes

Check if all model ops are supported by NNCF metatypes

Related tickets

openvinotoolkit#2778

Tests

New test file test_models.py added in tests/torch/fx/test_models.py

andreyanufr and others added 24 commits June 28, 2024 09:24
### Changes

Support e2m1 as type for weight compression.

### Reason for changes

e2m1 compression.

### Related tickets

CVS-140944
### Changes

- Updated FastBiasCorrection algorithm to correct work with transposed
MatMul layers.
- Updated BiasCorrection algorithm to avoid recursion depth error.

### Reason for changes

- FastBiasCorrection algorithm adaptation.
- BiasCorrection improvement for many correctable layers.

### Related tickets

- 144240

---------

Co-authored-by: Aleksei Kashapov <[email protected]>
### Changes

Support TF 2.15

### Reason for changes

Support TF 2.15

### Related tickets

133742

### Tests

pre-commit tests
### Changes

- quantize addmm function
- add gpt2 to post_training tests
- add calculation  int8 annd int4 const data for ptq


### Related tickets

142356
### Changes

Remove reference data for TF 2.8 from the tests

### Reason for changes

Follow-up openvinotoolkit#2609

### Related tickets

133742

### Tests

pre-commit tests
…oolkit#2771)

This reverts commit beb9c04.

post_training_quantization/415 - running
### Changes
The following functions were added:

- numeric.py: eye
- linalg.py: lstsq, svd


### Reason for changes
Part of int4 with LoRA adaptation implementation.

### Related tickets
CVS-135863

### Tests
tests/shared/test_templates/template_test_nncf_tensor.py
### Changes

- https://numpy.org/devdocs/numpy_2_0_migration_guide.html
- Enable numpy rules for ruff

### Related tickets

138867
### Changes

- Updated FastBiasCorrection algorithm to correct work with transposed
MatMul (OV) and Gemm (ONNX) layers.
- Updated BiasCorrection algorithm to avoid recursion depth error.

### Reason for changes

- FastBiasCorrection algorithm adaptation.
- BiasCorrection improvement for many correctable layers.

### Related tickets

- 144240

### Tests

 - manual, post_training_quantization/418/ - passed
### Changes

Changed default scale fot E2M1 weights from fp16 to fp8_e8m0

### Reason for changes

According to the "OCP Microscaling Formats (MX) Specification"

### Related tickets

CVS-140944

### Tests

Will extend E2M1 tests.
@anzr299 anzr299 closed this Jul 10, 2024
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.

7 participants