train

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package train provides training utilities for GSwarm, including model training orchestration and process management.

Index

Constants

View Source
const (
	// OS constants
	OSWindows = "windows"
)

Variables

View Source
var CommandRunner = exec.Command

CommandRunner is a package-level variable that can be replaced in tests

Functions

func CleanupStaleProcesses

func CleanupStaleProcesses(logger *log.Logger) error

CleanupStaleProcesses kills any existing gensyn and hivemind processes

func InstallRequirements

func InstallRequirements(venvPath string, requirementsFile string, _ *log.Logger) error

InstallRequirements installs Python requirements in the virtual environment

func IsCPUOnly

func IsCPUOnly() bool

IsCPUOnly checks if CUDA is available

func RunPythonTraining

func RunPythonTraining(config config.Configuration, venvPath string, logger *log.Logger) error

RunPythonTraining runs the Python training process

Types

This section is empty.

Jump to

Keyboard shortcuts

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