Skip to content

Commit

Permalink
chore(example): revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Nov 2, 2024
1 parent d6d1e8f commit 88512a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 88512a8

Please sign in to comment.