submarine
1.0.0



Apache潛艇(簡稱潛艇)是一個端到端的機器學習平台,允許數據科學家創建端到端的機器學習工作流程。在潛艇上,數據科學家可以在ML模型生命週期中完成每個階段,包括數據探索,數據管道創建,模型培訓,服務和監視。
一些開源和商業項目正在嘗試建立一個端到端的ML平台。潛艇的願景是什麼?
西奧多·萊維特(Theodore Levitt)曾經說過:
“People don’t want to buy a quarter-inch drill. They want a quarter-inch hole.”
experiment 。environment的experiment和依賴性版本。如上所述,潛艇嘗試提供數據科學家友好的UI來使數據科學家具有良好的用戶體驗。這裡有一些例子。
# New a submarine client of the submarine server
submarine_client = submarine . ExperimentClient ( host = 'http://localhost:8080' )
# The experiment's environment, could be Docker image or Conda environment based
environment = EnvironmentSpec ( image = 'apache/submarine:tf-dist-mnist-test-1.0' )
# Specify the experiment's name, framework it's using, namespace it will run in,
# the entry point. It can also accept environment variables. etc.
# For PyTorch job, the framework should be 'Pytorch'.
experiment_meta = ExperimentMeta ( name = 'mnist-dist' ,
namespace = 'default' ,
framework = 'Tensorflow' ,
cmd = 'python /var/tf_dist_mnist/dist_mnist.py --train_steps=100' )
# 1 PS task of 2 cpu, 1GB
ps_spec = ExperimentTaskSpec ( resources = 'cpu=2,memory=1024M' ,
replicas = 1 )
# 1 Worker task
worker_spec = ExperimentTaskSpec ( resources = 'cpu=2,memory=1024M' ,
replicas = 1 )
# Wrap up the meta, environment and task specs into an experiment.
# For PyTorch job, the specs would be "Master" and "Worker".
experiment_spec = ExperimentSpec ( meta = experiment_meta ,
environment = environment ,
spec = { 'Ps' : ps_spec , 'Worker' : worker_spec })
# Submit the experiment to submarine server
experiment = submarine_client . create_experiment ( experiment_spec = experiment_spec )
# Get the experiment ID
id = experiment [ 'experimentId' ] submarine_client . get_experiment ( id ) submarine_client . wait_for_finish ( id ) submarine_client . get_log ( id ) submarine_client . list_experiments ( status = 'running' )有關快速啟動,請參閱K8S上的潛艇
(在0.5.0上可用,請參見路線圖)
如果您想進一步了解潛艇的架構,組件,需求和設計文檔,可以在架構和要求上找到它們
詳細的設計文檔,實施註釋,請參見:實施說明
閱讀Apache潛艇社區指南
如何貢獻指南
登錄潛艇休閒頻道:https://join.slack.com/t/asf-submarine/shared_invite
問題跟踪:https://issues.apache.org/jira/projects/submarine
查看用戶指南主頁
請參閱開發人員指南主頁
關於潛艇的進一步了解更多?請檢查路線圖:https://cwiki.apache.org/confluence/display/submarine/roadmap
從這裡開始,您可以知道不同版本的Apache潛艇的ChangElog和問題跟踪器。
Apache潛艇:統一的機器學習平台在Euromlsys '22上簡單
Apache潛艇項目是根據Apache 2.0許可證獲得許可的。有關詳細信息,請參見許可證文件。