AI Inference and Serving

The 'AI Inference and Serving' test explores modern techniques and tools for deploying AI models, focusing on efficient inference processes. Key components include vLLM, TGI, Triton Inference Server, and Llama.cpp, while concepts like GGUF, quantization, batching, KV cache, and latency optimization are examined. This test provides insights into reducing latency and improving performance in AI model deployment.

Sample Questions

  1. What is the primary purpose of AI inference?

    • To make predictions using a trained model
    • To visualize data for model training
    • To train a new model using gathered data
    • To collect data for model enhancement
  2. What does 'batched inference' refer to in AI serving?

    • Training multiple models simultaneously
    • Deploying multiple models in parallel
    • Collecting batches of data for model training
    • Processing multiple data inputs at once for efficiency
  3. What is the role of the KV cache in AI inference?

    • To store key-value pairs to improve query speed
    • To log error messages during model testing
    • To save intermediate training data for review
    • To archive old model versions for backup