Skip to content

cameronraysmith/blog-tpi-bees

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An example of setting up remote cloud environment for training a machine learning model using Terraform Provider Iterative.

See the blog post at https://dvc.org/blog/local-experiments-to-cloud-with-tpi for a full explanation.

The main.tf file contains two different tasks:

  1. basic scenario for running a script remotely, and
  2. training a model on a GPU device

To run this tutorial, make sure to have a cloud account (AWS, Azure, GCP, or K8s) with authentication credentials stored as environment variables.

  1. Install Terraform
  2. terraform init: setup dependencies
  3. terraform apply: provision cloud infrastructure & upload task
  4. terraform refresh && terraform show: check status
  5. terraform destroy: download results and terminate cloud infrastructure

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.2%
  • HCL 27.8%