API Reference

Packages

tensorstack.dev/v1beta1

Package v1beta1 contains API Schema definitions for the v1beta1 API group

Resource Types

AIStoreConfig

AIStoreConfig represents the configuration for using AIStore as a data storage for experiments.

Appears in:

FieldDescription
secret stringSecret specifies the secret containing the API Key authorized to upload data to AIStore.
folder stringFolder indicates the destination folder where the experiment data will be stored.

AdvisorConfig

AdvisorConfig represents the configuration for the advisor algorithm and its parameters.

Appears in:

FieldDescription
builtinAdvisorName stringBuiltInAdvisorName specifies the name of the built-in advisor algorithm to be used. Available options include: Hyperband, BOHB.
classArgs stringClassArgs defines the parameters specific to the chosen advisor algorithm. Different algorithms may require distinct parameters.

AssessorConfig

AssessorConfig represents the configuration for the assessor algorithm and its parameters.

Appears in:

FieldDescription
builtinAssessorName stringBuiltInAssessorName specifies the name of the built-in assessor algorithm to be used. Available options include: Medianstop, Curvefitting.
classArgs stringClassArgs defines the parameters specific to the chosen assessor algorithm. Different algorithms may require distinct parameters.

AutoTuneExperiment

AutoTuneExperiment is the Schema for the autotune API.

Appears in:

FieldDescription
apiVersion stringtensorstack.dev/apis
kind stringAutoTuneExperiment
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec AutoTuneExperimentSpec
status AutoTuneExperimentStatus

AutoTuneExperimentList

AutoTuneExperimentList contains a list of AutoTuneExperiment.

FieldDescription
apiVersion stringtensorstack.dev/apis
kind stringAutoTuneExperimentList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items AutoTuneExperiment array

AutoTuneExperimentSpec

AutoTuneExperimentSpec defines the desired state of the AutoTuneExperiment.

Appears in:

FieldDescription
aistore AIStoreConfigAIStore configures an AIStore as storage for experiment data. If this field is set, data will be uploaded to the AIStore.
maxExecSeconds integerMaxExecSeconds is the time limit (in seconds) for the AutoTuneExperiment, If this limit is exceeded, the AutoTuneExperiment reaches phase TIMEOUT.
maxTrialNum integerMaxTrialNum specifies the maximum number of trials for the AutoTuneExperiment. Once this number of trials is reached, the AutoTuneExperiment reaches phase DONE.
trialConcurrency integerTrialConcurrency is the maximum number of trials running simultaneously.
searchSpace stringSearchSpace defines the hyperparameter search space as a JSON string. It specifies the range for searching optimized hyperparameters. Example: { “batch_size”: {“_type”: “choice”, “_value”: [16, 32, 64, 128]}, “learning_rate”: {“_type”: “choice”, “_value”: [0.0001, 0.001, 0.01, 0.1]}, “conv_channels1”: {“_type”: “choice”, “_value”: [16, 32, 64, 128]} }
storage QuantityStorage specifies the size of PVC for storing configurations and training metrics.
trainingConfig TrainingConfigTrainingConfig represents the configuration for creating Jobs, which evaluate the performance of different hyperparameters.
tuner TunerConfigTuner configures a tuner for optimizing hyperparameter.
assessor AssessorConfigAssessor configures an assessor for filtering hyperparameters and interrupting training when hyperparameters are deemed unqualified. Note that this field is ignored if Tuner is not set.
advisor AdvisorConfigAdvisor configures an advisor for optimizing hyperparameter. Note that when both Tuner and Advisor are set, Tuner takes precedence.

AutoTuneExperimentStatus

AutoTuneExperimentStatus defines the observed state of the AutoTuneExperiment.

Appears in:

FieldDescription
OwnerStatus OwnerStatus
nextCheckedTime TimeNextCheckedTime indicates the scheduled time for the next status check of the experiment process by the controller.
phase ExperimentStatusPhase provides a simple, high-level summary of where the AutoTuneExperiment is in its lifecycle. Note that it is NOT intended to serve as a comprehensive state machine. This field is optional.
serverNote stringServerNote contains the current status of the experiment process.

ExperimentStatus

Underlying type: string

Appears in:

TunerConfig

TunerConfig represents the configuration for the tuner algorithm and its parameters.

Appears in:

FieldDescription
builtinTunerName stringBuiltInTunerName specifies the name of the built-in tuner algorithm to be used. Available options include: Random, Anneal, TPE, Evolution, Batch, GridSearch, MetisTuner, GPTuner, PPOTuner, PBTTuner.
classArgs stringClassArgs defines the parameters specific to the chosen tuner algorithm. Different algorithms may require distinct parameters.