Opérations interactives
Obtenir un future interactif
Lisez le statut et le résultat d’un future interactif. Avec wait=true, chaque requête attend jusqu’à 25 secondes ; les résultats sont conservés une heure.
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
requis
Your Fastino API key.
string
requis
Interactive job ID.
string
requis
Future ID returned when the work was queued.
boolean
défaut:"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).
