Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu model not supported? #344

Open
hemanth opened this issue Mar 18, 2024 · 0 comments
Open

cpu model not supported? #344

hemanth opened this issue Mar 18, 2024 · 0 comments

Comments

@hemanth
Copy link

hemanth commented Mar 18, 2024

llm_inference on local is throwing the below error for gemma-2b-it-cpu-int8.bin only gpu backend type is supported?

calculator_graph.cc:892] INVALID_ARGUMENT: CalculatorGraph::Run() failed: 
Calculator::Open() for node "LlmGpuCalculator" failed: Please use a tensorflow lite model with gpu backend type, while the current model's backend type is: cpu
=== Source Location Trace: === 
third_party/odml/infra/genai/inference/calculators/llm_gpu_calculator.cc:279
third_party/mediapipe/framework/calculator_node.cc:560
_emscripten_errn @ genai_wasm_internal.js:9
$func8282 @ genai_wasm_internal.wasm:0x86abdc
$func4251 @ genai_wasm_internal.wasm:0x509788
$func2510 @ genai_wasm_internal.wasm:0x2780ff
$func200 @ genai_wasm_internal.wasm:0x95eb
$func2446 @ genai_wasm_internal.wasm:0x26c227
$qd @ genai_wasm_internal.wasm:0x596bad
ret.<computed> @ genai_wasm_internal.js:9
Module._waitUntilIdle @ genai_wasm_internal.js:9
finishProcessing @ tasks-genai:7
finishProcessing @ tasks-genai:7
Wr @ tasks-genai:7
(anonymous) @ tasks-genai:7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant