From e68e8fe52567b5d358e93d7e7a3b3c0518932005 Mon Sep 17 00:00:00 2001 From: Ganesh Jagadeesan Date: Thu, 9 May 2024 18:25:24 +0000 Subject: [PATCH] added devcontainer to help vscode dev setup --- .devcontainer/cuda/devcontainer.json | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .devcontainer/cuda/devcontainer.json diff --git a/.devcontainer/cuda/devcontainer.json b/.devcontainer/cuda/devcontainer.json new file mode 100644 index 00000000000..a3c3827d906 --- /dev/null +++ b/.devcontainer/cuda/devcontainer.json @@ -0,0 +1,31 @@ +{ + "name": "vllm-dev-cuda", + "build": { + "dockerfile": "../../Dockerfile", + "context": "../..", + "target": "dev" + }, + "runArgs": ["--gpus", "all"], + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance", + "charliermarsh.ruff", + "ms-toolsai.jupyter-keymap", + "ms-vscode.cpptools", + "NVIDIA.nsight-vscode-edition" + ], + "settings": { + "python.defaultInterpreterPath": "/usr/bin/python3", + "ruff.lint.args": [ + "\"--config=pyproject.toml\"" + ] + } + + } + }, + "containerEnv": { + "HF_TOKEN": "${localEnv:HF_TOKEN}" + } +} \ No newline at end of file