Interaktive Vorgänge
Interaktives Future abrufen
Fragt Status und Ergebnis eines interaktiven Futures ab. Mit wait=true wartet die Anfrage bis zu 25 Sekunden; Ergebnisse bleiben eine Stunde erhalten.
GET
GET /v1/training/jobs/{job_id}/futures/{future_id}
Every interactive-job call that does work returns a future_id. Read the
future until its status is completed, failed, or cancelled.
Use wait=true to wait at most 25 seconds per request. Continue polling a nonterminal future. Use wait=true to wait at most 25 seconds per request. Continue polling a nonterminal future. Use wait=true to wait at most 25 seconds per request. Continue polling a nonterminal future. Use wait=true to wait at most 25 seconds per request. Continue polling a nonterminal future. Use wait=true to wait at most 25 seconds per request. Continue polling a nonterminal future. Results are kept for one hour.
Request
string
erforderlich
Your Fastino API key.
string
erforderlich
Interactive job ID.
string
erforderlich
Future ID returned when the work was queued.
boolean
Standard:"false"
Wait up to 25 seconds for an unfinished future before answering. Repeat
the request until it finishes.
Response
string
The future.
string
The job.
string
create, load, forward, forward_backward, optim_step, save, or sample.string
pending, running, completed, failed, or cancelled.string | null
While unfinished:
active, or paused_capacity while GPU capacity warms up.any
Once
completed:forwardandforward_backward:loss_fn_outputs(one entry of tensors per datum, such aslogprobs) andmetrics.sample:sequences, each withtokens,logprobs, andstop_reason, plusprompt_logprobswhen requested.save: the checkpoint path.- Other types: an acknowledgement.
object | null
When
failed or cancelled: message, and category (user for a problem
with the request, server for a Fastino problem).
