---
title: "AutoProcessor"
sidebar_label: "AutoProcessor"
description: "The clika_runtime.modelverse.auto AutoProcessor class."
---

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

Load a checkpoint's preprocessing by name, without its weights.

## `from_pretrained`

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

The :class:`~clika_runtime.processor.Processor` of the checkpoint
at ``source`` (a local directory or a hub repo id): its tokenizer and
the media processor its ``preprocessor_config.json`` describes, each
reachable as a property once its ``has_*`` fact reads True. A hub
source fetches the processor files only.
