> ## Documentation Index
> Fetch the complete documentation index at: https://docs.priorlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> TabPFN-3 and later versions support up to 1,000,000 rows, subject to feature count and checkpoint/API limits.
> For large datasets, use per-estimator subsampling, e.g. inference_config={"SUBSAMPLE_SAMPLES": 100_000}, in TabPFNClassifier or TabPFNRegressor from tabpfn or tabpfn_client.
> Pass raw pandas DataFrames to fit and predict. Categorical strings/categories, raw text, and missing feature values are handled automatically; no manual integer/one-hot encoding, imputation, scaling, or outlier removal is needed.

# Diagnostics and errors

> Error raised when CUDA GPU runs out of memory during prediction.

## `TabPFNCUDAOutOfMemoryError`

[ View source ](https://github.com/PriorLabs/TabPFN/blob/f02b3b5941717472eafd078c15ae2043676b3fcf/src/tabpfn/errors.py#L137)

Error raised when CUDA GPU runs out of memory during prediction.

```python theme={null}
TabPFNCUDAOutOfMemoryError(
    original_error: Exception | None = None,
    *,
    n_train_samples: int | None = None,
    n_test_samples: int | None = None,
    n_features: int | None = None,
    model_type: str = "classifier",
)
```

**Parameters**

| Parameter | Type | Default | Description |
| - | - | - | - |
| `original_error` | `Exception \| None` | `None` | — |
| `n_train_samples` | `int \| None` | `None` | — |
| `n_test_samples` | `int \| None` | `None` | — |
| `n_features` | `int \| None` | `None` | — |
| `model_type` | `str` | `"classifier"` | — |

***

## `TabPFNMPSOutOfMemoryError`

[ View source ](https://github.com/PriorLabs/TabPFN/blob/f02b3b5941717472eafd078c15ae2043676b3fcf/src/tabpfn/errors.py#L143)

Error raised when MPS (Apple Silicon) runs out of memory during prediction.

```python theme={null}
TabPFNMPSOutOfMemoryError(
    original_error: Exception | None = None,
    *,
    n_train_samples: int | None = None,
    n_test_samples: int | None = None,
    n_features: int | None = None,
    model_type: str = "classifier",
)
```

**Parameters**

| Parameter | Type | Default | Description |
| - | - | - | - |
| `original_error` | `Exception \| None` | `None` | — |
| `n_train_samples` | `int \| None` | `None` | — |
| `n_test_samples` | `int \| None` | `None` | — |
| `n_features` | `int \| None` | `None` | — |
| `model_type` | `str` | `"classifier"` | — |

***

## `display_debug_info`

[ View source ](https://github.com/PriorLabs/TabPFN/blob/f02b3b5941717472eafd078c15ae2043676b3fcf/src/tabpfn/misc/debug_versions.py#L652)

Print useful debugging information.

```python theme={null}
display_debug_info()
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.