mirror of
https://github.com/karl0ss/bazarr-ai-sub-generator.git
synced 2025-04-26 06:49:22 +01:00
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
// 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": [
|
|
{
|
|
"name": "Python Debugger: Current File",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"CUDA_VISIBLE_DEVICES": "1",
|
|
"LD_LIBRARY_PATH": "/home/karl/faster-auto-subtitle/venv/lib/python3.11/site-packages/nvidia/cublas/lib:/home/karl/faster-auto-subtitle/venv/lib/python3.11/site-packages/nvidia/cudnn/lib"
|
|
},
|
|
"args": [
|
|
"--model",
|
|
"base"
|
|
]
|
|
},
|
|
{
|
|
"name": "Current (withenv)",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/run_with_env.sh",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"args": [
|
|
"${file}",
|
|
"--model",
|
|
"base"
|
|
]
|
|
}
|
|
]
|
|
}
|