stormlog.infer.profile

Active inference profiling runner.

Functions

run_profile(config)

Run an inference profile from a resolved config.

Classes

InferenceProfiler(config)

Profile an OpenAI-compatible chat completions endpoint.

class stormlog.infer.profile.InferenceProfiler(config)[source]

Bases: object

Profile an OpenAI-compatible chat completions endpoint.

Parameters:

config (ProfileConfig)

run()[source]

Run profiling and return an aggregate report.

Return type:

dict[str, Any]

stormlog.infer.profile.run_profile(config)[source]

Run an inference profile from a resolved config.

Parameters:

config (ProfileConfig)

Return type:

dict[str, Any]