From 88512a85abd9aa29d87296cac97cb9f475e3046e Mon Sep 17 00:00:00 2001 From: Jhen-Jie Hong Date: Sat, 2 Nov 2024 13:10:18 +0800 Subject: [PATCH] chore(example): revert unnecessary changes --- example/src/App.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/example/src/App.tsx b/example/src/App.tsx index b26e663..7f5959a 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -86,9 +86,8 @@ export default function App() { initLlama({ model: file.uri, use_mlock: true, - n_gpu_layers: Platform.OS === 'ios' ? 999 : 0, // > 0: enable GPU + n_gpu_layers: Platform.OS === 'ios' ? 0 : 0, // > 0: enable GPU // embedding: true, - rpc_servers: ['127.0.0.1:19853'], }) .then((ctx) => { setContext(ctx)