Kuis terkait panduan · Keras Tingkat

Penyajian Multi-Model dan Kuis Multiplexing Model

Seimbangkan pemanfaatan model bersama dengan perutean, pemuatan sesuai permintaan, caching, penggusuran, batas memori GPU, dan isolasi penyewa.

Pertanyaan 1 dari 8

Apa yang biasanya memungkinkan multiplexing pada pekerja penyajian bersama?

Pratinjau setiap pertanyaan8 pertanyaan

Jawaban dan penjelasan muncul saat Anda mengikuti kuis.

  1. Apa yang biasanya memungkinkan multiplexing pada pekerja penyajian bersama?
    • Keep every tenant model permanently loaded before any request
    • Choose a model only after ignoring the request identity
    • Load or select a requested model or adapter when needed
    • Train all tenant models as part of each inference request
  2. Mengapa cache model bersama dapat meningkatkan latensi untuk model yang jarang digunakan?
    • The cache changes the model output labels
    • An evicted model may need to be loaded again on its next request
    • Eviction guarantees a faster reload from device memory
    • An evicted model remains resident but is marked inactive
  3. Apa yang harus dilakukan API dengan pengenal model yang diberikan oleh klien?
    • Treat the identifier as a filesystem path supplied by the client
    • Use the identifier to bypass authorization checks
    • Assume any artifact named by a client is compatible
    • Resolve the identifier through a validated registry or allowlist
  4. Which resource can limit how many models stay resident on one GPU?
    • GPU memory capacity limits resident weights and runtime state
    • The number of names in the API schema sets device memory
    • The training-set label format determines residency
    • More model identifiers always mean more available GPU memory
  5. Mengapa kebijakan eviksi least-recently-used sederhana mungkin berkinerja buruk?
    • It always retains the largest model regardless of request history
    • It selects entries using GPU memory as their cache key
    • It ignores model size and the cost or likelihood of reloading
    • It prevents cold starts whenever a model is evicted
  6. Metrik apa yang membantu mendiagnosis perilaku multiplexing model?
    • Only the number of model names configured
    • Cache hits, evictions, load duration, and cold-start rate
    • Only training loss for each model
    • Only the API route count
  7. What should be considered when comparing shared multiplexing with dedicated replicas?
    • Compare only model-file counts across architectures
    • Compare only inference framework names
    • Compare only training accuracy
    • Compare demand patterns, resource use, latency, and isolation needs
  8. Why account for in-flight requests before unloading a model?
    • Active requests may still depend on the model weights or runtime state
    • Removing a model entry automatically redirects active work
    • Unloading updates every client schema before a response
    • In-flight requests no longer use the model once eviction starts