Open msy-kato opened 1 day ago
@msy-kato please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:
- (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
- (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"
Description
MlasTranspose was running single-thread and was not performing well enough on a multi-threaded CPU. Therefore, we modified it to run with multi-thread to improve performance.
The
MlasTranspose
was previously running in a single-threaded, which resulted in suboptimal performance on multi-threaded CPUs. To address this, we have modified it to utilize multi-threading.Motivation and Context
We encountered this issue while running the multilingual-e5-large, which was converted to ONNX format and executed on a multi-core CPU (Xeon 6338T). Below are the performance metrics before and after the modification:
Condition
This change resulted in a performance improvement of approximately 14%(
MlasTranspose
is x2~3 faster).