We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d1e8f commit 88512a8Copy full SHA for 88512a8
example/src/App.tsx
@@ -86,9 +86,8 @@ export default function App() {
86
initLlama({
87
model: file.uri,
88
use_mlock: true,
89
- n_gpu_layers: Platform.OS === 'ios' ? 999 : 0, // > 0: enable GPU
+ n_gpu_layers: Platform.OS === 'ios' ? 0 : 0, // > 0: enable GPU
90
// embedding: true,
91
- rpc_servers: ['127.0.0.1:19853'],
92
})
93
.then((ctx) => {
94
setContext(ctx)
0 commit comments