ã¯ããã¾ãã¦ãã¡ã«ã«ãªã®AIãã¼ã ã§SysMLã¨ã³ã¸ãã¢ããã¦ããChicaã§ãã
SysMLã¨ããè¨èã¯ãã¾ã馴æã¿ããªãããããã¾ãããããSystems and Machine Learningãã®ç¥ã§ãAIãå®éã«ãµã¼ãã¹ã«çµã¿è¾¼ãããã®ããã«ã¦ã§ã¢ã»ã¤ã³ãã©ãæ´åãããã¨ãè¨ãã¾ãã
ã¡ã«ã«ãªã§ã¯AIã使ã£ãå¤ãã®ãµã¼ãã¹ãåãã¦ãã¾ãããä»åã¯ãã®ä¸ã§ãç¹ã«ããããã®æ©æ¢°å¦ç¿ã¢ãã«ãåãã¦ããéååºåæ¤ç¥ã·ã¹ãã ãã¢ãã«ãã¨ã«ãã¤ã¯ããµã¼ãã¹åããã話ãç´¹ä»ãã¾ãã
ã¡ã«ã«ãªã§åãã¦ããéååºåæ¤ç¥ã·ã¹ãã ã¨ã¯
ã¡ã«ã«ãªã«ã¯ç¦æ¢ããã¦ããåºåç©ã«è¨è¼ãã¦ããããã«ãåºåãã¦ããã ããã¨ã®ã§ããªã(ä¾ãã°ç¾éã®ãããª)ã¢ã¤ãã ãåå¨ãã¾ãã対象ã®ã¢ã¤ãã ãåºåããã¦ãã¾ã£ãã¨ãã«ãééã£ã¦è³¼å ¥ãããªãããCS(ã«ã¹ã¿ãã¼ãµãã¼ã)ãã¼ã ãç£è¦ãã¦ãã¾ãã
AIãã¼ã ã§ã¯ãCSãã¼ã ãè£å©ããããã
- ç¦æ¢åºåç©Aãã©ãããå¤å®ããããã®Model A
- ç¦æ¢åºåç©Bãã©ãããå¤å®ããããã®Model B
ã¨ããããã«éååºåæ¤ç¥ãè¡ãã¢ãã«ãããããåãã·ã¹ãã ãæä¾ãã¦ãããä¸ã¤ã§ãéåãæ¤ç¥ããã¨CSãã¼ã ã¸éç¥ãè¡ããã¡ã³ãã¼ã確èªããããã«ãªã£ã¦ãã¾ãã
ä»ã¾ã§ã®ã¢ã¼ããã¯ãã£
éååºåæ¤ç¥ã·ã¹ãã ã¯Kubernetesä¸ã§åãã¦ããã
ãã¤ã¯ããµã¼ãã¹å以åã¯ä¸å³ã®ãããªã¢ããªã·ãã¯ãªã¢ã¼ããã¯ãã£ã«ãªã£ã¦ãã¾ããã
- Model A (scikit-learn)
- Model B (scikit-learn)
- Model C (TensorFlow)
- Model D (TensorFlow)
ã¨ãã4ã¤ã®ã¢ãã«ããã£ãå ´åã«ã¯
Model A, Bã¯REST APIã®ãµã¼ãã¼å
ã§æ¨è«ãå®è¡ããã
Model C, Dã¯TF Servingãµã¼ãã¼ã§æ¨è«ããã¦ãããããªæ§æã§ãã
ã¯ããã¯1ã¤ã®scikit-learnã®ã¢ãã«ãããªãã£ãããããã®ããã«æ¨è«é¨åãRESTãµã¼ãã¼ã¨åãé¢ããã¦ããªãæ§æã«ãªã£ã¦ãã¾ããããããããã«ã¢ãã«ãå¢ãããããªæ¹ä¿®ãå ãã¦ãã£ããããRESTãµã¼ãã¼ã®å½¹å²ãéããªãæ´æ°æã®ä½æ¥ã巨大åãã¦ãããã¨ãåé¡ã«ãªã£ã¦ãã¾ããã
ãããããã¢ãã«ãå¢ãã¦ããäºå®ããããããåã¢ãã«ãåå¥ã§ãããã¤å¯è½ã«ãªãããã¢ãã«ã®ãã¤ã¯ããµã¼ãã¹åãé²ãããã¨ã«ãªãã¾ããã
ãã¤ã¯ããµã¼ãã¹åå¾ã®ã¢ã¼ããã¯ãã£
ãã¤ã¯ããµã¼ãã¹åå¾ã¯ä¸å³ã®ãããªæ§æã«ãªãã¾ããã
以åã¯1ã¤ã®ãµã¼ãã¹ã¨ãã¦åãã¦ããModel A, B, C, D ã¯åã
å¥ã®ãµã¼ãã¹ã¨ãã¦åãããã«ãªãã
Proxyããã®çµæãéç´ãã¦è¿ãã¦ãã¾ãã
ã¨ã©ã¼ãçºçããã¨ãã®åå 究æãããããããä¸ç¶ã»éç´ãè¡ã£ã¦ããProxyã«ãã°ã®æ
å ±ãéç´ããããæ°ãã¤ãã¦ãã¾ãã
ä»åã®ãã¤ã¯ããµã¼ãã¹åã§ãæ°æ¥ããããã¨ããã£ãã¢ãã«ã®è¿½å ã»æ´æ°ä½æ¥ã10åã§çµããããã«ãªãã¾ãã ã
ã¾ãã以ä¸ã®ãããªå©ç¹ãçã¾ãã¾ããã
- ã¢ãã«ãã¨ã«podã®æ°ãpodã«å²ãå½ã¦ãCPUæ°ã»ã¡ã¢ãªãµã¤ãºãå¤æ´ã§ãã
- Istioã使ã£ãã¢ãã«ãã¨ã®ABãã¹ããå¯è½ã«
- ä¸é¨ã¢ãã«ã«ä¸å ·åãçºçãã¦ãå ¨ä½ããã¼ã«ããã¯ããå¿ è¦ããªã
ãããã«
ä»å¾ãæ§ã ãªã¢ãã«ãã¡ã«ã«ãªã«çµã¿è¾¼ã¾ãã¦ããä¸ã§ãã¢ãã«ã®è¿½å ã»æ´æ°ãã¹ã ã¼ãºã«ã§ããç°å¢ãæä¾ã§ããããé å¼µã£ã¦ããã¾ã ð