settings.json can be found in the .vscode folder
Double click a file to open it in a new tab in vscode
Instal the ruff extension then add to settings.json
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff"
}
Command + shift + f
control + -
https://docs.microsoft.com/en-us/azure/machine-learning/tutorial-setup-vscode-extension
Cmd+K S
Dev Containers: Open Folder in Container
When connecting to an EC2 machine Make ~/.ssh/config like:
Host IP_ADDRESS
HostName IP_ADDRESS
User ubuntu
IdentityFile ~/.aws/ray.pem
To pass your GPU through add
"runArgs": [
"--gpus",
"all"
],
to devcontainer.json