Skip to main content
Glama

train_start

Begin LoRA training on your local GPU or a RunPod pod. Instantly get a job ID to track progress via train_status; final LoRA delivered where specified.

Instructions

Start a LoRA training job: target 'local' builds the config and launches the GPU trainer container (docker run --gpus all); target 'pod' ssh-drives pod-native training on a connected RunPod pod (pod_id, or the connector's currently connected pod). Returns a job id for train_status/train_cancel. Long-running — returns immediately; poll train_status. On completion the LoRA is delivered per deliverTo (pod/local/both) and cataloged when local. Run train_doctor first if unsure the image/docker/GPU (local) or bootstrap (pod) are ready.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowNocharacter
nameYesJob name — becomes the output .safetensors basename (e.g. 'aria_character').
modelNoflux1-dev
deviceNoGPU selector, default cuda:0.
paramsNo
pod_idNoRunPod pod to train on (target 'pod'). Default: the connector's currently connected/watched pod.
targetNo'local' = docker on this rig; 'pod' = pod-native over ssh on a RunPod pod.local
triggerNoUnique trigger word (e.g. 'ohwx person') — injected as trigger_word and usable in prompts.
deliverToNoPod jobs only: where the finished LoRA lands.both
model_pathNoOverride the base model path AS THE TRAINER SEES IT (pod path for target 'pod', container path for 'local') — e.g. a pre-uploaded local HF snapshot dir when the default HF repo id is gated/unreachable.
datasetPathYesDataset dir from train_prepare_dataset (images + same-basename .txt captions).
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It transparently describes that local training launches a GPU container via docker run --gpus all, pod training ssh-drives pod-native execution, and that the job returns immediately. It also explains post-training behavior: the LoRA is delivered per deliverTo and cataloged when local. This level of detail is excellent for a complex training tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is information-dense and well-organized, using semicolons to separate major points. While it is relatively long, every sentence adds value, and critical information is front-loaded. It could be slightly more concise without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of the tool (11 parameters, nested objects, no output schema), the description is remarkably complete. It covers the training workflow, target distinctions, job lifecycle, and delivery behavior. It references sibling tools appropriately (train_doctor, train_status, train_cancel) to guide the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 73%, meaning some parameters lack description. The overall description does not add per-parameter details beyond what is in the schema, but it does mention key parameters like target, pod_id, deliverTo, and datasetPath implicitly. The description adds limited extra semantic value; however, the schema already provides adequate descriptions for most parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it starts a LoRA training job, distinguishes between local and pod targets, and mentions the return of a job ID for monitoring via train_status/train_cancel. It also differentiates itself from related tools like train_doctor, train_status, and train_cancel, providing specific context about when to use each.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to use local vs pod targets and advises running train_doctor first if unsure about readiness. It implies that the tool returns immediately for long-running jobs and suggests polling train_status. While it does not explicitly state when not to use this tool, the context provided is sufficient for most use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/artokun/comfyui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server