autointent.advisor.estimate#

autointent.advisor.estimate(target, *, stats=None, budget_vram_gb=None)#

Estimate what a preset (or YAML config path) will cost on the local hardware.

Parameters:
  • target (str) – Bundled preset name (e.g. 'transformers-light') or a YAML config path. The friendly name surfaced in the report is the file stem for paths and the preset name otherwise.

  • stats (autointent.advisor._report.DatasetStats | None) – Dataset stats to score against. Defaults to a placeholder if None.

  • budget_vram_gb (float | None) – Optional VRAM-budget override for the hardware probe.

Returns:

PreflightReport covering resource / data / config phases.

Return type:

autointent.advisor._report.PreflightReport