intel / intel/graph-compiler

const weight packing support

Open
#146 5 comments 0 reactions 1 assignee Claimed by @niuxiaog View on GitHub
CPU enhancement
Dominant language
C++
Stars
54
Forks
16
PR merge metrics
No merged PRs in 30d

Description

During model inference, model weight is frozen and won't change between iterations. CPU prefers special weight layout to accelerate the execution, then we need to prepack the model weight before model execution. This issue covers below items:

- Analyze how weight pre-packing is done in openvino.
- Provide the RFC about how to do weight pre-packing in MLIR to meet openvino requirement.
- Implement the weight pre-packing pass with current CPU pipeline to support BF16 MLP inference.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.