spotty-cloud / spotty

Training deep learning models on AWS and GCP instances
https://spotty.cloud
MIT License
493 stars 43 forks source link

gcp example yaml missing #68

Closed raijinspecial closed 4 years ago

raijinspecial commented 4 years ago

I've been using spotty with aws and it works really well. I am struggling now with making a functional spotty.yaml for gcp, would it be possible to post a functioning example like there is for aws?

raijinspecial commented 4 years ago

I'll close this with my working example.

instances:
  - name: spotty
    provider: gcp
    parameters:
      zone: us-central1-a
      machineType: n1-standard-1
      gpu:
        type: nvidia-tesla-v100
        count: 1
      bootDiskSize: 64
      dockerDataRoot: /docker
      volumes:
        - name: docker
          parameters:
              size: 512
              mountDir: /docker
              deletionPolicy: retain
        - name: spotty
          parameters:
            size: 1024
            deletionPolicy: retain