Skip to content

Commit 304a101

Browse files
authored
Merge pull request #3312 from travis-ci/GPU-Support
Gpu support
2 parents d723045 + 45ba743 commit 304a101

File tree

2 files changed

+59
-5
lines changed

2 files changed

+59
-5
lines changed

user/billing-overview.md

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Credits are used to pay for each build job minute on macOS. Purchase only the cr
6363
1. Sign in to Travis CI with the [Version Control System of your choice](/user/tutorial/).
6464
2. Navigate to the [Plan tab](https://app.travis-ci.com/account/plan) and select 'X concurrent jobs Plan'.
6565
3. Enter your billing details. **Please note that all prices are provided netto, w/o any VAT or other applicable local taxes**. If you are EU based VAT paying company, do not forget to enter your VAT number.
66-
4. Confirm transaction.
66+
4. Confirm the transaction.
6767

6868

6969
## Usage-based plans
@@ -262,15 +262,15 @@ With every build started, Travis CI keeps track of how many unique users trigger
262262
263263
| Area | Details |
264264
| :--- | --- |
265-
| **Payment** | Credits are paid in advance:<BR />1. Upon purchasing a Plan, an immediate charge is applied depending on credits allotment coming with a Plan.<BR />2. The additional credit addons can be purchased at any time, and credits are only used when you need them. The charge is applied immediately upon transaction.<BR /><BR />The user license cost is charged automatically in arrears at the end of each billing period (Usage Plan w/o subscription). The number of unique users triggering a build is charged according to the license rates.<br /><br />The Free Plan assigned upon sign-up grants you unlimited users for free. |
265+
| **Payment** | Credits are paid in advance:<BR />1. Upon purchasing a Plan, an immediate charge is applied depending on the credits allotment coming with a Plan.<BR />2. The additional credit addons can be purchased at any time, and credits are only used when you need them. The charge is applied immediately upon transaction.<BR /><BR />The user license cost is charged automatically in arrears at the end of each billing period (Usage Plan w/o subscription). The number of unique users triggering a build is charged according to the license rates.<br /><br />The Free Plan assigned upon sign-up grants you unlimited users for free. |
266266
| **Private/Public repositories** | With Credits, you can build over both private and public repositories. <BR/> With OSS Credits, you can build only over public repositories. |
267-
| **Build job limits** | Very high. <BR/><BR/>The Free Plan assigned automatically upon sign-up has a limit of 20 concurrent jobs. The paid usage based plans start from a 40 concurrent jobs limit. |
267+
| **Build job limits** | Very high. <BR/><BR/>The Free Plan assigned automatically upon sign-up has a limit of 20 concurrent jobs. The paid usage-based plans start from a 40 concurrent jobs limit. |
268268
269269
270270
### Usage-based Plan - How to obtain?
271271
272272
1. Sign in to Travis CI with a [Version Control System of your choice](/user/tutorial/).
273-
2. Navigate to the [Plans](https://app.travis-ci.com/account/plan) and have your billing and contact details fill in correctly.
273+
2. Navigate to the [Plans](https://app.travis-ci.com/account/plan) and have your billing and contact details filled in correctly.
274274
3. Contact [Travis CI support](mailto:[email protected]) requesting a Usage-based Plan.
275275
276276
@@ -299,7 +299,40 @@ VM size property impacts the cost of build minutes/credits usage in the followin
299299

300300

301301

302-
> If you run a Linux build in usage model, it'll cost you 10 credits. If you run a Linux build under a concurrency plan, you do not need credits, as the subscription covers the cost. However, if you decide to run a Linux build using the `large` instance size, you will need in both cases 20 credits per every started build minutes (2 x 10 credits).
302+
> If you run a Linux build in usage model, it'll cost you 10 credits. If you run a Linux build under a concurrency plan, you do not need credits, as the subscription covers the cost. However, if you decide to run a Linux build using the `large` instance size, you will need, in both cases, 20 credits per every started build minutes (2 x 10 credits).
303+
304+
305+
## GPU VM Instance Sizes and Credit Cost for GPU builds
306+
307+
Travis CI allows users to trigger GPU builds both in usage-based and concurrency-based plans.
308+
309+
GPU builds allow you to choose the instance size the build will run on (for the 'full vm' build job). X-large instance sizes deliver more resources (vCPU and RAM) for your build jobs. This can be done by setting a 'vm' property in the .travis.yml config. This property allows you to choose the Virtual machine instance for a build:
310+
311+
```yaml
312+
vm:
313+
size: [gpu-medium | gpu-xlarge] #new values in the schema for existing key
314+
```
315+
316+
Instance sizes do not apply to Windows, and OSX build jobs. Visit our [CI Environment Overview page](/user/reference/overview#gpu-vm-instance-size) for information on the available GPU VM sizes, operating system, and CPU architecture.
317+
318+
To use instance sizes:
319+
320+
* you need to have credits under your account, regardless of the plan (Concurrency or Usage-based) you use.
321+
* you need to add the tags mentioned above to your `.travis.yml.`
322+
* you need to select a Linux operating system in your `travis.yml.`
323+
324+
GPU VM size property impacts the cost of build minutes/credits usage in the following way:
325+
326+
| GPU VM size | Credits per<br />started build minute |
327+
|:--------------------:|:-------------------------------------:|
328+
| T4 medium | 230 |
329+
| V100 x-large | 890 |
330+
331+
332+
> GPU Support is only available for:
333+
> * arch: amd64
334+
> * os: Linux
335+
> * dist: [focal] # jammy still under fixing, to be added later, xenial EOL, bionic will go EOL in April 2023.
303336

304337

305338
## Getting Help

user/reference/overview.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,27 @@ Each tier of instance size delivers more vCPU and RAM resources available at you
262262
| 2x-large | 16 | ~64 | requires credits to use; may be limited to certain Plans|
263263

264264

265+
## GPU VM Instance Size
266+
267+
You can choose to run your GPU builds on various GPU "sizes". All you need to do is type the appropriate instance size to your `.travis.yml` using the following tags and one of the available values:
268+
269+
```yaml
270+
vm:
271+
size: [gpu-medium | gpu-xlarge] #new values in the schema for existing key
272+
```
273+
{: data-file=".travis.yml"}
274+
275+
Available instance sizes can be selected for the following build jobs:
276+
* OS is Linux
277+
* CPU architecture is amd64
278+
279+
Please note that the usage of GPU VM instance sizes requires available credits in the user's account. Read more in our [billing overview](/user/billing-overview/).
280+
281+
| Size | vCPU | HDD Memory GB | Memory Type | RAM | GPU | Comment |
282+
|:------------------:|:------------:|:-----------:|:------------------:|:----------:|:---------------------------:|:-------------------------:|
283+
| gpu-medium | 8 | ~300 | 16 GB GDDR6 | 30GB | n1-standard-8 + NVIDIA T4 | Requires credits to use |
284+
| gpu-xlarge | 8 | ~300 | 16 GB HBM2 | 30GB | n1-standard-8 + NVIDIA V100 | Requires credits to use |
285+
265286

266287
## Deprecated Virtualization Environments
267288

0 commit comments

Comments
 (0)