AI 基础设施

题集来源:AMIT SHEKHAR(amitshekhariitbhu)收录项目:ai-engineering-interview-questions查看原题集

题目目录

35 道原题
  1. How do you improve inference speed in production LLM deployments?

    原题
  2. LLM optimization techniques

    原题
  3. How do you select GPUs for LLM inference?

    原题
  4. How does a GPU work for Deep Learning?

    原题
  5. How do CUDA Kernels work?

    原题
  6. How does a Google TPU work?

    原题
  7. How does an LPU work?

    原题
  8. Estimate the GPU memory needed to serve a 70B model (weights, KV cache, activations). Does it fit on a single 80 GB GPU?

    原题
  9. Do the roofline math: how many tokens/sec can one H100 produce for a 70B model at batch size 1?

    原题
  10. What is model parallelism vs data parallelism in distributed training?

    原题
  11. What is tensor parallelism, and how does it help serve large models?

    原题
  12. What is pipeline parallelism?

    原题
  13. How does continuous batching improve LLM inference throughput?

    原题
  14. What is speculative decoding, and how does it speed up inference?

    原题
  15. How does Medusa (multi-head speculative decoding) work?

    原题
  16. How does EAGLE (feature-level speculative decoding) work?

    原题
  17. What is N-gram Speculation in LLMs, and how does it speed up generation?

    原题
  18. What is KV cache, and how do you manage memory for it?

    原题
  19. What is Paged Attention?

    原题
  20. How does GGUF work?

    原题
  21. How do you optimize inference for edge and mobile deployment?

    原题
  22. What is model quantization (INT8, INT4, FP16, BF16), and how does it affect quality?

    原题
  23. How do you implement auto-scaling for AI workloads?

    原题
  24. What is the role of load balancing in AI serving infrastructure?

    原题
  25. How do you manage GPU memory for serving multiple models?

    原题
  26. What is model sharding, and when would you use it?

    原题
  27. How do you implement request queuing and priority scheduling for AI services?

    原题
  28. What are the cost trade-offs between self-hosted and API-based AI inference?

    原题
  29. How do you handle cold start latency for serverless AI deployments?

    原题
  30. How do you implement model caching to reduce redundant computations?

    原题
  31. What is the difference between synchronous and asynchronous inference, and when do you use each?

    原题
  32. What is FSDP (Fully Sharded Data Parallel), and how does it differ from DeepSpeed ZeRO?

    原题
  33. What are TTFT, TPOT, and throughput, and how do they trade against each other?

    原题
  34. How do you monitor and profile LLM inference in production (TTFT, inter-token latency, GPU utilization)?

    原题
  35. What is model routing at the infrastructure level, and how do you route requests based on complexity and cost?

    原题