From 7de5c7cf850fc4d9bebf2fc5241fb74b19efa346 Mon Sep 17 00:00:00 2001 From: "Jason C.H" Date: Tue, 13 Aug 2024 00:32:29 +0800 Subject: [PATCH] Fix error message for maxStorageBufferBindingSize --- mediapipe/tasks/web/genai/llm_inference/llm_inference.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/tasks/web/genai/llm_inference/llm_inference.ts b/mediapipe/tasks/web/genai/llm_inference/llm_inference.ts index cce6ef0a5b..e127cd8e36 100644 --- a/mediapipe/tasks/web/genai/llm_inference/llm_inference.ts +++ b/mediapipe/tasks/web/genai/llm_inference/llm_inference.ts @@ -301,7 +301,7 @@ export class LlmInference extends TaskRunner { `The WebGPU device is unable to execute LLM tasks, because the ` + `required maxStorageBufferBindingSize is at least ` + `${MAX_STORAGE_BUFFER_BINDING_SIZE_FOR_LLM} but your device only ` + - `supports maxStorageBufferBindingSize of ${systemBufferSizeLimit}`, + `supports maxStorageBufferBindingSize of ${systemStorageBufferBindingSizeLimit}`, ); } let maxBufferSize;