TensorRT-LLMs/examples/auto_deploy/.vscode/settings.json
Lucas Liebenwein de409e8468
[AutoDeploy] HF factory improvements (#4371)
* [AutoDeploy] HF factory improvements

Signed-off-by: Lucas Liebenwein <11156568+lucaslie@users.noreply.github.com>

* improve monkey-patches and add unit tests

Signed-off-by: Lucas Liebenwein <11156568+lucaslie@users.noreply.github.com>

---------

Signed-off-by: Lucas Liebenwein <11156568+lucaslie@users.noreply.github.com>
2025-05-19 20:13:43 -07:00

56 lines
2.0 KiB
JSON

// VSCode workspace settings for python-only tekit development /////////////////////////////////////
{
// REQUIRES CUSTOMIZATION: modify according to your needs...! //////////////////////////////////
// Please also modify the .env file accordingly
"terminal.integrated.env.linux": {
"OMPI_MCA_opal_cuda_support": "true",
"LD_LIBRARY_PATH": "/lib/x86_64-linux-gnu:<PATH-TO-CONDA-ENV>/lib:${env:LD_LIBRARY_PATH}",
},
// STANDARD SETTINGS, DO NOT MODIFY ////////////////////////////////////////////////////////////
"python.envFile": "${workspaceFolder}/.vscode/.env",
"editor.rulers": [
100
], // 100 for auto-formatter, 120 for hard limit in ruff
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
},
"python.testing.pytestEnabled": true,
// TODO: VSCode is going to support error-tolerant pytest discovery in the near future:
// https://code.visualstudio.com/updates/v1_81#_python
// When that happens, we can remove the --ignore-glob flag and the gpu tests will be skipped
"python.testing.pytestArgs": [
"./tests/unittest/_torch/auto_deploy",
"--no-cov",
],
"files.exclude": {
"build": true,
},
"files.watcherExclude": {
".ipynb_checkpoints": true,
".mypy_cache": true,
".pytest_cache": true,
".ruff_cache": true,
".tox": true,
"**/__pycache__/**": true,
"**/*.pyc": true,
"**/runs": true,
"build": true
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml",
},
"yaml.format.enable": false,
"yaml.format.printWidth": 150,
"yaml.format.bracketSpacing": false,
"yaml.customTags": [
"!reference sequence"
],
// disable toml/json schema since we have custom fields
"evenBetterToml.schema.enabled": false,
"docker.languageserver.formatter.ignoreMultilineInstructions": true,
}