Thanks a lot for your effort in creating AMI with reduced size. However, for some reason I can’t access slack (I only tried today though) through the slack link (updated one) provided on forum. I wonder whether you could paste your solution steps on forum as well, since forum is the first place we are recommended to go.
Hi @Daniel … sorry for the late reply. I will have to rejig my memory to recall the exact steps but this thread from the start is an attempt to create an ami from scratch. Pls let us know if you are running into specific issues.
Get the latest scripts from the fastai github directory onto your local machine with git. This depends on how exactly you got the scripts from the fastai github in the first place. I use mobaterm to ssh into a permanently running linux VM, and used git fetch to update the repo. You could just re-download the zip from github if you are using windows.
Copy either setup_p2.sh or setup_t2.sh to setup.sh (I did cp setup_t2.sh setup.sh on linux)
Open setup.sh and change two lines – change ami to the new ami that @vshets created, and change the VolumeSize to 30.
See below for the diff (the lines starting with < are from the new setup file I created):
Hi @jeremy,
I am trying to access the mentioned AMI created to build a reduced volume but I cannot access the Slack. I tried to use the link mentioned by @rachel to receive an invitation but I never receive the link to slack in my email. So, I am struggling to try to create a new AMI. Any help on this?
Regards.
@nunb I tried your steps and got the instance running. After ssh’ing in, I ran install-gpu.sh. However, running nvidia-smi fails. I get the message “NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.”
yes – you need a P2 instance to use the nvidia-smi command.
If you are using a T2 the nvidia command won’t work. you will have to configure keras to use cpu (it’s a one line change) and in general everything will run, but just slower. there is a procedure to request p2 instances … you have to open a case with AWS support.
@nunb@vshets I am a newbie to AWS. I am trying to use the ami-9c54f4fc AMI in us-east-1 but get this error possibly since the AMI is not there in us-east . How do I get the AMI to us-east-1… Is there a corresponding version for us-east-1
**An error occurred (InvalidAMIID.NotFound) when calling the RunInstances operation: The image id ‘[ami-9c54f4fc]’ does not exist. I tried coying over from Oregon to Virginia but then I got an error that I do not have access