# How Shopify built a continual learning loop with PyTorch and vLLM

DevFeed: [How Shopify built a continual learning loop with PyTorch and vLLM](<https://devfeed.tech/articles/how-shopify-built-a-continual-learning-loop-with-pytorch-and-vllm-58070.md>)

Original publisher: [Read original article](<https://pytorch.org/blog/how-shopify-built-a-continual-learning-loop-with-pytorch-and-vllm/>)

Author: Cody Mazza-Anthony, Sr. Staff Machine Learning Engineer, @cmazzaanthony & Andrew McNamara, VP Machine Learning, @drewch

Published: 2026-09-22T13:45:18Z

Content type: article

Language: en

Sources: [PyTorch](<https://devfeed.tech/sources/blog-pytorch.md>)

Topics: [Learning](<https://devfeed.tech/topics/learning.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>), [vllm](<https://devfeed.tech/topics/vllm.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Frontier Model](<https://devfeed.tech/topics/frontier-model.md>), [Requirements](<https://devfeed.tech/topics/requirements.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Latency](<https://devfeed.tech/topics/latency.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [blog](<https://devfeed.tech/tags/blog.md>), [case-studies](<https://devfeed.tech/tags/case-studies.md>), [case-study](<https://devfeed.tech/tags/case-study.md>), [continual-learning](<https://devfeed.tech/tags/continual-learning.md>), [costs](<https://devfeed.tech/tags/costs.md>), [evals](<https://devfeed.tech/tags/evals.md>), [frontier-model](<https://devfeed.tech/tags/frontier-model.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [latency](<https://devfeed.tech/tags/latency.md>), [production](<https://devfeed.tech/tags/production.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [quality](<https://devfeed.tech/tags/quality.md>), [vllm](<https://devfeed.tech/tags/vllm.md>)

## AI overview

This case study explains how Shopify built a continual learning loop for its GraphQL agent using PyTorch and vLLM. The loop uses production failures, quality rubrics, and evaluation data to improve model behavior, while the article reports higher quality, lower latency, and a 96% reduction in serving costs.

## Source excerpt

TL;DR: This case study explores how Shopify compresses production failures into model weights every day, beats frontier-model quality, and cuts serving costs 96% by building a continual learning loop with...