From dfef13f69f2215c296987d3e7c827fc5b07d2a40 Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Mon, 6 May 2024 18:22:46 +0200 Subject: [PATCH 1/2] damn i am stupid follow-up to #653 --- packages/gguf/src/gguf.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gguf/src/gguf.ts b/packages/gguf/src/gguf.ts index 25f41252f..8671593c0 100644 --- a/packages/gguf/src/gguf.ts +++ b/packages/gguf/src/gguf.ts @@ -362,6 +362,7 @@ export async function ggufAllShards( * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. */ fetch?: typeof fetch; + additionalFetchHeaders?: Record; } ): Promise<{ shards: GGUFParseOutput[]; parameterCount: number }> { const ggufShardFileInfo = parseGgufShardFilename(url); From a7caba56c8906e05bdacdec7bc95d6908811d088 Mon Sep 17 00:00:00 2001 From: machineuser Date: Mon, 6 May 2024 16:24:26 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=96=20@hugginface/gguf=200.1.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gguf/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gguf/package.json b/packages/gguf/package.json index ab1fc993e..b3c00cb40 100644 --- a/packages/gguf/package.json +++ b/packages/gguf/package.json @@ -1,7 +1,7 @@ { "name": "@huggingface/gguf", "packageManager": "pnpm@8.10.5", - "version": "0.1.3", + "version": "0.1.4", "description": "a GGUF parser that works on remotely hosted files", "repository": "https://github.com/huggingface/huggingface.js.git", "publishConfig": {