Documentation ¶
Index ¶
Constants ¶
const ( RayVersion = "v2.7.1" DefaultRequeueDuration = 3 * time.Second CheckpointPath = "/home/ray/checkpoint_path" )
Variables ¶
This section is empty.
Functions ¶
func GenerateLLMCheckpointName ¶
GenerateLLMCheckpointName generates a LLMCheckpoint name from Finetune name
Types ¶
type FinetuneExperimentReconciler ¶
type FinetuneExperimentReconciler struct { client.Client Scheme *runtime.Scheme Log logging.Logger }
FinetuneExperimentReconciler reconciles a FinetuneExperiment object
func (*FinetuneExperimentReconciler) SetupWithManager ¶
func (r *FinetuneExperimentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type FinetuneJobReconciler ¶
FinetuneJobReconciler reconciles a FinetuneJob object
func (*FinetuneJobReconciler) Reconcile ¶
func (r *FinetuneJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the FinetuneJob object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*FinetuneJobReconciler) SetupWithManager ¶
func (r *FinetuneJobReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type FinetuneReconciler ¶
type FinetuneReconciler struct { client.Client Scheme *runtime.Scheme Log logging.Logger Clientset *kubernetes.Clientset Config *rest.Config }
FinetuneReconciler reconciles a Finetune object
func (*FinetuneReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Finetune object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*FinetuneReconciler) SetupWithManager ¶
func (r *FinetuneReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.