Essay

Analyzing Memory Constraints in Different LLM Applications

A company is deploying two large language models on hardware with a fixed memory capacity. Model A is designed for a real-time chatbot application, which typically handles short user queries. Model B is designed for analyzing lengthy legal documents. Assuming both models use a standard architecture for generating responses, analyze the primary memory-related challenge that will disproportionately affect Model B compared to Model A during inference. In your analysis, explain how the mechanism for storing attention states contributes to this challenge and discuss the resulting trade-off between the length of the context the model can handle and the number of users it can serve concurrently.

0

1

Updated 2025-10-06

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Ch.5 Inference - Foundations of Large Language Models

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science