引導式測驗 · 中等 等級
Ray 用於分散式 AI 測驗
檢查您對 Ray 任務、參與者、物件參考、分散式庫以及物件資料如何在叢集內移動的理解。
問題 1 的 8
Ray主要解決什麼問題?
預覽每個問題8 問題
當您參加測驗時,就會出現答案和解釋。
- Ray主要解決什麼問題?
- 只需最少的程式碼更改,即可將 Python 和 AI 工作負載從單一機器擴展到大型集群
- 自動標記影像
- 壓縮模型文件
- 設計神經網路架構
- 在 Ray 中,「任務」和「演員」有什麼區別?
- 任務針對圖像,演員針對文本
- 任務是無狀態的平行函數呼叫;演員是持有狀態的有狀態工作者
- 它們是相同的
- 任務僅在 CPU 上運行,參與者僅在印表機上運行
- 當您啟動遠端任務時,Ray 立即返回什麼?
- 最終的結果,總是
- 錯誤訊息
- 稍後使用 ray.get() 解析的 future(物件參考)
- 整個集群的副本
- 哪個 Ray 函式庫是為分散式超參數搜尋而設計的?
- 雷·服務
- 射線數據
- RLlib
- 射線調諧
- Ray 的官方文件明確指出,哪種物件類型可以從同節點物件儲存區記憶體中進行讀取而不需要複製?
- A NumPy array stored in Ray’s object store
- Any Python object whenever an ObjectRef is passed
- An object requested from another node with no network transfer
- Only actor handles stored in a separate database
- 您將使用哪個 Ray 函式庫在可擴充、自動縮放端點後面部署模型?
- 射線調諧
- 雷·服務
- 雷火車
- 射線數據
- How does Ray Serve decide when to add replicas in its built-in request-driven autoscaling?
- It reads the model’s training loss
- It changes the number of model parameters
- It monitors ongoing requests or queue demand against configured targets
- It scales only when a human edits the deployment
- How does Ray move an object when a task on a different node needs it?
- It shares the owner’s local memory directly across every node
- It automatically copies all objects into each node’s GPU memory
- It sends only an ObjectRef and never transfers the object data
- It transfers the object over the cluster network; serialization, locality, and object size affect cost