Skip to content

Commit 88512a8

Browse files
committed
chore(example): revert unnecessary changes
1 parent d6d1e8f commit 88512a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

example/src/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ export default function App() {
8686
initLlama({
8787
model: file.uri,
8888
use_mlock: true,
89-
n_gpu_layers: Platform.OS === 'ios' ? 999 : 0, // > 0: enable GPU
89+
n_gpu_layers: Platform.OS === 'ios' ? 0 : 0, // > 0: enable GPU
9090
// embedding: true,
91-
rpc_servers: ['127.0.0.1:19853'],
9291
})
9392
.then((ctx) => {
9493
setContext(ctx)

0 commit comments

Comments
 (0)