export interface TrainDryrunArgs { /** 数据文件路径(CSV/Excel/JSON/文本——相对 data 目录或绝对路径) */ data_path: string; /** 训练算法 */ algorithm: 'sft' | 'dpo' | 'grpo'; /** 列映射(可选——缺省按常见命名约定推断) */ column_mapping?: Record; /** 显存预检(可选) */ vram?: { params_billions: number; batch_size: number; sequence_length: number; bytes_per_param?: number; gradient_checkpointing?: boolean; /** GPU 可用显存(MiB——超限 fail) */ gpu_vram_mib?: number; }; /** 算力外推(可选——pilot 数据点 + 目标规模) */ extrapolate?: { points: Array<{ compute: number; performance: number; }>; target_compute: number; cost_per_unit?: number; budget_cap?: number; }; } export interface TrainDryrunToolResult { text: string; data: { isError: boolean; ok: boolean; passed: boolean; checks: Array<{ name: string; status: string; detail: string; }>; vramEstimate?: Record; extrapolation?: Record; nextPilotCompute?: number | null; }; } /** * train_dryrun——训练前预检(四项:管线连通/数据抽样/显存/算力外推)。 * 预检失败不抛出(体检语义 = 如实报告哪项挂了怎么修)。 */ export declare function trainDryrunTool(args: TrainDryrunArgs): Promise; //# sourceMappingURL=train-dryrun.d.ts.map