Skip to content

Latest commit

 

History

History
151 lines (128 loc) · 3.54 KB

tinker-client-compatibility.md

File metadata and controls

151 lines (128 loc) · 3.54 KB

Tinker Client Compatibility

Generated from tinker==0.41.0 by tests/tinker_client_compat.py.

The test discovers public Tinker client methods with dir() and inspect, starts the real OpenRL FastAPI API server in single-process mode with a tiny local model fixture, lets the SDK fetch server bootstrap config, calls each discovered method with small fixture arguments, and records whether the call succeeds before the probe timeout.

  • Supported methods: 45
  • Unsupported methods: 61

Supported Methods

RestClient

  • get_sampler
  • get_sampler_async
  • get_server_capabilities
  • get_telemetry

SamplingClient

  • compute_logprobs
  • compute_logprobs_async
  • get_base_model
  • get_base_model_async
  • get_sampler_handle
  • get_telemetry
  • on_queue_state_change
  • sample
  • sample_async

ServiceClient

  • create_lora_training_client
  • create_lora_training_client_async
  • create_rest_client
  • create_sampling_client
  • create_sampling_client_async
  • create_training_client_from_state
  • create_training_client_from_state_async
  • create_training_client_from_state_with_optimizer
  • create_training_client_from_state_with_optimizer_async
  • get_console_url
  • get_server_capabilities
  • get_server_capabilities_async
  • get_telemetry

TrainingClient

  • create_sampling_client
  • create_sampling_client_async
  • forward
  • forward_async
  • forward_backward
  • forward_backward_async
  • get_console_url
  • get_info
  • get_info_async
  • get_telemetry
  • get_tokenizer
  • optim_step
  • optim_step_async
  • save_state
  • save_state_async
  • save_weights_and_get_sampling_client
  • save_weights_and_get_sampling_client_async
  • save_weights_for_sampler
  • save_weights_for_sampler_async

Unsupported Methods

AdminClient

  • get_audit_log
  • get_audit_log_async
  • get_billing_usage
  • get_billing_usage_async
  • get_current_checkpoint_storage_usage
  • get_current_checkpoint_storage_usage_async
  • get_telemetry

RestClient

  • assign_session_project
  • assign_session_project_async
  • copy_weights
  • copy_weights_async
  • delete_checkpoint
  • delete_checkpoint_async
  • delete_checkpoint_from_tinker_path
  • delete_checkpoint_from_tinker_path_async
  • export_session_trace
  • export_session_trace_async
  • external_weights_upload_finish
  • external_weights_upload_start
  • get_audit_log
  • get_audit_log_async
  • get_billing_usage
  • get_billing_usage_async
  • get_current_checkpoint_storage_usage
  • get_current_checkpoint_storage_usage_async
  • get_external_weights_urls
  • get_external_weights_urls_async
  • get_session
  • get_session_async
  • get_training_run
  • get_training_run_async
  • get_training_run_by_tinker_path
  • get_training_run_by_tinker_path_async
  • get_weights_info_by_tinker_path
  • list_checkpoints
  • list_checkpoints_async
  • list_sessions
  • list_sessions_async
  • list_training_runs
  • list_training_runs_async
  • list_user_checkpoints
  • list_user_checkpoints_async
  • publish_checkpoint_from_tinker_path
  • publish_checkpoint_from_tinker_path_async
  • search_checkpoints
  • search_sessions
  • set_checkpoint_ttl_from_tinker_path
  • set_checkpoint_ttl_from_tinker_path_async
  • unpublish_checkpoint_from_tinker_path
  • unpublish_checkpoint_from_tinker_path_async
  • whoami

SamplingClient

  • create
  • from_sampler_handle
  • get_tokenizer

ServiceClient

  • close
  • copy_weights
  • create_custom_loss

TrainingClient

  • forward_backward_custom
  • forward_backward_custom_async
  • save_weights_external
  • save_weights_external_async