]> git.arvados.org - arvados.git/blob - services/workbench2/src/models/runtime-constraints.ts
23063: combined property chip generation to eliminate duplicate code
[arvados.git] / services / workbench2 / src / models / runtime-constraints.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 export interface GPUParameters {
6     stack: string;
7     driver_version: string;
8     hardware_target: string[];
9     device_count: number;
10     vram: number;
11 }
12
13 export interface RuntimeConstraints {
14     ram: number;
15     vcpus: number;
16     keep_cache_ram?: number;
17     keep_cache_disk?: number;
18     API: boolean;
19     gpu?: GPUParameters;
20 }