Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/qvac-lib-infer-nmtcpp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.1] - 2026-05-04

### Added

- Exported `RuntimeStats` interface in `index.d.ts` with fields: `totalTokens`, `totalTime`, `decodeTime`, `TPS` (required), `encodeTime`, `TTFT` (optional — GGML backend only). Matches C++ backend output for SDK type-safety.

## [2.1.0] - 2026-04-22

### Added
Expand Down
9 changes: 9 additions & 0 deletions packages/qvac-lib-infer-nmtcpp/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ export interface InferenceClientState {
destroyed: boolean
}

export interface RuntimeStats {
totalTokens: number
totalTime: number
decodeTime: number
Comment thread
gianni-cor marked this conversation as resolved.
TPS: number
encodeTime?: number
TTFT?: number
}
Comment thread
gianni-cor marked this conversation as resolved.

export default class TranslationNmtcpp {
static readonly ModelTypes: TranslationNmtcppModelTypes
constructor(args: TranslationNmtcppArgs)
Expand Down
2 changes: 1 addition & 1 deletion packages/qvac-lib-infer-nmtcpp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qvac/translation-nmtcpp",
"version": "2.1.0",
"version": "2.1.1",
"description": "translation addon for qvac",
"addon": true,
"engines": {
Expand Down
Loading