mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 07:57:44 +00:00
chore: add devcontainer Dockerfile, devcontainer.json, and env (#997)
* chore: add devcontainer Dockerfile, devcontainer.json, and env * style: remove unnecessary comment on ENABLE_CACHE setting * docs: add internal devcontainer README with setup instructions * Update README in .devcontainer based on PR #997 --------- Co-authored-by: jingyuanlm <842442862@qq.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "rd-agent-mle DevContainer",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"context": ".."
|
||||
},
|
||||
"workspaceFolder": "/workspace/RD-Agent",
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/RD-Agent,type=bind,consistency=cached",
|
||||
"remoteUser": "root",
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash"
|
||||
},
|
||||
"mounts": [
|
||||
"source=/home/shared/RD-Agent/kaggle,target=/home/shared/RD-Agent/kaggle,type=bind,consistency=cached,readonly"
|
||||
],
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
"ms-python.vscode-pylance",
|
||||
"ms-toolsai.jupyter"
|
||||
],
|
||||
"runArgs": [
|
||||
"--init",
|
||||
"--shm-size=1g",
|
||||
"--env-file", "${localWorkspaceFolder}/.devcontainer/env",
|
||||
"--network=host",
|
||||
"--gpus=all"
|
||||
],
|
||||
"postCreateCommand": "make dev"
|
||||
}
|
||||
Reference in New Issue
Block a user