Skip to content

Commit 4a985eb

Browse files
committed
typing
1 parent 74a36be commit 4a985eb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/gguf/src/gguf.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ export async function gguf(
419419
}
420420
}
421421

422-
const kvEndOffset = offset;
423422
const tensorInfoStartOffset = offset;
424423
const tensorInfos: GGUFTensorInfo[] = [];
425424

packages/gguf/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,5 @@ export interface GGUFParseOutput<Options extends GGUFMetadataOptions = { strict:
146146
tensorInfos: GGUFTensorInfo[];
147147
tensorDataOffset: bigint;
148148
littleEndian: boolean;
149+
tensorInfoByteRange: [number, number];
149150
}

0 commit comments

Comments
 (0)