devcontainer.json 949 Bytes
Newer Older
1
2
3
{
    "name": "sglang",
    "build": {
4
        "dockerfile": "Dockerfile"
5
    },
6
    "remoteUser": "devuser",
7
8
9
10
11
12
13
14
15
16
17
18
    "customizations": {
        "vscode": {
            "extensions": [
                // Python development
                "ms-python.python",
                "charliermarsh.ruff",
                // Rust development
                "rust-lang.rust-analyzer",
                "tamasfe.even-better-toml"
            ]
        }
    },
19
20
21
22
    "forwardPorts": [],
    "runArgs": [
        "--gpus",
        "all"
23
24
25
26
27
28
29
    ],
    // The two lines below ensures that your local changes in the sglang
    // repo is automatically synced to the sglang pip package installed
    // in the dev docker container. You can remove / comment out these
    // two lines if you prefer to sync code changes manually.
    "workspaceMount": "source=${localWorkspaceFolder},target=/sgl-workspace/sglang,type=bind",
    "workspaceFolder": "/sgl-workspace/sglang"
30
}