Last active
March 23, 2024 02:22
-
-
Save ALEXOTANO/576de6145e34a2325088c5f7feb555f1 to your computer and use it in GitHub Desktop.
Devcontainer json confing file with arguments to run with GPUs and needed extensions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | |
// README at: https://github.com/devcontainers/templates/tree/main/src/python | |
{ | |
"name": "AudioGen", | |
"build": { | |
"dockerfile": "Dockerfile" | |
}, | |
"runArgs": [ | |
// GPUs disponibles | |
"--gpus=all", | |
// pytorch preformance | |
"--ipc=host" | |
], | |
// Configure tool-specific properties. | |
"customizations": { | |
"vscode": { | |
"extensions": [ | |
"ms-azuretools.vscode-docker", | |
"github.copilot", | |
"eamodio.gitlens", | |
"ms-python.python", | |
"ms-python.vscode-pylance", | |
"ms-python.isort", | |
"ms-toolsai.jupyter", | |
"ms-toolsai.vscode-jupyter-cell-tags", | |
"ms-toolsai.jupyter-renderers", | |
"ms-toolsai.vscode-jupyter-slideshow", | |
"christian-kohler.path-intellisense", | |
"mutantdino.resourcemonitor", | |
"redhat.vscode-yaml" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment