consts

package
v0.5.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GPUDeviceType  = "gpu_device"
	RDMADeviceType = "rdma_device"

	// GPUResourcePluginPolicyNameStatic is the policy name of static gpu resource plugin
	GPUResourcePluginPolicyNameStatic = string(consts.ResourcePluginPolicyNameStatic)

	GPUPluginDynamicPolicyName = qrm.QRMPluginNameGPU + "_" + GPUResourcePluginPolicyNameStatic
	ClearResidualState         = GPUPluginDynamicPolicyName + "_clear_residual_state"

	GPUMemPluginName = "gpu_mem_resource_plugin"

	StateCheckPeriod          = 30 * time.Second
	StateCheckTolerationTimes = 3
	MaxResidualTime           = 5 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocatableResource

type AllocatableResource struct {
	ResourceName string
	*pluginapi.AllocatableTopologyAwareResource
}

type AllocatedResource

type AllocatedResource struct {
	ResourceName string
	PodName      string
	PodNamespace string
	*pluginapi.TopologyAwareResource
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL