diff --git a/AWS.md b/AWS.md deleted file mode 100644 index 395baaf..0000000 --- a/AWS.md +++ /dev/null @@ -1,15 +0,0 @@ -# AWSでやる場合の手順書 - -## インスタンス起動 -g4dn.2xlargeの立ち上げ -ベースAMIは素のubuntu18.04 - -## インスタンス内準備 - -- ドライバインストール - https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/install-nvidia-driver.html - https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/optimize_gpu.html - など参照 -- dockerのインストール - utils/install-docker.sh参照 - diff --git a/utils/install-docker.sh b/utils/install-docker.sh deleted file mode 100644 index 2cc0f9f..0000000 --- a/utils/install-docker.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -# install docker-ce and nvidia-container-runtime on Debian/Ubuntu -# this requires sudo - -# https://nvidia.github.io/nvidia-container-runtime/ -curl -s -L https://nvidia.github.io/nvidia-container-runtime/gpgkey | \ - sudo apt-key add - -distribution=$(. /etc/os-release;echo $ID$VERSION_ID) -curl -s -L https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.list | \ - sudo tee /etc/apt/sources.list.d/nvidia-container-runtime.list -sudo apt-get update -sudo apt-get install nvidia-container-runtime - -# https://docs.docker.com/v17.09/engine/installation/linux/docker-ce/ubuntu/#upgrade-docker-ce -curl -fsSL get.docker.com -o get-docker.sh -sudo sh get-docker.sh - -# add $USER to docker group -# to run without docker -sudo gpasswd -a $USER docker - -# to test (with gpu) -# docker run --gpus all nvidia/cuda nvidia-smi -# or (without gpu) -# docker run hello-world - diff --git a/utils/install-nvidia-driver.sh b/utils/install-nvidia-driver.sh deleted file mode 100644 index 5c16a65..0000000 --- a/utils/install-nvidia-driver.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -wget https://us.download.nvidia.com/tesla/418.87/NVIDIA-Linux-x86_64-418.87.01.run -sudo bash NVIDIA-Linux-x86_64-418.87.01.run diff --git a/utils/set-nvidia-gpus-performance.sh b/utils/set-nvidia-gpus-performance.sh deleted file mode 100644 index 79207bc..0000000 --- a/utils/set-nvidia-gpus-performance.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# for Nvidia Tesla T4 on AWS G4 instances -# https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/optimize_gpu.html -sudo nvidia-persistenced -sudo nvidia-smi --auto-boost-default=0 -sudo nvidia-smi -ac 5001,1590