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

クックパッドの機械学習を支える基盤のつくりかた ~番外編~ / Machine Learnin...

クックパッドの機械学習を支える基盤のつくりかた ~番外編~ / Machine Learning ops at Cookpad

第12回 Machine Learning 15minutes! にて https://machine-learning15minutes.connpass.com/event/52835/

Yuichiro Someya

May 30, 2017
Tweet

More Decks by Yuichiro Someya

Other Decks in Programming

Transcript

  1.  ࣗݾ঺հ ‣ www.ayemos.me ‣ github.com/ayemos ‣ twitter.com/ayemos_y ‣ છ୩༔Ұ࿠<:VJDIJSP4PNFZB>

     ೥݄౦ژ޻ۀେֶେֶӃܭࢉ޻ֶઐ߈म࢜  ೥݄ʙݱࡏΫοΫύουגࣜձࣾݚڀ։ൃ෦
  2.  ‣ ݚڀ։ൃ෦ʹઐ೚ͷΠϯϑϥ୲౰͕͍ͳ͍  ೥݄౰࣌ͷঢ়گ  ‣ (16؀ڥͷߏங͸೉͍͠  OWJEJBESJWFS

    DVEB DVEOO %//ϑϨʔϜϫʔΫ ʜ ‣ (16؀ڥ͕ඞཁʹͳ͔ͬͯΒ࢖͍࢝ΊΔ·Ͱिؒ 
  3.  { "builders": [{ "type": "amazon-ebs", "region": "ap-northeast-1", "ami_regions": ["us-east-1",

    "ap-northeast-1"], "source_ami": "ami-d85e7fbf", "instance_type": "g2.2xlarge", "ssh_username": "ubuntu", "ssh_timeout": "10m", }], "provisioners": [ { "type": "chef-solo", "cookbook_paths": ["cookbooks", "site-cookbooks"], "run_list": [ "recipe[apt]", "nvidia-driver", "docker-install", "cuda-apt-source", "cuda", "cudnn", "awscli" ] } ] }  package 'nvidia-361' do end execute "install nvidia driver" do command "curl -sLo /tmp/nvidia-driver #{node["nvidia_driver"]["source"]} "test #{node["nvidia_driver"]["sha256sum"]} '=' \"$(sha256sum /tmp/nvid "chmod +x /tmp/nvidia-driver && " \ "/tmp/nvidia-driver -asZN && " \ "rm /tmp/nvidia-driver" not_if "test -d /proc/driver/nvidia" end