Class BenchmarkInfo
public sealed class BenchmarkInfo : LiteRTLMNativeHandle
- Inheritance
-
objectBenchmarkInfo
- Inherited Members
Methods
GetDecodeTurns()
Returns the benchmark information for each decode turn.
public BenchmarkInfo.Turn[] GetDecodeTurns()
Returns
- Turn[]
GetPrefillTurns()
Returns the benchmark information for each prefill turn.
public BenchmarkInfo.Turn[] GetPrefillTurns()
Returns
- Turn[]
GetTimeToFirstToken()
Returns the time to the first token in seconds.
public double GetTimeToFirstToken()
Returns
- double
The time to the first token in seconds.
Remarks
Note that the time to first token does not include initialization time. It is the sum of the prefill time for the first turn and the time spent decoding the first token.
GetTotalInitTime()
Returns the total initialization time in seconds.
public double GetTotalInitTime()
Returns
- double
The total initialization time in seconds.
ReleaseUnmanagedResources()
protected override void ReleaseUnmanagedResources()