runv1

package
v0.0.0-...-3f2d6ab Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 10 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 `protobuf:"fixed64,8,opt,name=searcher_metric_value,json=searcherMetricValue,proto3" json:"searcher_metric_value,omitempty"`
	// The id of external run
	ExternalRunId *int32 `protobuf:"varint,9,opt,name=external_run_id,json=externalRunId,proto3,oneof" json:"external_run_id,omitempty"`
	// Trial hyperparameters.
	Hyperparameters string `protobuf:"bytes,10,opt,name=hyperparameters,proto3" 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"`
	// contains filtered or unexported fields
}

Flat run respresentation.

func (*FlatRun) Descriptor deprecated

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

Deprecated: Use FlatRun.ProtoReflect.Descriptor instead.

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() int32

func (*FlatRun) GetHyperparameters

func (x *FlatRun) GetHyperparameters() string

func (*FlatRun) GetId

func (x *FlatRun) GetId() int32

func (*FlatRun) GetLabels

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

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" 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"`
	// 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) 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

Jump to

Keyboard shortcuts

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