Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update ui/src/app/api/hf-jobs/route.ts
Browse files
ui/src/app/api/hf-jobs/route.ts
CHANGED
|
@@ -797,7 +797,7 @@ async function submitHFJobUV(token: string, hardware: string, scriptPath: string
|
|
| 797 |
|
| 798 |
console.log('Setting up environment with HF_TOKEN for job submission');
|
| 799 |
const namespaceArgs = namespaceOverride ? ` --namespace ${namespaceOverride}` : '';
|
| 800 |
-
console.log(`Command: hf jobs uv run --flavor ${hardware} --timeout
|
| 801 |
|
| 802 |
// Use hf jobs uv run command with timeout and detach to get job ID
|
| 803 |
const args = [
|
|
|
|
| 797 |
|
| 798 |
console.log('Setting up environment with HF_TOKEN for job submission');
|
| 799 |
const namespaceArgs = namespaceOverride ? ` --namespace ${namespaceOverride}` : '';
|
| 800 |
+
console.log(`Command: hf jobs uv run --flavor ${hardware} --timeout 7h --secrets HF_TOKEN --detach${namespaceArgs} ${scriptPath}`);
|
| 801 |
|
| 802 |
// Use hf jobs uv run command with timeout and detach to get job ID
|
| 803 |
const args = [
|