Compute configuration for an inference endpoint.
Summary
Functions
Creates a ComputeConfig struct from an API response.
Types
@type accelerator() :: :cpu | :gpu
@type t() :: %HfHub.InferenceEndpoints.ComputeConfig{ accelerator: accelerator() | nil, instance_size: String.t() | nil, instance_type: String.t() | nil, scaling: HfHub.InferenceEndpoints.ScalingConfig.t() | nil }