# Run in the Cloud Environment

{% hint style="info" %}
**Each cloud run can be configured differently.**
{% endhint %}

**STEP 1.**

Don't waste cloud resources! Run some local tests first.

If a code doesn't run on your environment, it won't run on the cloud.&#x20;

<figure><img src="https://4037915796-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfKvHQp0gfJ0KWp7aVZQP%2Fuploads%2FeflmuQNwiSmQgUYMaoux%2Fimage.png?alt=media&#x26;token=ba73befe-ef74-44aa-9290-4a07a034a713" alt=""><figcaption><p>Local test</p></figcaption></figure>

**STEP 2.**

The system is parsing your code dependencies to assign you a CPU or GPU cloud environment.

{% hint style="info" %}
GPUs are very expensive and bad for the environment. 🌳

Don't claim a GPU if you don't need it!
{% endhint %}

<figure><img src="https://4037915796-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfKvHQp0gfJ0KWp7aVZQP%2Fuploads%2F5UAP5UzDF5b0sCvYPIPw%2Fimage.png?alt=media&#x26;token=29a018b3-ac40-40c0-a511-91c7e1d514ea" alt=""><figcaption><p>GPU vs CPU</p></figcaption></figure>

**STEP 3.**

You can configure the re-training frequency of your model as you wish.

{% hint style="info" %}
Remember that your code will need to process all the dates in the private test set in under 5 hours of compute. Adjust your retraining frequency so that your code remains within the limits.
{% endhint %}

<figure><img src="https://4037915796-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfKvHQp0gfJ0KWp7aVZQP%2Fuploads%2FafvxbrlAAklZsozioarD%2Fimage.png?alt=media&#x26;token=6ccecbb4-5b49-446d-966b-1861ff77a461" alt=""><figcaption><p>Training frequency</p></figcaption></figure>
