autointent.advisor#
Pre-flight compute feasibility advisor.
Experimental. This subpackage estimates VRAM, RAM, disk, and wall-time for a
search space before any training starts. Estimates are heuristic and calibrated
against a limited hardware sample, so treat them as guidance rather than
guarantees — see the accuracy caveats in the advisor page of the docs. The
public surface may change in a minor release.
Two ways in: the autointent-advisor console script, and the functions below.
Pipeline.fit(preflight=...) wires the same machinery into a fit, opt-in.
Exceptions#
Raised when |
|
Raised by |
Classes#
The machine budget every estimate is scored against. |
|
Minimal stats the advisor needs about the user's dataset. |
|
A single advisor finding rendered as one line in the summary. |
|
One report covering all three phases. |
|
Output of the recommend workflow: ranked per-preset reports plus the pick. |
|
Aggregated resource numbers across the search space. |
|
How much headroom a finding leaves against the detected budget. |
Functions#
|
Detect the local hardware, with optional manual overrides. |
|
Run all three preflight phases and return one report. |
|
Summarize an in-memory |
|
Estimate what a preset (or YAML config path) will cost on the local hardware. |
|
Walk bundled presets and return the best feasible fit plus all per-preset reports. |
|
Iteratively drop the most expensive infeasible module until the search space fits. |