23 lines
568 B
Go
23 lines
568 B
Go
|
/*
|
||
|
* oc-catalog API
|
||
|
*
|
||
|
* Backend of the oc-search project
|
||
|
*
|
||
|
* API version: 1.0.0
|
||
|
* Contact: opencloud@irt-saintexupery.com
|
||
|
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||
|
*/
|
||
|
|
||
|
package swagger
|
||
|
|
||
|
type ModelsExecutionRequirementsModel struct {
|
||
|
Cpus int32 `json:"cpus"`
|
||
|
DiskIo string `json:"disk_io,omitempty"`
|
||
|
// Amount of GPUs needed
|
||
|
Gpus int32 `json:"gpus,omitempty"`
|
||
|
Parallel bool `json:"parallel,omitempty"`
|
||
|
// Units in MB
|
||
|
Ram int32 `json:"ram"`
|
||
|
ScalingModel int32 `json:"scaling_model,omitempty"`
|
||
|
}
|