Page MenuHomePhabricator

Test options to optimize inference for the simple summaries model
Closed, ResolvedPublic

Description

In T369288, we developed a model for generating simple summaries for Wikipedia articles. While successfully tested in our infrastructure on a small sample of articles (~8K), one of the main limitations of the model is that inference time is substantial (>10s per sample). As a result, in its current state, the model cannot be used to generate simple summaries at scale (for millions of articles).

Therefore, in this task we aim to test different options for optimizing the model inference. We do not only aim to improve inference time but also make sure to preserve a sufficient level of quality of the model’s output. The majority of work will be done on the ml-lab instances, but for some experiments we need to generate a docker image to run batch model inference pipelines using AMD GPU as workloads on the DSE cluster.

List of potential optimization approaches:

Metrics for monitoring:

Implementation:

  • Baseline
  • Optimization 1...N
  • (stretch) Replicate methodology with classification model for peacock detection from SDS 1.2.1 B

Roles:

  • optimization and inference metrics: @fkaelin (ResEng)
  • quality/guardrail metrics (@MGerlach )

Details

Due Date
Mar 31 2025, 4:00 AM
Other Assignee
fkaelin