runv1

package
v0.38.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_determined_run_v1_run_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FlatRun

type FlatRun struct {

	// The id of the run.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The time the run was started.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time the run ended.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The current state of the run(trial).
	State trialv1.State `protobuf:"varint,4,opt,name=state,proto3,enum=determined.trial.v1.State" json:"state,omitempty"`
	// The tags of the associated experiment.
	// TODO(aaron.amanuel): Create add/remove tags for runs.
	Labels []string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"`
	// The total size of checkpoints.
	CheckpointSize int64 `protobuf:"varint,6,opt,name=checkpoint_size,json=checkpointSize,proto3" json:"checkpoint_size,omitempty"`
	// The count of checkpoints.
	CheckpointCount int32 `protobuf:"varint,7,opt,name=checkpoint_count,json=checkpointCount,proto3" json:"checkpoint_count,omitempty"`
	// Signed searcher metrics value.
	SearcherMetricValue *float64 `` /* 128-byte string literal not displayed */
	// The id of external run
	ExternalRunId *string `protobuf:"bytes,9,opt,name=external_run_id,json=externalRunId,proto3,oneof" json:"external_run_id,omitempty"`
	// Trial hyperparameters.
	Hyperparameters *_struct.Struct `protobuf:"bytes,10,opt,name=hyperparameters,proto3,oneof" json:"hyperparameters,omitempty"`
	// summary metrics.
	SummaryMetrics *_struct.Struct `protobuf:"bytes,11,opt,name=summary_metrics,json=summaryMetrics,proto3,oneof" json:"summary_metrics,omitempty"`
	// The id of the user who created the run.
	UserId *int32 `protobuf:"varint,12,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
	// Time in seconds which the run ran or has been running.
	Duration *int32 `protobuf:"varint,13,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
	// The id of the project associated with this run.
	ProjectId int32 `protobuf:"varint,14,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the project associated with this run.
	ProjectName string `protobuf:"bytes,15,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// The id of the workspace associated with this run.
	WorkspaceId int32 `protobuf:"varint,16,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	// The name of the workspace associated with this run.
	WorkspaceName string `protobuf:"bytes,17,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
	// The archived status of the parent project (can be inherited from
	// workspace).
	ParentArchived bool `protobuf:"varint,18,opt,name=parent_archived,json=parentArchived,proto3" json:"parent_archived,omitempty"`
	// Data related the the experiment associated with this run.
	Experiment *FlatRunExperiment `protobuf:"bytes,19,opt,name=experiment,proto3,oneof" json:"experiment,omitempty"`
	// The arbitrary metadata of the run.
	Metadata *_struct.Struct `protobuf:"bytes,20,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// The archived status of this run.
	// This is only looking at the archived status at the run level and not taking
	// into account whether the experiment is archived or not.
	Archived bool `protobuf:"varint,21,opt,name=archived,proto3" json:"archived,omitempty"`
	// Project level local id of run.
	LocalId string `protobuf:"bytes,22,opt,name=local_id,json=localId,proto3" json:"local_id,omitempty"`
	// Log policy matched.
	LogPolicyMatched *string `protobuf:"bytes,23,opt,name=log_policy_matched,json=logPolicyMatched,proto3,oneof" json:"log_policy_matched,omitempty"`
	// contains filtered or unexported fields
}

Flat run respresentation. Used for the rows of the Run Table.

func (*FlatRun) Descriptor deprecated

func (*FlatRun) Descriptor() ([]byte, []int)

Deprecated: Use FlatRun.ProtoReflect.Descriptor instead.

func (*FlatRun) GetArchived

func (x *FlatRun) GetArchived() bool

func (*FlatRun) GetCheckpointCount

func (x *FlatRun) GetCheckpointCount() int32

func (*FlatRun) GetCheckpointSize

func (x *FlatRun) GetCheckpointSize() int64

func (*FlatRun) GetDuration

func (x *FlatRun) GetDuration() int32

func (*FlatRun) GetEndTime

func (x *FlatRun) GetEndTime() *timestamp.Timestamp

func (*FlatRun) GetExperiment

func (x *FlatRun) GetExperiment() *FlatRunExperiment

func (*FlatRun) GetExternalRunId

func (x *FlatRun) GetExternalRunId() string

func (*FlatRun) GetHyperparameters

func (x *FlatRun) GetHyperparameters() *_struct.Struct

func (*FlatRun) GetId

func (x *FlatRun) GetId() int32

func (*FlatRun) GetLabels

func (x *FlatRun) GetLabels() []string

func (*FlatRun) GetLocalId

func (x *FlatRun) GetLocalId() string

func (*FlatRun) GetLogPolicyMatched

func (x *FlatRun) GetLogPolicyMatched() string

func (*FlatRun) GetMetadata

func (x *FlatRun) GetMetadata() *_struct.Struct

func (*FlatRun) GetParentArchived

func (x *FlatRun) GetParentArchived() bool

func (*FlatRun) GetProjectId

func (x *FlatRun) GetProjectId() int32

func (*FlatRun) GetProjectName

func (x *FlatRun) GetProjectName() string

func (*FlatRun) GetSearcherMetricValue

func (x *FlatRun) GetSearcherMetricValue() float64

func (*FlatRun) GetStartTime

func (x *FlatRun) GetStartTime() *timestamp.Timestamp

func (*FlatRun) GetState

func (x *FlatRun) GetState() trialv1.State

func (*FlatRun) GetSummaryMetrics

func (x *FlatRun) GetSummaryMetrics() *_struct.Struct

func (*FlatRun) GetUserId

func (x *FlatRun) GetUserId() int32

func (*FlatRun) GetWorkspaceId

func (x *FlatRun) GetWorkspaceId() int32

func (*FlatRun) GetWorkspaceName

func (x *FlatRun) GetWorkspaceName() string

func (*FlatRun) ProtoMessage

func (*FlatRun) ProtoMessage()

func (*FlatRun) ProtoReflect

func (x *FlatRun) ProtoReflect() protoreflect.Message

func (*FlatRun) Reset

func (x *FlatRun) Reset()

func (*FlatRun) String

func (x *FlatRun) String() string

type FlatRunExperiment

type FlatRunExperiment struct {

	// The id of the experiment linked to the run.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The type of searcher for the experiment.
	SearcherType string `protobuf:"bytes,2,opt,name=searcher_type,json=searcherType,proto3" json:"searcher_type,omitempty"`
	// The searcher metric name for the experiment.
	SearcherMetric string `protobuf:"bytes,3,opt,name=searcher_metric,json=searcherMetric,proto3" json:"searcher_metric,omitempty"`
	// Original id of a forked or continued experiment.
	ForkedFrom *int32 `protobuf:"varint,4,opt,name=forked_from,json=forkedFrom,proto3,oneof" json:"forked_from,omitempty"`
	// The id of external experiment
	ExternalExperimentId *string `` /* 129-byte string literal not displayed */
	// The resource pool the experiment was created in.
	ResourcePool string `protobuf:"bytes,6,opt,name=resource_pool,json=resourcePool,proto3" json:"resource_pool,omitempty"`
	// The current progress of a running experiment.
	Progress float32 `protobuf:"fixed32,7,opt,name=progress,proto3" json:"progress,omitempty"`
	// The description of the experiment.
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// The experiment name.
	Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
	// Unmanaged experiments are detached.
	Unmanaged bool `protobuf:"varint,10,opt,name=unmanaged,proto3" json:"unmanaged,omitempty"`
	// True if the associated experiment is a multitrial experiment
	IsMultitrial bool `protobuf:"varint,11,opt,name=is_multitrial,json=isMultitrial,proto3" json:"is_multitrial,omitempty"`
	// The experiment pachyderm integration config.
	PachydermIntegration *_struct.Struct `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

Minimal experiment object

func (*FlatRunExperiment) Descriptor deprecated

func (*FlatRunExperiment) Descriptor() ([]byte, []int)

Deprecated: Use FlatRunExperiment.ProtoReflect.Descriptor instead.

func (*FlatRunExperiment) GetDescription

func (x *FlatRunExperiment) GetDescription() string

func (*FlatRunExperiment) GetExternalExperimentId

func (x *FlatRunExperiment) GetExternalExperimentId() string

func (*FlatRunExperiment) GetForkedFrom

func (x *FlatRunExperiment) GetForkedFrom() int32

func (*FlatRunExperiment) GetId

func (x *FlatRunExperiment) GetId() int32

func (*FlatRunExperiment) GetIsMultitrial

func (x *FlatRunExperiment) GetIsMultitrial() bool

func (*FlatRunExperiment) GetName

func (x *FlatRunExperiment) GetName() string

func (*FlatRunExperiment) GetPachydermIntegration

func (x *FlatRunExperiment) GetPachydermIntegration() *_struct.Struct

func (*FlatRunExperiment) GetProgress

func (x *FlatRunExperiment) GetProgress() float32

func (*FlatRunExperiment) GetResourcePool

func (x *FlatRunExperiment) GetResourcePool() string

func (*FlatRunExperiment) GetSearcherMetric

func (x *FlatRunExperiment) GetSearcherMetric() string

func (*FlatRunExperiment) GetSearcherType

func (x *FlatRunExperiment) GetSearcherType() string

func (*FlatRunExperiment) GetUnmanaged

func (x *FlatRunExperiment) GetUnmanaged() bool

func (*FlatRunExperiment) ProtoMessage

func (*FlatRunExperiment) ProtoMessage()

func (*FlatRunExperiment) ProtoReflect

func (x *FlatRunExperiment) ProtoReflect() protoreflect.Message

func (*FlatRunExperiment) Reset

func (x *FlatRunExperiment) Reset()

func (*FlatRunExperiment) String

func (x *FlatRunExperiment) String() string

type Run

type Run struct {

	// The id of the run.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The time the run was started.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time the run ended.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The current state of the run(trial).
	State trialv1.State `protobuf:"varint,4,opt,name=state,proto3,enum=determined.trial.v1.State" json:"state,omitempty"`
	// The tags of the associated experiment.
	Labels []string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"`
	// The total size of checkpoints.
	CheckpointSize int64 `protobuf:"varint,6,opt,name=checkpoint_size,json=checkpointSize,proto3" json:"checkpoint_size,omitempty"`
	// The count of checkpoints.
	CheckpointCount int32 `protobuf:"varint,7,opt,name=checkpoint_count,json=checkpointCount,proto3" json:"checkpoint_count,omitempty"`
	// Signed searcher metrics value.
	SearcherMetricValue *float64 `` /* 128-byte string literal not displayed */
	// The id of external run
	ExternalRunId *string `protobuf:"bytes,9,opt,name=external_run_id,json=externalRunId,proto3,oneof" json:"external_run_id,omitempty"`
	// Trial hyperparameters.
	Hyperparameters *_struct.Struct `protobuf:"bytes,10,opt,name=hyperparameters,proto3,oneof" json:"hyperparameters,omitempty"`
	// summary metrics.
	SummaryMetrics *_struct.Struct `protobuf:"bytes,11,opt,name=summary_metrics,json=summaryMetrics,proto3,oneof" json:"summary_metrics,omitempty"`
	// The id of the user who created the run.
	UserId *int32 `protobuf:"varint,12,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
	// Time in seconds which the run ran or has been running.
	Duration *int32 `protobuf:"varint,13,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
	// The id of the project associated with this run.
	ProjectId int32 `protobuf:"varint,14,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the project associated with this run.
	ProjectName string `protobuf:"bytes,15,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// The id of the workspace associated with this run.
	WorkspaceId int32 `protobuf:"varint,16,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	// The name of the workspace associated with this run.
	WorkspaceName string `protobuf:"bytes,17,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
	// The archived status of the parent project (can be inherited from
	// workspace).
	ParentArchived bool `protobuf:"varint,18,opt,name=parent_archived,json=parentArchived,proto3" json:"parent_archived,omitempty"`
	// The arbitrary metadata of the run.
	Metadata *_struct.Struct `protobuf:"bytes,19,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// The archived status of this run.
	// This is only looking at the archived status at the run level and not taking
	// into account whether the search is archived or not.
	Archived bool `protobuf:"varint,20,opt,name=archived,proto3" json:"archived,omitempty"`
	// The id of the search linked to the run.
	SearchId int32 `protobuf:"varint,21,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"`
	// The type of searcher for the search.
	SearcherType string `protobuf:"bytes,22,opt,name=searcher_type,json=searcherType,proto3" json:"searcher_type,omitempty"`
	// The searcher metric name for the search.
	SearcherMetric string `protobuf:"bytes,23,opt,name=searcher_metric,json=searcherMetric,proto3" json:"searcher_metric,omitempty"`
	// Original id of a forked or continued search.
	ForkedFrom *int32 `protobuf:"varint,24,opt,name=forked_from,json=forkedFrom,proto3,oneof" json:"forked_from,omitempty"`
	// The id of external search
	ExternalSearchId *string `protobuf:"bytes,25,opt,name=external_search_id,json=externalSearchId,proto3,oneof" json:"external_search_id,omitempty"`
	// The resource pool the search was created in.
	ResourcePool string `protobuf:"bytes,26,opt,name=resource_pool,json=resourcePool,proto3" json:"resource_pool,omitempty"`
	// The current progress of a running search.
	Progress float32 `protobuf:"fixed32,27,opt,name=progress,proto3" json:"progress,omitempty"`
	// The description of the search.
	Description string `protobuf:"bytes,28,opt,name=description,proto3" json:"description,omitempty"`
	// The search name.
	SearchName string `protobuf:"bytes,29,opt,name=search_name,json=searchName,proto3" json:"search_name,omitempty"`
	// Unmanaged searchs are detached.
	Unmanaged bool `protobuf:"varint,30,opt,name=unmanaged,proto3" json:"unmanaged,omitempty"`
	// True if the associated search is a multitrial search
	IsMultirun bool `protobuf:"varint,31,opt,name=is_multirun,json=isMultirun,proto3" json:"is_multirun,omitempty"`
	// The search pachyderm integration config.
	PachydermIntegration *_struct.Struct `` /* 128-byte string literal not displayed */
	// Number times the trial restarted.
	Restarts int32 `protobuf:"varint,33,opt,name=restarts,proto3" json:"restarts,omitempty"`
	// The current processed batches.
	TotalBatchesProcessed int32 `` /* 128-byte string literal not displayed */
	// Best validation.
	BestValidation *trialv1.MetricsWorkload `protobuf:"bytes,35,opt,name=best_validation,json=bestValidation,proto3" json:"best_validation,omitempty"`
	// Latest validation.
	LatestValidation *trialv1.MetricsWorkload `protobuf:"bytes,36,opt,name=latest_validation,json=latestValidation,proto3" json:"latest_validation,omitempty"`
	// Best checkpoint.
	BestCheckpoint *trialv1.CheckpointWorkload `protobuf:"bytes,37,opt,name=best_checkpoint,json=bestCheckpoint,proto3" json:"best_checkpoint,omitempty"`
	// The last reported state of the trial runner (harness code).
	RunnerState string `protobuf:"bytes,38,opt,name=runner_state,json=runnerState,proto3" json:"runner_state,omitempty"`
	// The wall clock time is all active time of the cluster for the trial,
	// inclusive of everything (restarts, initiailization, etc), in seconds.
	WallClockTime float64 `protobuf:"fixed64,39,opt,name=wall_clock_time,json=wallClockTime,proto3" json:"wall_clock_time,omitempty"`
	// UUID of checkpoint that this trial started from.
	WarmStartCheckpointUuid string `` /* 135-byte string literal not displayed */
	// Task IDs of tasks associated with this trial.
	// Length of task_ids will always be greater or equal to one when TaskID is
	// sent. For example CompareTrial we will send a reduced Trial object, without
	// TaskID or TaskIDs fileld in. The first element of task_ids will be the same
	// as task_id. task_ids is sorted ascending by task_run_id.
	TaskIds []string `protobuf:"bytes,41,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty"`
	// Number of days to retain logs for.
	LogRetentionDays *int32 `protobuf:"varint,42,opt,name=log_retention_days,json=logRetentionDays,proto3,oneof" json:"log_retention_days,omitempty"`
	// contains filtered or unexported fields
}

Flat run respresentation.

func (*Run) Descriptor deprecated

func (*Run) Descriptor() ([]byte, []int)

Deprecated: Use Run.ProtoReflect.Descriptor instead.

func (*Run) GetArchived

func (x *Run) GetArchived() bool

func (*Run) GetBestCheckpoint

func (x *Run) GetBestCheckpoint() *trialv1.CheckpointWorkload

func (*Run) GetBestValidation

func (x *Run) GetBestValidation() *trialv1.MetricsWorkload

func (*Run) GetCheckpointCount

func (x *Run) GetCheckpointCount() int32

func (*Run) GetCheckpointSize

func (x *Run) GetCheckpointSize() int64

func (*Run) GetDescription

func (x *Run) GetDescription() string

func (*Run) GetDuration

func (x *Run) GetDuration() int32

func (*Run) GetEndTime

func (x *Run) GetEndTime() *timestamp.Timestamp

func (*Run) GetExternalRunId

func (x *Run) GetExternalRunId() string

func (*Run) GetExternalSearchId

func (x *Run) GetExternalSearchId() string

func (*Run) GetForkedFrom

func (x *Run) GetForkedFrom() int32

func (*Run) GetHyperparameters

func (x *Run) GetHyperparameters() *_struct.Struct

func (*Run) GetId

func (x *Run) GetId() int32

func (*Run) GetIsMultirun

func (x *Run) GetIsMultirun() bool

func (*Run) GetLabels

func (x *Run) GetLabels() []string

func (*Run) GetLatestValidation

func (x *Run) GetLatestValidation() *trialv1.MetricsWorkload

func (*Run) GetLogRetentionDays

func (x *Run) GetLogRetentionDays() int32

func (*Run) GetMetadata

func (x *Run) GetMetadata() *_struct.Struct

func (*Run) GetPachydermIntegration

func (x *Run) GetPachydermIntegration() *_struct.Struct

func (*Run) GetParentArchived

func (x *Run) GetParentArchived() bool

func (*Run) GetProgress

func (x *Run) GetProgress() float32

func (*Run) GetProjectId

func (x *Run) GetProjectId() int32

func (*Run) GetProjectName

func (x *Run) GetProjectName() string

func (*Run) GetResourcePool

func (x *Run) GetResourcePool() string

func (*Run) GetRestarts

func (x *Run) GetRestarts() int32

func (*Run) GetRunnerState

func (x *Run) GetRunnerState() string

func (*Run) GetSearchId

func (x *Run) GetSearchId() int32

func (*Run) GetSearchName

func (x *Run) GetSearchName() string

func (*Run) GetSearcherMetric

func (x *Run) GetSearcherMetric() string

func (*Run) GetSearcherMetricValue

func (x *Run) GetSearcherMetricValue() float64

func (*Run) GetSearcherType

func (x *Run) GetSearcherType() string

func (*Run) GetStartTime

func (x *Run) GetStartTime() *timestamp.Timestamp

func (*Run) GetState

func (x *Run) GetState() trialv1.State

func (*Run) GetSummaryMetrics

func (x *Run) GetSummaryMetrics() *_struct.Struct

func (*Run) GetTaskIds

func (x *Run) GetTaskIds() []string

func (*Run) GetTotalBatchesProcessed

func (x *Run) GetTotalBatchesProcessed() int32

func (*Run) GetUnmanaged

func (x *Run) GetUnmanaged() bool

func (*Run) GetUserId

func (x *Run) GetUserId() int32

func (*Run) GetWallClockTime

func (x *Run) GetWallClockTime() float64

func (*Run) GetWarmStartCheckpointUuid

func (x *Run) GetWarmStartCheckpointUuid() string

func (*Run) GetWorkspaceId

func (x *Run) GetWorkspaceId() int32

func (*Run) GetWorkspaceName

func (x *Run) GetWorkspaceName() string

func (*Run) ProtoMessage

func (*Run) ProtoMessage()

func (*Run) ProtoReflect

func (x *Run) ProtoReflect() protoreflect.Message

func (*Run) Reset

func (x *Run) Reset()

func (*Run) String

func (x *Run) String() string

Jump to

Keyboard shortcuts

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