consts

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CortexVersion      = "0.35.0" // CORTEX_VERSION
	CortexVersionMinor = "0.35"   // CORTEX_VERSION_MINOR

	SingleModelName = "_cortex_default"

	DefaultImagePythoHandlerCPU      = fmt.Sprintf("%s/python-handler-cpu:%s", DefaultRegistry(), CortexVersion)
	DefaultImagePythonHandlerGPU     = fmt.Sprintf("%s/python-handler-gpu:%s-cuda10.2-cudnn8", DefaultRegistry(), CortexVersion)
	DefaultImagePythonHandlerInf     = fmt.Sprintf("%s/python-handler-inf:%s", DefaultRegistry(), CortexVersion)
	DefaultImageTensorFlowServingCPU = fmt.Sprintf("%s/tensorflow-serving-cpu:%s", DefaultRegistry(), CortexVersion)
	DefaultImageTensorFlowServingGPU = fmt.Sprintf("%s/tensorflow-serving-gpu:%s", DefaultRegistry(), CortexVersion)
	DefaultImageTensorFlowServingInf = fmt.Sprintf("%s/tensorflow-serving-inf:%s", DefaultRegistry(), CortexVersion)
	DefaultImageTensorFlowHandler    = fmt.Sprintf("%s/tensorflow-handler:%s", DefaultRegistry(), CortexVersion)
	DefaultImagePathsSet             = strset.New(
		DefaultImagePythoHandlerCPU,
		DefaultImagePythonHandlerGPU,
		DefaultImagePythonHandlerInf,
		DefaultImageTensorFlowServingCPU,
		DefaultImageTensorFlowServingGPU,
		DefaultImageTensorFlowServingInf,
		DefaultImageTensorFlowHandler,
	)

	DefaultMaxReplicaConcurrency = int64(1024)
	NeuronCoresPerInf            = int64(4)
	AuthHeader                   = "X-Cortex-Authorization"

	DefaultInClusterConfigPath   = "/configs/cluster/cluster.yaml"
	MaxBucketLifecycleRules      = 100
	AsyncWorkloadsExpirationDays = int64(7)
)

Functions

func DefaultRegistry added in v0.33.0

func DefaultRegistry() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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