Skip to content
Back to skills

Batched Performance

ASecurity

"Guides TabPFN batched multi-dataset inference, cache placement,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
businessgogitperformance

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill batched-performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Batched Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Batched Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-batched-performance/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-batched-performance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: batched-performance
description: "Guides TabPFN batched multi-dataset inference, cache placement,
  and performance tradeoffs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# TabPFN batched performance

Use this sub-skill when the user wants to score many datasets in one call or
needs to understand how TabPFN trades memory for speed.

## Start here

- Read `references/batched-workflows.md` for `predict_proba_batched` and `predict_batched` semantics.
- Read `references/memory-and-performance.md` for `fit_mode`, cache behavior, and chunking guidance.
- Read `references/troubleshooting.md` for ragged batches, float64, and unsupported option failures.
- Run `scripts/batched_prediction_smoke.py --help` when you have a local checkpoint and want a source-free batch smoke check.

## Use this sub-skill when

- The task mentions cross-validation folds, repeated train/test splits, or a list of datasets.
- The user asks how to reduce repeated preprocessing or repeated inference cost.
- The user wants to understand `fit_mode`, `fit_with_cache`, `keep_cache_on_device`, or `kv_cache_precision`.
- The user is comparing memory use vs latency for one checkpoint on many datasets.

## Route elsewhere

- One dataset, logits, quantiles, embeddings, or estimator basics: `../tabular-prediction/SKILL.md`.
- Input cleaning, categorical detection, NaNs, infinities, or config fields: `../preprocessing-config/SKILL.md`.
- `eval_metric`, tuning, differentiable input, or fine-tuning: `../tuning-and-advanced/SKILL.md`.
- Model download, auth, persistence, or checkpoint conversion: `../model-management/SKILL.md`.

## What this route owns

- `predict_proba_batched` for classifiers.
- `predict_batched` for regressors.
- The shape and class-set constraints that come from fused batched scoring.
- Memory and cache tradeoffs for repeated fits and repeated prediction calls.

## What to remember

- Batched inference is only worth it when multiple datasets share the same shape family.
- Ragged batches are rejected instead of padded.
- Some classifier post-processing options are not supported in batched mode because their fitted state is dataset-specific.
- `float64` is rejected by the fused batched path even though ordinary per-dataset prediction may still work.

Files in this skill

  • SKILL.md2.3 KB
  • references/batched-workflows.md1.6 KB
  • references/memory-and-performance.md1.5 KB
  • references/troubleshooting.md1.4 KB
  • scripts/batched_prediction_smoke.py3.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.