VisionGuard Application Benchmark Results

August 23, 2024 ยท View on GitHub

M3 Pro (18GB memory)

QuantDeviceLimitFPSLatency (ms)CPU (%)RAM (MB)
INT-8 FP-16CPU10 - FPS8.826.6172.0345.9
FP-16CPU10 - FPS7.720.2113.0432.7
FP-32CPU10 - FPS7.926.1115.3280.0
INT-8 FP-16CPU25 - FPS19.016.4260.0347.0
FP-16CPU25 - FPS19.013.7225.0430.0
FP-32CPU25 - FPS19.513.6202.2281.6
INT-8 FP-16CPUMax FPS30.414.4370.2343.0
FP-16CPUMax FPS30.210.6291.0434.6
FP-32CPUMax FPS30.110.6254.0280.5

Intel AI-PC

NPU Performance

QuantDeviceLimitFPSLatency (ms)CPU (%)NPU (%)NPU Memory (MB)RAM (MB)
FP-16NPU10 - FPS7.113.41.111.0200246.0
FP-16NPU25 - FPS21.012.32.123.0200251.0
FP-16NPUMax FPS21.612.02.826.0200247.0
FP-32NPU10 - FPS7.113.51.810.0200257.9
FP-32NPU25 - FPS21.313.32.724.0200257.0
FP-32NPUMax FPS21.413.63.125.0200257.8
INT-8 FP-16NPU10 - FPS7.97.01.76.0200223.7
INT-8 FP-16NPU25 - FPS21.47.13.010.0200229.7
INT-8 FP-16NPUMax FPS21.37.03.411.0200230.6

CPU Performance

QuantDeviceLimitFPSLatency (ms)CPU (%)RAM (MB)
FP-16CPU10 - FPS7.210.54.1302.6
FP-16CPU25 - FPS20.311.26.5301.7
FP-16CPUMax FPS21.212.37.0309.8
FP-32CPU10 - FPS7.910.24.5278.3
FP-32CPU25 - FPS20.113.17.9275.6
FP-32CPUMax FPS21.212.68.3278.2
INT-8 FP-16CPU10 - FPS7.16.32.3248.7
INT-8 FP-16CPU25 - FPS21.25.64.4248.7
INT-8 FP-16CPUMax FPS21.46.14.8245.7

IGPU Performance

QuantDeviceLimitFPSLatency (ms)CPU (%)GPU (%)GPU Shared Memory (GB)RAM (MB)
FP-16IGPU10 - FPS7.14.61.619.02.1354.2
FP-16IGPU25 - FPS21.34.22.154.02.1354.8
FP-16IGPUMax FPS21.54.33.056.02.1354.3
FP-32IGPU10 - FPS7.04.51.919.02.1317.7
FP-32IGPU25 - FPS20.74.24.060.02.1311.3
FP-32IGPUMax FPS21.34.64.361.02.1317.7
INT-8 FP-16IGPU10 - FPS7.13.92.320.02.1369.0
INT-8 FP-16IGPU25 - FPS21.03.63.549.02.1388.9
INT-8 FP-16IGPUMax FPS21.33.43.851.02.1338.0

Asus TUF A-15

AUTO Performance

QuantDeviceLimitFPSLatency (ms)CPU (%)Intel GPU (%)Intel GPU Memory (MB)RAM (MB)
FP-16AUTO10 - FPS7.618.51.58400520.6
FP-16AUTO25 - FPS17.717.02.716400521.0
FP-16AUTOMax FPS20.716.65.529400518.7
FP-32AUTO10 - FPS7.319.71.211400497.7
FP-32AUTO25 - FPS17.617.82.517400499.7
FP-32AUTOMax FPS20.916.52.620400499.2
INT-8 FP-16AUTO10 - FPS7.99.50.96300315.0
INT-8 FP-16AUTO25 - FPS17.39.03.09300318.0
INT-8 FP-16AUTOMax FPS20.48.34.912300320.7

CPU Performance

QuantDeviceLimitFPSLatency (ms)CPU (%)Intel GPU (%)Intel GPU Memory (MB)RAM (MB)
FP-16CPU10 - FPS7.77.22.72300331.5
FP-16CPU25 - FPS20.86.75.82300330.0
FP-16CPUMax FPS20.97.46.82300331.0
FP-32CPU10 - FPS7.47.63.32300295.9
FP-32CPU25 - FPS17.67.55.42300296.5
FP-32CPUMax FPS20.47.66.12300295.0
INT-8 FP-16CPU10 - FPS7.45.51.62300279.3
INT-8 FP-16CPU25 - FPS19.34.94.82300276.7
INT-8 FP-16CPUMax FPS20.95.46.72300279.7

IGPU Performance

QuantDeviceLimitFPSLatency (ms)CPU (%)Intel GPU (%)Intel GPU Memory (MB)RAM (MB)
FP-16IGPU10 - FPS7.512.81.210400416.3
FP-16IGPU25 - FPS19.610.71.516400416.1
FP-16IGPUMax FPS21.011.41.420400416.6
FP-32IGPU10 - FPS7.012.51.39400430.1
FP-32IGPU25 - FPS18.512.01.318400430.4
FP-32IGPUMax FPS20.912.21.426400433.1
INT-8 FP-16IGPU10 - FPS7.713.41.08400519.9
INT-8 FP-16IGPU25 - FPS20.613.01.416400515.2
INT-8 FP-16IGPUMax FPS21.112.81.918400517.7

Final Inference

  1. Quantization Impact:

    • INT-8 FP-16 quantization generally provides the best balance between performance and resource utilization across all devices.
    • FP-16 and FP-32 quantizations show similar performance in most cases, with FP-16 having a slight edge in terms of memory usage.
  2. Device Performance:

    • GPU consistently outperforms CPU and NPU in terms of FPS and latency.
    • NPU shows efficient resource utilization but has limitations in maximum achievable FPS.
    • CPU performance varies significantly across different hardware configurations.
  3. FPS Limits:

    • Higher FPS limits generally lead to increased resource utilization (CPU, GPU, NPU, and RAM).
    • The relationship between FPS and latency is not always linear, with some configurations showing improved latency at higher FPS.
  4. Hardware Differences:

    • The M3 Pro shows high CPU utilization but achieves the highest FPS.
    • The Intel AI-PC demonstrates balanced performance across CPU, NPU, and GPU.
    • The Asus TUF A-15 shows good performance with its integrated GPU (IGPU).
  5. RAM Usage:

    • RAM usage varies across different quantizations and devices, with FP-16 generally using more RAM than INT-8 FP-16 and FP-32.

Recommendations

  1. Quantization: Use INT-8 FP-16 quantization when possible, as it provides the best balance between performance and resource utilization.

  2. Device Selection:

    • For high-performance requirements, prioritize GPU usage.
    • For energy efficiency and balanced performance, consider NPU on supported hardware.
    • Use CPU as a fallback option or for systems without dedicated AI accelerators.
  3. FPS Limits: Choose FPS limits based on the specific use case requirements. Higher FPS may not always be necessary and can lead to increased resource consumption.

  4. Hardware Considerations:

    • For maximum performance, the M3 Pro is the best choice, especially if high CPU utilization is acceptable.
    • For a balance of performance and efficiency, the Intel AI-PC with NPU is recommended.
    • For systems with integrated graphics, like the Asus TUF A-15, leveraging the IGPU can provide