Skip to content

Commit

Permalink
Add launch.json for debugging loading and inference
Browse files Browse the repository at this point in the history
  • Loading branch information
danforbes committed Apr 26, 2023
1 parent 8d2d9c6 commit 813bdd1
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug example 'llama_inference'",
"cargo": {
"args": [
"build",
"--example=llama_inference",
"--package=llama"
],
"filter": {
"name": "llama_inference",
"kind": "example"
}
},
"args": ["${env:HOME}/.ggml-models/gpt4all-7b.bin"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug example 'bloom_inference'",
"cargo": {
"args": [
"build",
"--example=bloom_inference",
"--package=bloom"
],
"filter": {
"name": "bloom_inference",
"kind": "example"
}
},
"args": ["${env:HOME}/.ggml-models/bloom-7b.bin"],
"cwd": "${workspaceFolder}"
}
]
}

0 comments on commit 813bdd1

Please sign in to comment.