tilelang.autotuner.report¶

Experimental, opt-in autotuning observations; not a persistent tuning cache.

Classes¶

TrialReporter

Invoke a caller-owned sink synchronously on the run's aggregation thread.

Module Contents¶

class tilelang.autotuner.report.TrialReporter(sink, logger)¶

Invoke a caller-owned sink synchronously on the run’s aggregation thread.

Records contain detached JSON representations of configs, not arbitrary objects. The sink must not mutate/re-enter the tuner and should not perform slow work. An ordinary reporting error disables the sink for this run, not tuning.

Parameters:
  • sink (collections.abc.Callable[[dict], None] | None)

  • logger (logging.Logger)

sink¶
logger¶
emit(status, index=None, config=None, latency=None, validation='not_run', error=None)¶