Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Chainer を AWS で使う方法 / Chainer on SageMaker and EC2

Chainer を AWS で使う方法 / Chainer on SageMaker and EC2

AWS では様々な機械学習環境を提供しています。機械学習フレームワークをインストールした AWS Deep Learning AMI や機械学習のフルマネージドサービスである Amazon SageMaker では,Chainer を標準サポートしています。本講演では、EC2 や DLAMI,、Amazon SageMaker を使った Chainer の基本的な使い方や,ChainerMNを使った分散学習などについてお話しします。

Shoko Utsunomiya

March 30, 2019
Tweet

More Decks by Shoko Utsunomiya

Other Decks in Technology

Transcript

  1. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ،وبٝ ؐؑـ ؟٦ؽأ آٍػٝ吳䒭⠓爡 堣唒㷕统أُ٦ءّٝ،٦ؗذؙز 㸘鿪㹧 翯㶨 - Chainer on Amazon SageMaker and EC2 - Chainer ׾ AWS ד⢪ֲ倯岀 2019䎃 3剢30傈 Chainer Meetup #09 Twitter: @shokout
  2. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark    / / G S W UC P A
  3. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark The Amazon ML Stack Algorithm NOTEBOOKS GROUND TRUTH AMAZON SAGEMAKER (App Developers, no ML experience required) (ML developers and data scientists) (ML researchers and academics) Frameworks Interfaces Infrastructure EC2 P3 & P3DN EC2 C5 FPGAs ELASTIC INFERENCE GREENGRASS MARKETPLACE REINFORCEMENT LEARNING OPTIMIZATION (NEO) Training HOSTING Deployment Vision Speech Language Chatbots & Contact Centers LEX POLLY TRANSCRIBE TRANSLATE COMPREHEND & COMPREHEND MEDICAL REKOGNITION IMAGE REKOGNITION VIDEO TEXTRACT FORECAST PERSONALIZE Verticals INFERENTIA New New New New New New New Annotation ML SERVICES ML FRAMEWORKS & INFRASTRUCTURE New New AI SERVICES BUILD-IN ALGORITHMS New New
  4. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark Chainer ׾ AWS♳ד⢪ֲ倯岀 • Amazon EC2׾⢪ֲ • Amazon Machine Image (DLAMI) ׾⢪ֲ • ؎ٝأةٝأ欽ח✲⵸ח鏣㹀ׁ׸׋ذٝفٖ٦ز • Apache MXNet, Caffe, Caffe2, Chainer, TensorFlow, CNTK, PyTorch, Keras זוךDL ؿٖ٦يٙ٦ָؙفٖ؎ٝأز٦ׁٕ׸גְ׷ • chainer-cfn: Cloudformation Template for ChainerMN on AWS • Amazon SageMaker ד Chainer ׾⢪ֲ • ؿٕوط٦آسז堣唒㷕统
  5. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark Chainer ׾ EC2 ד⢪ֲ倯岀 • Amazon EC2׾⢪ֲ • Amazon Machine Image (DLAMI) ׾⢪ֲ • ؎ٝأةٝأ欽ח✲⵸ח鏣㹀ׁ׸׋ذٝفٖ٦ز • Apache MXNet, Caffe, Caffe2, Chainer, TensorFlow, CNTK, PyTorch, Keras זוךDL ؿٖ٦يٙ٦ָؙفٖ؎ٝأز٦ׁٕ׸גְ׷ • chainer-cfn: Cloudformation Template for ChainerMN on AWS • Amazon SageMaker ד Chainer ׾⢪ֲ • ؿٕوط٦آسז堣唒㷕统
  6. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ֿ׸תדך Chainer on DLAMI ،حفر٦ز DL AMI (Chainer Release) Chainer3.4: 2018/02/28 (2018/02/20) Chainer4.0: 2018/04/27 (2018/04/17) Chainer4.2: 2018/06/05 (2018/06/21) Chainer4.3.1: 2018/09/06 (2018/07/27) Chainer4.5: 2018/10/15 (2018/09/27) Chainer5.0: 2018/11/05 (2018/10/25) Chainer5.1: 2018/12/13 (2018/12/03) Chainer5.3: 2019/3/21 (2019/2/28) https://aws.amazon.com/blogs/machine-learning/aws-deep-learning-amis-now-come-with-tensorflow-1-13- mxnet-1-4-and-support-amazon-linux-2/
  7. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 剑㣐100Gbpsךطحزٙ٦ؙ䌒㚖׾ⵃ欽 דֹ׷ Amazon EC2 C5n • طحزٙ٦ؙ鸐⥋ָنزٕطحؙחז׷ٙ٦ ؙٗ٦سぢֽחծC5ךطحزٙ٦ؙ׾䓼⻉ • 䌒㚖׾崞欽ׅ׷׋׭חכ ENAسٓ؎غ ָ䗳銲 1إحءّٝדכ10Gbps/5Gbpsָ♳ꣲ鸐⥋ ׾㢳ꅾ⻉ׅ׸לず♧ٔ٦آّٝךEC2װ S3/RDS/EMR 瘝ה100Gbpsד鸐⥋ָ〳腉 • غ٦آص،ٖؔ؞ٝ،؎ٕٓٝسծؔع ؎ؔծGovCloud(US-West) חגⵃ欽〳腉 C5nؿ؋ىٔ vCPU ًٌٔ (GiB) EBS䌒㚖 (Gbps) NW䌒㚖 (Gbps) c5n.large 2 5.25 Max 3.5 Max 25 c5n.xlarge 4 10.5 Max 3.5 Max 25 c5n.2xlarge 8 21 Max 3.5 Max 25 c5n.4xlarge 16 42 3.5 Max 25 c5n.9xlarge 36 96 7 50 c5n.18xlarge 72 192 14 100 ENA (Elastic Network Adapter) • 剑㣐 100 Gbps ךطحزٙ٦ؙ鸞䏝׾؟ه٦ز. • EFA (Elastic Fabric Adapter) • MPI(Message Passing Interface) ׾ⵃ欽׃׋،فٔ؛٦ءّٝ׾״׶넝鸞ח㹋遤 • 噟歲垥彊ך Libfabric ׾؟ه٦ز
  8. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark P3dn: ꬊ䌢ח넝鸞ז㷕统ך׋׭ך GPU ؎ٝأةٝأ • 32GB 晛 NVIDIA® Tesla® V100 GPU ׾ 8 ⦐ 䵧鯹 • Intel® Xeon® Scalable (Skylake) ך 96v CPU ׾䵧鯹 • 剑㣐 100Gbps ךطحزٙ٦ؙ䚍腉 • 2x900GB ך NVMe SSD דر؍أؙ،ؙإأ׮ׁ׵ח넝鸞ח • $OYMBSHF $OYMBSHF 1EOYMBSHFדכ/8؎ٝة٦ؿؑ٦أEFA(Elastic Fabric Adapter) ׾⢪ְMPIⵃ欽ך،فٔ؛٦ءّٝ׾AWSח知⽃ח獳遤דֹ׷ P3 ؿ؋ىٔ GPUs GPUًٌٔ (GiB) vCPU ًٌٔ (GiB) Storage (GiB) EBS䌒㚖 (Gbps) GPU꟦䱸竲 NW䌒㚖 (Gbps) p3.2xlarge 1 16 8 61 EBSך׫ 1.5 - MAX 10Gbps p3.8xlarge 4 64 32 244 EBSך׫ 7 NVLink 10Gbps p3.16xlarge 8 128 64 488 EBSך׫ 14 NVLink 25Gbps p3dn.24xlarge 8 256 96 768 2 x 900 NVMe SSD 14 NVLink 100Gbps https://aws.amazon.com/blogs/aws/new-ec2-p3dn-gpu-instances-with-100-gbps-networking-local-nvme-storage-for- faster-machine-learning-p3-price-reduction/
  9. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark AWS Inferentia – 堣唒㷕统ך䱿锷ثحف • AWS Inferentia כ⡚؝أزַא넝䚍腉ז堣唒㷕统䱿锷׾㹋植ׅ׷ثحف • TensorFlowApache MXNetPyTorchONNX ؿؓ٦وحز׾⢪欽ׅ׷ ٌرٕ׾؟ه٦ز׃،فٔ؛٦ءّٝך鎘皾؝أزך90׾眍秈〳腉 • 2019 䎃⚥ח䲿⣘Ꟛ㨣✮㹀SageMakerEC2Elastic Inference ָ㼎䘔
  10. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark Chainer ׾ Amazon SageMaker ד⢪ֲ倯岀 • Amazon EC2׾⢪ֲ • Amazon Machine Image (DLAMI) ׾⢪ֲ • ؎ٝأةٝأ欽ח✲⵸ח鏣㹀ׁ׸׋ذٝفٖ٦ز • Apache MXNet, Caffe, Caffe2, Chainer, TensorFlow, CNTK, PyTorch, Keras זוךDL ؿٖ٦يٙ٦ָؙفٖ؎ٝأز٦ׁٕ׸גְ׷ • chainer-cfn: Cloudformation Template for ChainerMN on AWS • Amazon SageMaker ד Chainer ׾⢪ֲ • ؿٕوط٦آسז堣唒㷕统Ꟛ涪فٓحزؿؓ٦ي https://aws.amazon.com/jp/sagemaker/
  11. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 堣唒㷕统ךꟚ涪植㜥חֶֽ׷铬겗 橆㞮圓眠 • Ꟛ涪橆㞮圓眠ָ꬗⦜Ꟛ涪ث٦يד㖱♧זꟚ涪橆㞮甧׍♳־➂䩛♶駈 • 䗳銲זꟚ涪٥麊欽وءٝٔا٦أך鋅琎׮׶ָꨇ׃ְ • CI/CD ػ؎فٓ؎ٝ׾知⽃ח⡲׶׋ְ Ꟛ涪٥㷕统 • 㷕统ٌرٕ׾知⽃ח圓眠׃׋ְ • 㷕统㹋遤橆㞮פ知⽃ח剑黝⻉׃׋ְⴓ侔㷕统זודػؿؓ٦وٝأ׾⳿׃׋ְ • 㣐鋉垷㷕统儗חوءٝٔا٦أָ駈׶זֻז׷ • ٌرٕ盖椚׾知⽃ח׃׋ְٌرٕךزٖ٦؟ؽٔذ؍׾䬐⥂׃׋ְ رفٗ؎٥؟٦ؽأ麊欽 • رفٗ؎⡲噟ָ㣐㢌 • رفٗ؎ח䗳銲הׁ׸׷إٔؗإحزכ堣唒㷕统ؒٝآص،ؚٔٝהכ殯ז׷ • דֹ׷׌ֽ知⽃חرفٗ؎٥麊欽׃׋ְ • 䱿锷欽חػٙ٦ָ妜׃ְ
  12. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark Amazon SageMakerד鍑寸ׅ׷堣唒㷕统ךꟚ涪植㜥חֶֽ׷铬겗 橆㞮圓眠 • Ꟛ涪橆㞮圓眠ָ꬗⦜Ꟛ涪ث٦يד㖱♧זꟚ涪橆㞮甧׍♳־➂䩛♶駈 → ؝ٝذش • 䗳銲זꟚ涪٥麊欽وءٝٔا٦أך鋅琎׮׶ָꨇ׃ְ → 儗꟦铬ꆃ٥ؔ٦زأ؛٦ٕ • CI/CD ػ؎فٓ؎ٝ׾知⽃ח⡲׶׋ְ → AWSך׉ך➭ך؟٦ؽأה鸬䵿 Ꟛ涪٥㷕统 • 㷕统ٌرٕ׾知⽃ח圓眠׃׋ְ → 鞢㺡זSageMaker Examples • 㷕统㹋遤橆㞮פ知⽃ח剑黝⻉׃׋ְⴓ侔㷕统זודػؿؓ٦وٝأ׾⳿׃׋ְ → 知⽃חⴓ侔㷕统 • 㣐鋉垷㷕统儗חوءٝٔا٦أָ駈׶זֻז׷ → 剑㣐آّـ侧װ⚛⴨آّـ侧׾㹀纏 • ٌرٕ盖椚׾知⽃ח׃׋ְٌرٕךزٖ٦؟ؽٔذ؍׾䬐⥂ → Ⰻגך穠卓׾⥂㶷٥盖椚 رفٗ؎٥؟٦ؽأ麊欽 • رفٗ؎⡲噟ָ㣐㢌 → 知⽃חرفٗ؎דֹ׷ • رفٗ؎ח䗳銲הׁ׸׷إٔؗإحزכ堣唒㷕统ؒٝآص،ؚٔٝהכ殯ז׷ • דֹ׷׌ֽ知⽃חرفٗ؎٥麊欽׃׋ְ • 䱿锷欽חػٙ٦ָ妜׃ְ → ؔ٦زأ؛٦ٕElastic Inference
  13. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark Chainer on SageMaker : 2019䎃3剢30傈؟ه٦ز朐屣 https://github.com/aws/sagemaker-python- sdk/blob/master/src/sagemaker/chainer/README.rst Dependencies Chainer 4.0.0 Chainer 4.1.0 Chainer 5.0.0 chainer 4.0.0 4.1.0 5.0.0 chainercv 0.9.0 0.10.0 0.10.0 chainermn 1.2.0 1.3.0 N/A CUDA (GPU image only) 9.0 9.0 9.0 cupy 4.0.0 4.1.0 5.0.0 matplotlib 2.2.0 2.2.0 2.2.0 mpi4py 3.0.0 3.0.0 3.0.0 numpy 1.14.3 1.15.3 1.15.4 opencv-python 3.4.0.12 3.4.0.12 3.4.0.12 Pillow 5.1.0 5.3.0 5.3.0 Python 2.7 or 3.5 2.7 or 3.5 2.7 or 3.6 • 匌❨ٔ٦آّٝד׮ⵃ欽〳腉
  14. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ٓكؚٔٝ "NB[PO4BHF.BLFSד遤ֲ堣唒㷕统Ꟛ涪ך崧׸
  15. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ٓكؚٔٝ ،ظذ٦ءّٝ侄䌌ر٦ةךٓكٕבֽ
  16. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark Amazon SageMaker Ground Truth ر٦ةחٓكٕ (SPVOE5SVUI ׾➰♷ׅ׷،ظذ٦ءّٝ⡲噟ך佄䴂؟٦ؽأ • ،ظذ٦ءّٝחֶֽ׷♧菙涸זٙ٦ؙؿٗ٦ך盖椚خ٦ٕ • ٓكٕ׾➰♷ׅ׷ٙ٦ؕ٦כ"NB[PO.FDIBOJDBM5VSL㢩鿇كٝت "84 .BSLFUQMBDF 荈爡ךفٓ؎ك٦زث٦ي ךאַ׵鼅䫛 • ⟃♴ך珏겲ךةأؙぢֽ،ظذ٦ءّٝخ٦ٕ׮䲿⣘׉׸⟃㢩׮ؕأةي〳腉 歗⫷ⴓ겲 暟⡤嗚⳿ 俑畍ⴓ겲 إوٝذ؍حؙ إًؚٝذ٦ءّٝ
  17. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ٓكؚٔٝ 堣唒㷕统ךٌرٕ׾Ꟛ涪ׅ׷
  18. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 堣唒㷕统ٌرٕ圓眠ך鼅䫛肇 • Amazon SageMaker ؽٕس؎ٝ،ٕ؞ٔؤي׾⢪ֲ • XGboost װ Factorization MachineObject Detection, Semantic Segmentation זו • 荈⵸ך㷕统欽أؙٔفز׾⢪ֲ • Chainer ׾כׄ׭TensorFlow, MXNet, PyTorch, scikit- learn ך 㷕统٥䱿锷欽SageMaker؝ٝذش׾䲿⣘ • AWS Marketplaceדٌرٕ׾飑Ⰵׅ׷ • SageMaker דⵃ欽דֹ׷ 㷕统〳腉זٌرٕ䱿锷欽ךؒٝ سه؎ٝز׾儗꟦⽃⡘ד飑Ⰵ٥ⵃ欽דֹ׷
  19. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ٓكؚٔٝ 堣唒㷕统ךٌرٕ׾Ꟛ涪٥رفٗ؎ • "NB[PO4BHF.BLFS+VQZUFS/PUFCPPL㷕统٥䱿锷ٙ٦ؙؿٗ٦׾鎸鶢 • $IBJOFS 欽ך㷕统٥䱿锷ך׋׭ך4BHF.BLFS؝ٝذش׾彊⪒ • 㷕统欽ך "84؎ٝأةٝأ׾㷕统儗׌ֽ饯⹛ • $IBJOFS./ ׾⢪׏׋ⴓ侔㷕统 • ك؎ؤ剑黝⻉׾欽ְ׋ع؎ػ٦ػًٓ٦ة剑黝⻉
  20. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark Amazon SageMaker ך饯⹛
  21. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark Chainer ח״׷زٖ٦صؚٝ https://github.com/aws/sagemaker-python- sdk/blob/master/src/sagemaker/chainer/README.rst زٖ٦صؚٝأؙٔفز `chainer-train.py` ׾䭷㹀 S3♳ך㷕统ر٦ة׾䭷㹀 ؒٝزٔه؎ٝز׾䭷㹀 ٕ٦زر؍ؙٖزٔכ `source_dir`ד䭷㹀〳腉
  22. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 㹋遤أؙٔفزך㛇劤涸ז剅ֹ倯 • main ؖ٦سך⚥ח㷕统Ⳣ椚׾׉ ךתת剅ֻ • SageMaker ⩎ד䒷侧ה׃ג床ׁ ׸׷ hyperparameter װ Ⰵ⸂ ر٦ةךػأ זו׾argparseד ػ٦أ׃ג铣׫《׷ • 䱿锷ؒٝسه؎ٝزחֶֽ׷ٌ رٕךٗ٦سⳢ椚׾NPEFM@GO ⰻח鎸鶢SageMaker ד䲿⣘ׁ ׸׷䱿锷؝ٝذشָֿךٌر ٕ׾㹋遤
  23. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ChainerMN ׾⢪׏׋ⴓ侔㷕统 • $IBJOFS./ ח״׷.1*׾⢪׏׋ⴓ侔㷕统ָ4BHF.BLFS♳דּׅח⢪ִ׷ • 䎃剢傈儗挿דכ$IBJOFS./ ך㼎䘔כ WFS$IBJOFSתד • ؿٖ٦يٙ٦ؙغ٦آָّٝ䭷㹀ׁ׸זְ㜥さכرؿٕؓزד ָ鼅䫛ׁ׸׷ • USBJO@JOTUBODF@DPVOU ָ ״׶㣐ְֹ㜥さחNQJSVO ד㷕统أؙٔفز׾㹋遤
  24. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ع؎ػ٦ػًٓ٦ة剑黝⻉ (HPO) 1. Chainer estimator ⴱ劍⻉ךꥷח hyperparameter ׾䭷㹀 2. HyperparameterTuner ח hyperparameter_ranges ׾床ׅ 鸬竲٥ꨄ侔ך眔㔲䭷㹀آّـⰻד ك؎ؤ剑黝⻉ח״׷HPO 3. HyperparameterTunerחثُ٦ص ؚٝ㼎韋ך () װة٦؜حزً زؙٔأ׾䭷㹀CloudWatch Logs ח䬄⳿ׁ׸׷ • HPO ؐؓ٦يأة٦ز堣腉׮ⵃ欽〳腉 • Optuna׮RDSהה׮חⵃ欽〳腉 https://github.com/aws/sagemaker-python-sdk#sagemaker-automatic-model-tuning https://aws.amazon.com/jp/blogs/news/amazon-sagemaker-automatic-model-tuning-becomes- more-efficient-with-warm-start-of-hyperparameter-tuning-jobs/ ΍ Ύ Ώ
  25. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ٓكؚٔٝ 堣唒㷕统ךٌرٕ׾Ꟛ涪٥رفٗ؎ • 䱿锷欽ךؒٝسه؎ٝزך甧׍♳־ָ知⽃ • 4BHF.BLFS/FPח״׷ٌرٕ㢌䳔
  26. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark رفٗ؎ָ知⽃ח㹋鄲דֹ׷ • deloy() ًاحسד㷕统幥׫ךٌرٕ׾׮החؒٝسه؎ٝزָ⡲䧭ׁ׸׷ • predict()ًاحسד㹋ꥷח䱿锷׾遤ֲ • ⴱ劍؎ٝأةٝأ侧׾䭷㹀ׅ׷הⰅ⸂ח䘔ׄגؒٝسه؎ٝزך؎ٝأةٝأָ ؔ٦زأ؛٦ٕ ׋׏׋遤דرفٗ؎דֹ׷ • غحث㢌䳔آّـ • ꬊٔ،ٕة؎يך䱿锷غحث䱿锷׾ USBOTGPSNFSUSBOTGPSN ד㹋遤 • ؒٝسه؎ٝز׾甧ג竲ֽ׷ֿהזֻ䱿锷חⵃ欽׃׋ⴓך׫ך铬ꆃ
  27. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark • SageMaker ד㷕统׃׋ٌرٕ׾䱿锷橆㞮ח剑黝⻉ׁ׸׋䕎ד؝ٝػ؎ٕ • 5FOTPS'MPXװ 1Z5PSDIזוךؿٖ٦يٙ٦ؙ㔿剣ך堣腉乼⡲׾וֿד׮㹋遤 דֹ׷⽃♧ך؝ٝػ؎ٕ幥׫橆㞮ח㢌䳔 • رفٗ؎ًٝزفٓحزؿؓ٦ي♳ךٔا٦أ׾玎䏝ח⵴幾䱿锷ך넝鸞⻉ • &$؎ٝأةٝأװ (SFFOHSBTT رغ؎أ♳ד넝鸞ח⹛⡲ׅ׷״ֲח㢌䳔ׅ׷ • 0//9ח㼎䘔$IBJOFS̔ 0//9דⵃ欽〳腉 Amazon SageMaker Neo https://aws.amazon.com/jp/blogs/news/amazon-sagemaker-neo-train-your-machine-learning-models-once-run-them-anywhere/ https://docs.aws.amazon.com/sagemaker/latest/dg/neo.html
  28. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark OSS Neo-AI فٗآؙؑز • OSS Neo-AI ׾ 2019䎃1剢涪邌 • ٙءٝزٝ㣐㷕ך OSS 灇瑔فٗآؙؑز DMLC (Distributed Machine Learning Common ) ךTVMהTreelite׾䭁䓸 • TVM: Deep learning stack compiler for CPU, GPU. • Treelite: Decision tree compiler • LLVMװHalideזוך䖞勻ך؝ٝػ؎ٓذؙ ظٗآחꟼׅ׷侧⼧䎃ח׻׋׷灇瑔ח㛇ב ְג圓眠ׁ׸׋ٓٝة؎ي • 植㖈כ AWS, ARM, Intel, NVIDIA׾؟ه٦ز https://github.com/neo-ai/
  29. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ٓكؚٔٝ "NB[PO4BHF.BLFSכ鿇ⴓ涸זⵃ欽׮〳腉 ؔٝفٖ(16׾崞ַ׃׋ְ ̔ 㷕统欽وءٝػٙ٦ָ駈׶זְ הֹ׌ֽ4BHF.BLFSד㷕统 ،ظذ٦ءّٝ欽ךخ٦ٕ ׾"84♳ד知⽃ח⢪ְ׋ְ "84♳ד知⽃ח+VQZUFS橆㞮׾⢪ְ ׋ְⴓ匿欽鷿זו̔ 4BHF.BLFS/PUFCPPLך׫ךⵃ欽 㷕统欽ך橆㞮כ荈⵸ד؝ٝذش圓眠幥׫ رفٗ؎橆㞮׌ֽ知⽃ח׃׋ְ ̔ رفٗ؎ך׫ךⵃ欽
  30. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark • S L 2 / C • A B 2 : @ . : - / @ / / / • @ / / L M W • A . : B 2 : . : .
  31. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark ⿫罋ؙٔٝ • Use Chainer with Amazon SageMakerسًُؗٝز • https://docs.aws.amazon.com/ja_jp/sagemaker/latest/dg/chainer.html • Amazon SageMaker Chainer Estimator ؟ه٦ز䞔㜠 • https://github.com/aws/sagemaker-python- sdk/blob/master/src/sagemaker/chainer/README.rst • Amazon SageMaker PythonSDK ה Chainer Estimator ה ٌرٕךⵃ欽倯岀 • https://github.com/aws/sagemaker-python-sdk#chainer-sagemaker- estimators • Amazon SageMaker Chainer Container • https://github.com/aws/sagemaker-chainer-container • Amazon SageMaker examples • https://github.com/awslabs/amazon-sagemaker-examples
  32. © 2018, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark תה׭ • AWS ♳ח Chainer ؿٖ٦يٙ٦ָؙفٔ؎ٝأز٦ٕ • 䱿锷欽ךرفٗ؎ָꬊ䌢ח知⽃חדֹ׷EC2, DLAMI • Chainer ךغ٦آّٝ،حفر٦زח갫如㼎䘔 • P3dn זוך堣唒㷕统ぢֽ؎ٝأةٝأָٔٔ٦أ • 䎢䌒㚖ךطحزٙ٦ؙفٗز؝ָٕⵃ欽〳腉 • Amazon SageMaker • ؿٕوط٦آسז堣唒㷕统ך׋׭ך؟٦ؽأ • ⴓ侔㷕统ָ知⽃ח⢪ִ׷ • رفٗ؎ָ知⽃חדֹ׷