---
title: "AutoConfig"
sidebar_label: "AutoConfig"
description: "The clika_runtime.modelverse AutoConfig class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

Read a checkpoint's identity by name, without its weights.

## `from_pretrained`

```python
from_pretrained(source: 'str', *, revision: 'str | None' = None, cache_dir: 'str | None' = None, token: 'str | None' = None, offline: 'bool' = False) -> 'PretrainedConfig'
```

The :class:`PretrainedConfig` of the checkpoint at ``source`` (a
local directory, a hub repo id, or a .gguf file): what the registry
resolves from its configuration alone. A hub source fetches the
configuration files only.
