Skip to content

Commit

Permalink
chore(example): revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Mar 20, 2024
1 parent 5e87940 commit ed0aefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function App() {
initLlama({
model: file.uri,
use_mlock: true,
n_gpu_layers: Platform.OS === 'ios' ? 1 : 0, // > 0: enable GPU
n_gpu_layers: Platform.OS === 'ios' ? 0 : 0, // > 0: enable GPU
// embedding: true,
})
.then((ctx) => {
Expand Down

0 comments on commit ed0aefc

Please sign in to comment.