技術文章
技術問答
My Project
iT 徵才
聊天室
2026 鐵人賽
登入/註冊
文章
問答
Tag
邦友
鐵人賽
搜尋
2023 iThome 鐵人賽
DAY
18
1
AI & Data
MLOps/LLMOps - 從零開始
系列 第
18
篇
Day18 - MLOps 自架環境之二: Ray Cluster 基本觀念與架構
15th鐵人賽
jimmyliao
2023-10-03 17:23:24
1480 瀏覽
分享至
Ray Cluster
一個 Ray Cluster 需要一個 Head Node 與多個 Worker Node
Head Node 負責管理 Worker Node,透過
autoscaler
來自動調整 Worker Node 的數量
基本上就是 follow Kubernetes 的 Pod 架構
Head Node
Head Node 會有一個 Ray Cluster 的 Controller,負責管理 Worker Node
Worker Node
負責執行 Ray Task,並將結果回傳給 Head Node
Autoscaling
在 head node 上面的一個 process,如果需求的 Ray workload 超過現有的 Ray cluster 能力,則會自動增加 worker node。反之就會自動減少 worker node。
autoscaler 只會根據 task 與 actor 的需求來調整 worker node 的數量,而不是根據 application metrics 或是 physical resource utilization 來調整 worker node 的數量。
Ray Jobs
執行 Ray Job 的方式有兩種
透過 Ray Jobs API 執行 (建議方式)
在任一 node (worker node or head node) 上執行
ray start --head
執行 script
Ray Job API
Reference:
https://docs.ray.io/en/latest/cluster/key-concepts.html
https://docs.ray.io/en/latest/cluster/getting-started.html
留言
追蹤
檢舉
上一篇
Day17 - MLOps 自架環境之二: Ray Cluster 簡介
下一篇
Day19 - Ray Cluster 安裝之一: 基礎環境準備
系列文
MLOps/LLMOps - 從零開始
共
30
篇
目錄
RSS系列文
訂閱系列文
5
人訂閱
26
Day26 - LLMs on Ray
27
Day27 - LLMs on Ray (踩雷?)
28
Day28 - MLOps deployment patterns
29
Day29 - Ray on Databricks
30
Day30 - Summary: 寫在 "MLOps/LLMOps - 從零開始" 完賽後的心得
完整目錄
熱門推薦
{{ item.subject }}
{{ item.channelVendor }}
|
{{ item.webinarstarted }}
|
{{ formatDate(item.duration) }}
直播中
立即報名
尚未有邦友留言
立即登入留言
iThome鐵人賽
參賽組數
312
組
團體組數
12
組
累計文章數
3244
篇
最後報名日
9/15
看影片追技術
看更多
{{ item.subject }}
{{ item.channelVendor }}
|
{{ formatDate(item.duration) }}
直播中
熱門tag
15th鐵人賽
16th鐵人賽
13th鐵人賽
14th鐵人賽
17th鐵人賽
12th鐵人賽
11th鐵人賽
鐵人賽
2019鐵人賽
javascript
2018鐵人賽
python
2017鐵人賽
18th鐵人賽
windows
php
c#
linux
windows server
css
熱門問題
儲存裝置加密:如何使用VeraCrypt加密整個UFD,而非加密唯一的分割區?
Kiro如何訂閱?信用卡一直被拒
ASUS電腦7月起無法回報狀態給WSUS
熱門回答
Kiro如何訂閱?信用卡一直被拒
ASUS電腦7月起無法回報狀態給WSUS
熱門文章
Day 6|推論引擎總覽:llama.cpp、vLLM、TensorRT-LLM 、Ollama、DS4 與 Unsloth 的定位與取捨
Day 01 - HTML 與 CSS 語法結構
各位網管和 iT / MIS / SI 資訊安全問題要注意,京瓷多功能數位複合機印表機裸奔問題,Kyocera TASKalfa 2554ci
Day 9|vLLM 實測:官方容器、同時處理吞吐曲線,與剛出爐的新模型 Ornith 1.5
你的網站現在有兩種受眾:人類與 AI
IT邦幫忙
×
標記使用者
輸入對方的帳號或暱稱
Loading
找不到結果。
標記
{{ result.label }}
{{ result.account }}