mirror of
https://github.com/RYDE-WORK/ktransformers.git
synced 2026-01-19 21:03:18 +08:00
34 lines
915 B
JSON
34 lines
915 B
JSON
{
|
|
"name": "Ktrans Dev Container",
|
|
"privileged": true,
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": "..",
|
|
"args": {
|
|
"http_proxy": "${env:http_proxy}",
|
|
"https_proxy": "${env:https_proxy}",
|
|
}
|
|
},
|
|
"runArgs": [
|
|
"--network=host",
|
|
"--gpus",
|
|
"all"
|
|
// "--gpu all"
|
|
],
|
|
"workspaceFolder": "/workspace",
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
|
|
"mounts": [
|
|
"source=/mnt/data,target=/mnt/incontainer,type=bind,consistency=cached"
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
],
|
|
"settings": {
|
|
"terminal.integrated.shell.linux": "/bin/bash",
|
|
"cmake.configureOnOpen": true,
|
|
"cmake.generator": "Ninja"
|
|
}
|
|
}
|
|
}
|
|
} |