tinker==0.32.0. Point the SDK’s API base URL
and credential at Fastino, then run your existing program.
1. Point the SDK to Fastino
fast_sk_ key with TINKER_CREDENTIAL_CMD. Unset
TINKER_API_KEY before creating the service client.
2. Verify the connection
get_server_capabilities(), then run a small version
of your existing workload. The smoke test should complete one training update,
save and reload state, and save sampler weights with an explicit TTL before
sampling. Increase the workload size after it completes.
Tinker SDK compatibility
Withtinker==0.32.0, each Tinker training client is an interactive Fastino
job. The SDK model ID is also its ID under /v1/training/jobs.
Supported administration calls
Supported administration calls
Fastino supports
list_training_runs, get_training_run,
list_checkpoints, list_user_checkpoints,
get_weights_info_by_tinker_path, get_checkpoint_archive_url,
delete_checkpoint_from_tinker_path,
publish_checkpoint_from_tinker_path,
unpublish_checkpoint_from_tinker_path,
set_checkpoint_ttl_from_tinker_path,
get_current_checkpoint_storage_usage, and get_billing_usage.Run listing reads interactive runs only. Use /v1/training/jobs to list
both config and interactive jobs.Limits
Limits
- LoRA rank must be between 1 and 32.
- The optimizer is AdamW.
- Supported losses are
cross_entropy,importance_sampling,ppo,cispo, anddro. - Prompt chunks must use
encoded_text. - Training operations run in order. Training-operation futures cannot be cancelled.
- The SDK session is released after 5 minutes without its heartbeat. Keep the
ServiceClientactive or finish the session before a laptop sleeps. - Checkpoint downloads are enabled by default. A decoder’s sampler checkpoint downloads as a standard Hugging Face PEFT adapter for the public base model.
- Publishing changes visibility within the owning team. It does not make the path loadable by another team.
Unsupported calls
Unsupported calls
- Batch future retrieval with
retrieve_futures save_weights_externalandexternal_weights_urls- Session trace export and Audit-log entries
- Sampling without a
SamplingClient target_prompt_logprobsand positiveprompt_alt_tokens_k
TINKER_CREDENTIAL_CMD prints exactly
one current fast_sk_ key and that TINKER_BASE_URL matches the value above.
