[{"data":1,"prerenderedAt":332},["ShallowReactive",2],{"page-\u002Frun-jobs\u002Fmanage":3,"surround-\u002Frun-jobs\u002Fmanage":325},{"id":4,"title":5,"body":6,"description":317,"extension":318,"meta":319,"navigation":320,"path":321,"seo":322,"stem":323,"__hash__":324},"docs\u002Frun-jobs\u002Fmanage.md","Manage Run Jobs",{"type":7,"value":8,"toc":308},"minimark",[9,13,18,115,119,122,165,173,177,180,215,219,222,244,248,269,273,280,284,304],[10,11,12],"p",{},"This page covers following a Run Job's progress, reading its output, cancelling and deleting it, and how to check its result in a script.",[14,15,17],"h2",{"id":16},"follow-a-run-job","Follow a Run Job",[19,20,22,39],"tabs",{"sync":21},"interface",[23,24,26],"tabs-item",{"label":25},"Console",[10,27,28,29,38],{},"Open the ",[30,31,37],"a",{"href":32,"rel":33,"target":36},"https:\u002F\u002Fconsole.cloud.featherless.ai\u002Frun-jobs",[34,35],"noopener","noreferrer","_blank","Run Jobs page"," and click a job to see its status, attempts and logs.",[23,40,42],{"label":41},"CLI",[43,44,49],"pre",{"className":45,"code":46,"language":47,"meta":48,"style":48},"language-bash shiki shiki-themes github-dark-default","featherless-cloud runjob list\nfeatherless-cloud runjob get \u003Cjob-id>\nfeatherless-cloud runjob logs \u003Cjob-id> --follow\n","bash","",[50,51,52,68,92],"code",{"__ignoreMap":48},[53,54,57,61,65],"span",{"class":55,"line":56},"line",1,[53,58,60],{"class":59},"sQhOw","featherless-cloud",[53,62,64],{"class":63},"s9uIt"," runjob",[53,66,67],{"class":63}," list\n",[53,69,71,73,75,78,82,85,89],{"class":55,"line":70},2,[53,72,60],{"class":59},[53,74,64],{"class":63},[53,76,77],{"class":63}," get",[53,79,81],{"class":80},"suJrU"," \u003C",[53,83,84],{"class":63},"job-i",[53,86,88],{"class":87},"sZEs4","d",[53,90,91],{"class":80},">\n",[53,93,95,97,99,102,104,106,108,111],{"class":55,"line":94},3,[53,96,60],{"class":59},[53,98,64],{"class":63},[53,100,101],{"class":63}," logs",[53,103,81],{"class":80},[53,105,84],{"class":63},[53,107,88],{"class":87},[53,109,110],{"class":80},">",[53,112,114],{"class":113},"sFSAA"," --follow\n",[14,116,118],{"id":117},"read-the-output","Read the output",[10,120,121],{},"Output is collected while the job runs, so you can read it after the job ends. Each attempt has its own output.",[43,123,125],{"className":45,"code":124,"language":47,"meta":48,"style":48},"featherless-cloud runjob logs \u003Cjob-id>\nfeatherless-cloud runjob logs \u003Cjob-id> --attempt 2\n",[50,126,127,143],{"__ignoreMap":48},[53,128,129,131,133,135,137,139,141],{"class":55,"line":56},[53,130,60],{"class":59},[53,132,64],{"class":63},[53,134,101],{"class":63},[53,136,81],{"class":80},[53,138,84],{"class":63},[53,140,88],{"class":87},[53,142,91],{"class":80},[53,144,145,147,149,151,153,155,157,159,162],{"class":55,"line":70},[53,146,60],{"class":59},[53,148,64],{"class":63},[53,150,101],{"class":63},[53,152,81],{"class":80},[53,154,84],{"class":63},[53,156,88],{"class":87},[53,158,110],{"class":80},[53,160,161],{"class":113}," --attempt",[53,163,164],{"class":113}," 2\n",[10,166,167,168,172],{},"For each attempt, the first and last 50 MB of output are kept for 30 days. Write results you need to a ",[30,169,171],{"href":170},"\u002Fstorage\u002Fnetwork-volumes","network volume",".",[14,174,176],{"id":175},"cancel-a-run-job","Cancel a Run Job",[10,178,179],{},"Cancelling stops a job that is waiting or running. A waiting job is cancelled immediately.",[19,181,182,191],{"sync":21},[23,183,184],{"label":25},[10,185,186,187,172],{},"Open the job's actions menu and click ",[188,189,190],"strong",{},"Cancel Run Job",[23,192,193],{"label":41},[43,194,196],{"className":45,"code":195,"language":47,"meta":48,"style":48},"featherless-cloud runjob cancel \u003Cjob-id>\n",[50,197,198],{"__ignoreMap":48},[53,199,200,202,204,207,209,211,213],{"class":55,"line":56},[53,201,60],{"class":59},[53,203,64],{"class":63},[53,205,206],{"class":63}," cancel",[53,208,81],{"class":80},[53,210,84],{"class":63},[53,212,88],{"class":87},[53,214,91],{"class":80},[14,216,218],{"id":217},"delete-a-run-job","Delete a Run Job",[10,220,221],{},"Deleting removes the job and its output. A running job is stopped first.",[43,223,225],{"className":45,"code":224,"language":47,"meta":48,"style":48},"featherless-cloud runjob delete \u003Cjob-id>\n",[50,226,227],{"__ignoreMap":48},[53,228,229,231,233,236,238,240,242],{"class":55,"line":56},[53,230,60],{"class":59},[53,232,64],{"class":63},[53,234,235],{"class":63}," delete",[53,237,81],{"class":80},[53,239,84],{"class":63},[53,241,88],{"class":87},[53,243,91],{"class":80},[14,245,247],{"id":246},"check-a-jobs-result-in-a-script","Check a job's result in a script",[10,249,250,253,254,257,258,260,261,264,265,268],{},[50,251,252],{},"exec"," exits with the command's own exit code, so a script can check ",[50,255,256],{},"$?"," after it. When the job didn't finish on its own, ",[50,259,252],{}," exits with ",[50,262,263],{},"124"," if it timed out, and ",[50,266,267],{},"130"," if it was cancelled or you detached from it.",[14,270,272],{"id":271},"when-credit-runs-out","When credit runs out",[10,274,275,276,172],{},"If your balance reaches zero, running Run Jobs stop and fail. Waiting jobs keep waiting until you add credit. See ",[30,277,279],{"href":278},"\u002Faccount\u002Fbilling","Billing",[14,281,283],{"id":282},"next-steps","Next steps",[285,286,287,296],"card-group",{},[288,289,293],"card",{"icon":290,"title":291,"to":292},"i-lucide-terminal","runjob command","\u002Fcli\u002Frunjob",[10,294,295],{},"Every option for listing, logs and cancellation.",[288,297,301],{"icon":298,"title":299,"to":300},"i-lucide-send","Submit a Run Job","\u002Frun-jobs\u002Fsubmit",[10,302,303],{},"Time limits, retries and detached runs.",[305,306,307],"style",{},"html pre.shiki code .sQhOw, html code.shiki .sQhOw{--shiki-default:#FFA657}html pre.shiki code .s9uIt, html code.shiki .s9uIt{--shiki-default:#A5D6FF}html pre.shiki code .suJrU, html code.shiki .suJrU{--shiki-default:#FF7B72}html pre.shiki code .sZEs4, html code.shiki .sZEs4{--shiki-default:#E6EDF3}html pre.shiki code .sFSAA, html code.shiki .sFSAA{--shiki-default:#79C0FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":48,"searchDepth":70,"depth":70,"links":309},[310,311,312,313,314,315,316],{"id":16,"depth":70,"text":17},{"id":117,"depth":70,"text":118},{"id":175,"depth":70,"text":176},{"id":217,"depth":70,"text":218},{"id":246,"depth":70,"text":247},{"id":271,"depth":70,"text":272},{"id":282,"depth":70,"text":283},"Track your Run Jobs, read their output, and stop the ones you don't need.","md",{},true,"\u002Frun-jobs\u002Fmanage",{"title":5,"description":317},"run-jobs\u002Fmanage","mr0a0tEEsp5K8EQXG2o7BMsuDruseZEfxAUkvHI8lno",[326,328],{"title":299,"path":300,"description":327},"Start training runs, batch jobs and evaluations without managing a machine.",{"title":329,"path":330,"description":331},"Run Jobs troubleshooting","\u002Frun-jobs\u002Ftroubleshooting","Fix common Run Job problems, from jobs that never start to failed commands, time limits and missing output.",1794932598302]