Search and parallelism

From VectorSpaceLab/AREX-Skill · View interactive version

Search and parallelism is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Control auto-sklearn search spaces, parallel resources, ensembles, disk outputs, and result-inspection APIs.

How to use this skill

Skill file

Search and Parallelism

Use this sub-skill when the task is to configure or diagnose auto-sklearn search/resources, Dask parallelism, SMAC strategy callbacks, ensemble construction, disk outputs, or result inspection after a fit.

Route here for

Route elsewhere

Fast operating checklist

  1. Decide the workflow mode:
  1. Budget resources conservatively. In multi-process search, total model-training memory can approach n_jobs * memory_limit plus the parent process and Dask overhead. If the dataset is large, do not simply raise n_jobs.
  2. Set thread caps before Python starts when using multiple workers or when predicting/scoring large ensembles:

```bash

export OPENBLAS_NUM_THREADS=1

export MKL_NUM_THREADS=1

export OMP_NUM_THREADS=1

```

  1. If using Dask workers across processes or machines, ensure all workers can read/write the same tmp_folder and output area.
  2. Choose include/exclude with valid component IDs. Use include for tight, interpretable, or fast searches; use exclude to remove only known bad/expensive components. Do not set both.
  3. Keep evaluator output enabled unless the workflow is analysis-only and does not need prediction or ensembles. disable_evaluator_output=True disables saved models and predictions, so predict() is unavailable.
  4. Inspect results in layers: sprint_statistics() for run counts, leaderboard() for tabular ranking, show_models() for ensemble members, cv_results_ for GridSearchCV-like details, and performance_over_time_ for time curves.

Bundled references and helper

Validation before a future run

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.