You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/v1/workloadprofile_types.go
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,16 @@ const (
33
33
// WorkloadProfileSpec defines the desired state of WorkloadProfile.
34
34
typeWorkloadProfileSpecstruct {
35
35
// +optional
36
+
// If replicas not set, it will be dynamic based on pending Pod
37
+
// If isLocalGPU set to true, replicas must be dynamic, and this field will be ignored
36
38
Replicas*int32`json:"replicas,omitempty"`
37
39
38
40
// +optional
39
41
PoolNamestring`json:"poolName,omitempty"`
40
42
41
43
// +optional
44
+
ResourcesResources`json:"resources"`
42
45
43
-
ResourcesResources`json:"resources,omitempty"`
44
46
// +optional
45
47
// Qos defines the quality of service level for the client.
46
48
QosQoSLevel`json:"qos,omitempty"`
@@ -57,9 +59,8 @@ type WorkloadProfileSpec struct {
57
59
GPUCountuint`json:"gpuCount,omitempty"`
58
60
59
61
// +optional
60
-
// TODO, not implemented
61
62
// This mode is only available when `is-local-gpu` set to true, in this mode, TensorFusion will also inject vGPU worker into init container, so that to achieve best performance, trade-off is user might by-pass the vGPU worker and using physical GPU directly
0 commit comments