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

src: attr: quantization refactor (part 2) #2570

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dzarukin
Copy link
Contributor

Move zero_points to quant_entry_t abstraction.
Same deal as in #2270.
With this change the interface will be completely aligned between those two.
The next part will clean up skip_mask_t flags and, probably, introduce a single base class for scales and zero-points to inherit from to avoid code duplication and new features enabling in the future.

@dzarukin dzarukin requested review from a team as code owners January 30, 2025 18:31
@github-actions github-actions bot added platform:cpu-x64 Intel64/AMD64 processors. Codeowner: @oneapi-src/onednn-cpu-x64 platform:cpu-aarch64 Codeowner: @oneapi-src/onednn-cpu-aarch64 platform:gpu-intel Codeowner: @oneapi-src/onednn-gpu-intel platform:gpu-generic Codeowner: @oneapi-src/onednn-gpu-generic labels Jan 30, 2025
@dzarukin
Copy link
Contributor Author

make test

@dzarukin dzarukin force-pushed the dzarukin/refactor_quant_zp branch 2 times, most recently from 9333c44 to dc6de43 Compare January 31, 2025 01:11
@dzarukin
Copy link
Contributor Author

make test

@dzarukin dzarukin force-pushed the dzarukin/refactor_quant_zp branch from dc6de43 to cf92bf9 Compare January 31, 2025 01:38
@theComputeKid
Copy link
Member

This seems to fail for AArch64. Is this still under development?

@dzarukin
Copy link
Contributor Author

This seems to fail for AArch64. Is this still under development?

Yeah, there's one piece left: update gtests, and it should be good.

@dzarukin dzarukin force-pushed the dzarukin/refactor_quant_zp branch from cf92bf9 to e31d1fb Compare January 31, 2025 19:29
@github-actions github-actions bot added the component:tests Codeowner: @oneapi-src/onednn-arch label Jan 31, 2025
@dzarukin
Copy link
Contributor Author

make test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:tests Codeowner: @oneapi-src/onednn-arch platform:cpu-aarch64 Codeowner: @oneapi-src/onednn-cpu-aarch64 platform:cpu-x64 Intel64/AMD64 processors. Codeowner: @oneapi-src/onednn-cpu-x64 platform:gpu-generic Codeowner: @oneapi-src/onednn-gpu-generic platform:gpu-intel Codeowner: @oneapi-src/onednn-gpu-intel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants