Skip to main content
QUICK REVIEW

[Paper Review] Graphcore C2 Card performance for image-based deep learning application: A Report

Ilyes Kacher, Maxime Portaz|arXiv (Cornell University)|Feb 26, 2020
Advanced Neural Network ApplicationsComputer Science9 references7 citations
TL;DR

This paper evaluates the Graphcore C2 card's performance for image-based deep learning inference using the ResNeXt101 model. Leveraging two IPU processors via the Poplar SDK and PopART runtime in mixed-precision, the C2 card achieves a minimum latency of 1.36 ms and a peak throughput of 2,526.35 images per second at batch size 12, with energy efficiency peaking at 9.68 images/second/watt.

ABSTRACT

Recently, Graphcore has introduced an IPU Processor for accelerating machine learning applications. The architecture of the processor has been designed to achieve state of the art performance on current machine intelligence models for both training and inference. In this paper, we report on a benchmark in which we have evaluated the performance of IPU processors on deep neural networks for inference. We focus on deep vision models such as ResNeXt. We report the observed latency, throughput and energy efficiency.

Motivation & Objective

  • To evaluate the performance of the Graphcore C2 card for real-time image-based deep learning inference.
  • To measure latency, throughput, and energy efficiency of the IPU processor on large vision models like ResNeXt101.
  • To assess the impact of varying batch sizes on system performance and efficiency.
  • To explore the feasibility of using the C2 card in production-scale, low-latency applications.

Proposed method

  • Benchmarking was conducted using one Graphcore C2 card with two IPU processors, each handling a separate inference session in parallel.
  • A ResNeXt101 model was exported from PyTorch to ONNX format and executed using PopART, the Poplar SDK's graph runtime.
  • Mixed-precision inference was employed to improve performance and efficiency, leveraging IPU-specific optimizations.
  • Latency, throughput, and energy efficiency were measured across batch sizes from 2 to 12, with power consumption monitored via gc-monitor.
  • Throughput was calculated as images per second, and energy efficiency as images per second per watt, based on averaged power measurements.
  • The implementation used 10,000 images from the COCO validation set, with each IPU processing a micro-batch of size 1–6.

Experimental results

Research questions

  • RQ1What is the minimum latency achievable on the Graphcore C2 card for ResNeXt101 inference across varying batch sizes?
  • RQ2What throughput and energy efficiency levels can be achieved at different batch sizes on the C2 card?
  • RQ3How does the C2 card’s performance scale with increasing batch size in terms of latency and energy efficiency?
  • RQ4Can the C2 card maintain high performance and efficiency for real-time, low-latency inference workloads?

Key findings

  • The C2 card achieved the lowest latency of 1.36 ms at a batch size of 2, demonstrating strong responsiveness for real-time applications.
  • Peak throughput of 2,526.35 images per second was achieved at a batch size of 12, indicating high scalability under load.
  • Energy efficiency peaked at 9.68 images per second per watt at a batch size of 10, showing optimal power efficiency at larger batches.
  • From batch size 8 onward, the system maintained a stable images/second per watt ratio, indicating consistent efficiency across high-throughput configurations.
  • The C2 card demonstrated stable performance with minimal energy cost increase from batch size 8 to 12, making it suitable for throughput-optimized workloads.
  • The hardware and SDK support efficient model parallelism via pipelining, enabling deployment of larger models beyond single-IPU memory capacity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.