{#if model.id === "bigscience/bloom"}
{@html getStatusReport($modelLoadStates[model.id], azureState)}
{:else if computeTime}
Computation time on {$modelLoadStates[model.id]?.compute_type ?? ComputeType.CPU}: {computeTime}
{:else if (model.inference === InferenceDisplayability.Yes || model.pipeline_tag === "reinforcement-learning") && !modelTooBig}
{@html getStatusReport($modelLoadStates[model.id], state)}
{:else if model.inference === InferenceDisplayability.ExplicitOptOut}
Inference API has been turned off for this model.
{:else if model.inference === InferenceDisplayability.CustomCode}
Inference API does not yet support model repos that contain custom code.
{:else if model.inference === InferenceDisplayability.LibraryNotDetected}
Unable to determine this model's library. Check the
docs
.
{:else if model.inference === InferenceDisplayability.PipelineNotDetected}
Unable to determine this model’s pipeline type. Check the
docs
.
{:else if model.inference === InferenceDisplayability.PipelineLibraryPairNotSupported}
Inference API does not yet support {model.library_name} models for this pipeline type.
{:else if modelTooBig}
Model is too large to load onto the free Inference API. To try the model, launch it on Inference Endpoints
instead.
{:else}
Inference API is disabled for an unknown reason. Please open a
Discussion in the Community tab.
{/if}