(nodeId: string, serverId?: string)
| 322 | }; |
| 323 | |
| 324 | const addGpuLabel = async (nodeId: string, serverId?: string) => { |
| 325 | const labelCommand = `docker node update --label-add gpu=true ${nodeId}`; |
| 326 | if (serverId) { |
| 327 | await execAsyncRemote(serverId, labelCommand); |
| 328 | } else { |
| 329 | await execAsync(labelCommand); |
| 330 | } |
| 331 | }; |
| 332 | |
| 333 | const verifySetup = async (nodeId: string, serverId?: string) => { |
| 334 | const finalStatus = await checkGPUStatus(serverId); |
no test coverage detected