| import { Input } from "../../../components/ui/Input"; | |
| export function TrainingConfigForm({ config, onChange }: any) { | |
| return ( | |
| <div className="space-y-4"> | |
| <Input | |
| label="Training Script Path" | |
| value={config.script_path} | |
| onChange={(e) => onChange({ ...config, script_path: e.target.value })} | |
| /> | |
| <div className="grid grid-cols-2 gap-2"> | |
| <Input | |
| label="Number of Nodes" | |
| type="number" | |
| value={config.num_nodes} | |
| onChange={(e) => | |
| onChange({ ...config, num_nodes: parseInt(e.target.value) }) | |
| } | |
| /> | |
| <Input | |
| label="GPUs per Node" | |
| type="number" | |
| value={config.gpus_per_node} | |
| onChange={(e) => | |
| onChange({ ...config, gpus_per_node: parseInt(e.target.value) }) | |
| } | |
| /> | |
| </div> | |
| <div className="grid grid-cols-2 gap-2"> | |
| <Input | |
| label="CPU per Node" | |
| type="number" | |
| value={config.cpu_per_node} | |
| onChange={(e) => | |
| onChange({ ...config, cpu_per_node: parseInt(e.target.value) }) | |
| } | |
| /> | |
| <Input | |
| label="Memory per Node (GB)" | |
| type="number" | |
| value={config.memory_per_node_gb} | |
| onChange={(e) => | |
| onChange({ | |
| ...config, | |
| memory_per_node_gb: parseInt(e.target.value), | |
| }) | |
| } | |
| /> | |
| </div> | |
| <Input | |
| label="Max Wall Time (seconds)" | |
| type="number" | |
| value={config.max_wall_time_seconds} | |
| onChange={(e) => | |
| onChange({ | |
| ...config, | |
| max_wall_time_seconds: parseInt(e.target.value), | |
| }) | |
| } | |
| /> | |
| </div> | |
| ); | |
| } | |
Xet Storage Details
- Size:
- 1.75 kB
- Xet hash:
- 2329f5015ffb645dc55e5fe0b825a96e3a3b5095c21678770d02cad1b3f36f18
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.