diff options
Diffstat (limited to '.vscode')
| -rw-r--r-- | .vscode/launch.json | 26 | ||||
| -rw-r--r-- | .vscode/settings.json | 3 |
2 files changed, 29 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d49f941 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,26 @@ +{ + // 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": "debugpy", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal" + }, + { + "name": "Debug: Single GPU", + "type": "debugpy", + "request": "launch", + "program": "pretrain.py", + "args": [], + "env": { + "OMP_NUM_THREADS": "1", + "DISABLE_COMPILE": "true" + } + } + ] +}
\ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8aef7b1 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "python.analysis.typeCheckingMode": "standard" +}
\ No newline at end of file |
