-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathgpu.tt2
More file actions
81 lines (77 loc) · 3.64 KB
/
Copy pathgpu.tt2
File metadata and controls
81 lines (77 loc) · 3.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[%- PROCESS header.tt2 -%]
[%- PROCESS instances_header.tt2 -%]
<h1>Google Compute Engine Machine Types with Graphics Processing Units (GPUs)</h1>
[%- countGpu = 0; FOREACH instance IN instances; IF instance.acceleratorCount && instance.acceleratorCount > 0; countGpu = countGpu + 1; END; END -%]
<blockquote class="blockquote">
<p>
There are <mark>[% countGpu %]</mark> Google Compute Engine machine types with graphics processing units (GPUs) available.
Not every GCE machine type with GPU is available in every Google Cloud region.
</p>
</blockquote>
<p><a class="btn btn-success" href="/grid.html?gpu=1" role="button">✅ Instance Picker with filter on GPUs</a></p>
<div class="table-responsive">
[%- PROCESS instances_tr.tt2; -%]
<table
class="table table-sm table-hover table-bordered"
data-classes="table table-sm table-hover table-bordered"
data-toggle="table"
data-sort-name="gpus"
data-sort-order="asc"
data-sortable="true"
data-sticky-header="true"
>
<thead>
<tr>
<th scope="col" colspan="7">Machine Type</th>
<!-- Regions -->
<th scope="col">Regions</th>
<!-- Costs -->
<th scope="col" colspan="5">Costs (Avg. Region)</th>
</tr>
<tr>
<th scope="col" data-sortable="true">Name</th>
<th scope="col" data-field="vcpu" data-sortable="true">vCPU</th>
<th scope="col" data-sortable="true">Base Clock</th>
<th scope="col" data-sortable="true">Memory</th>
<th scope="col" data-field="gpus" data-sortable="true">GPUs</th>
<th scope="col" data-sortable="true">Type</th>
<th scope="col"></th>
<!-- Regions -->
<th scope="col">#</th>
<!-- Costs -->
<th scope="col" data-sortable="true">Hour</th>
<th scope="col" data-sortable="true">Spot</th>
<th scope="col" data-sortable="true">Month</th>
<th scope="col" data-sortable="true">1Y CUD</th>
<th scope="col" data-sortable="true">3Y CUD</th>
</tr>
</thead>
<tbody>
[%- FOREACH instance IN instances; IF instance.acceleratorCount && instance.acceleratorCount > 0; -%]
<tr>
<td><a href="[% instance.name %].html" title="Google Compute Engine machine type [% instance.name %]">[% instance.name %]</a></td>
<td class="text-nowrap">[% instance.vCpus %][% badgeSharedCpu(instance) %]</td>
<td class="frequency" title="CPU base clock frequency: [% instance.cpuBaseClock %] GHz">[% instance.cpuBaseClock %]</td>
<td class="memory" title="Random-access memory: [% instance.memoryGB %] GB">[% instance.memoryGB %]</td>
<td title="Accelerator (GPUs): [% instance.acceleratorCount %]">[% instance.acceleratorCount %]</td>
<td title="Accelerator Type: [% instance.acceleratorType %]">[% instance.acceleratorType %]</td>
<td>
[% badgeCpuManufactur(instance) %]
[% badgeSpot(instance) %]
[% badgeSud(instance) %]
[% badgeLocalSsd(instance) %]
</td>
<!-- Regions -->
<td>[% instance.regionCount %]</td>
<!-- Costs -->
<td class="currency" title="[% instance.name %] avg. per hour: [% instance.avgHour %] USD">[% instance.avgHour %]</td>
<td class="currency" title="[% instance.name %] avg. costs per hour with spot provisioning model (Spot VM): [% instance.avgHourSpot %] USD">[% instance.avgHourSpot %]</td>
<td class="currency" title="[% instance.name %] avg. costs per month: [% instance.avgMonth %] USD[% IF instance.sud %] with sustained use discounts (SUD) applied[% END %]">[% instance.avgMonth %]</td>
<td class="currency" title="[% instance.name %] avg. per month w. 1Y CUD: [% instance.avgMonth1yCud %] USD">[% instance.avgMonth1yCud %]</td>
<td class="currency" title="[% instance.name %] avg. per month w. 3Y CUD: [% instance.avgMonth3yCud %] USD">[% instance.avgMonth3yCud %]</td>
</tr>
[% END; END; %]
</tbody>
</table>
</div> <!-- // table-responsive -->
[% PROCESS footer.tt2 %]