![]() etc/os-release echo $ID$VERSION_ID | sed -e 's/\.//g') ![]() Sudo apt-get install linux-headers-$(uname -r)ĭistribution=$(. Sudo timedatectl set-timezone Asia/Singapore The startup script will install Docker and a few more useful libraries on your newly created machine: echo "startup-script" metadata-from-file startup-script=startup_gcp.sh \ network-interface subnet=default-subnet \ accelerator=count=1,type=nvidia-tesla-t4 \ ![]() If you are planning a relatively short training period (less than 24 hours), you may want to create a cheaper preemptible instance: gcloud compute instances create gcp_instance_name \
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |