consts

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CortexVersion      = "0.24.1" // CORTEX_VERSION
	CortexVersionMinor = "0.24"   // CORTEX_VERSION_MINOR

	SingleModelName = "_cortex_default"

	DefaultImagePythonPredictorCPU   = defaultDockerImage("python-predictor-cpu")
	DefaultImagePythonPredictorGPU   = defaultDockerImage("python-predictor-gpu")
	DefaultImagePythonPredictorInf   = defaultDockerImage("python-predictor-inf")
	DefaultImageTensorFlowServingCPU = defaultDockerImage("tensorflow-serving-cpu")
	DefaultImageTensorFlowServingGPU = defaultDockerImage("tensorflow-serving-gpu")
	DefaultImageTensorFlowServingInf = defaultDockerImage("tensorflow-serving-inf")
	DefaultImageTensorFlowPredictor  = defaultDockerImage("tensorflow-predictor")
	DefaultImageONNXPredictorCPU     = defaultDockerImage("onnx-predictor-cpu")
	DefaultImageONNXPredictorGPU     = defaultDockerImage("onnx-predictor-gpu")
	DefaultImagePathsSet             = strset.New(
		DefaultImagePythonPredictorCPU,
		DefaultImagePythonPredictorGPU,
		DefaultImagePythonPredictorInf,
		DefaultImageTensorFlowServingCPU,
		DefaultImageTensorFlowServingGPU,
		DefaultImageTensorFlowServingInf,
		DefaultImageTensorFlowPredictor,
		DefaultImageONNXPredictorCPU,
		DefaultImageONNXPredictorGPU,
	)

	MaxClassesPerMonitoringRequest = 20 // cloudwatch.GeMetricData can get up to 100 metrics per request, avoid multiple requests and have room for other stats
	DashboardTitle                 = "# cortex monitoring dashboard"
	DefaultMaxReplicaConcurrency   = int64(1024)
	NeuronCoresPerInf              = int64(4)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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