How to check which CPU ISA (AVX/AVX512/AMX) was used in inference #25925
|
Hi all, |
Replies: 2 comments
One method to find out is to run model inference under a profiler and inspect the functions where most time is spent (assuming the model spends most of its time in MatMul, Conv or Gemm operations). You can then usually tell from the name which one is being used, or if you go into the assembly view, see which instructions are being used. samply is a profiler that works on Linux / Mac / Windows. |
|
Thank you Robert. |
One method to find out is to run model inference under a profiler and inspect the functions where most time is spent (assuming the model spends most of its time in MatMul, Conv or Gemm operations). You can then usually tell from the name which one is being used, or if you go into the assembly view, see which instructions are being used. samply is a profiler that works on Linux / Mac / Windows.