8000 GitHub - ShawonAshraf/mlcontainers
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ShawonAshraf/mlcontainers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlcontainers

A collection of devcontainer configurations I usually use for my deep learning / machine learning projects.

usage

Important

For GPU passthrough to work in some configurations, you'll need to install the nvidia-container-toolkit first. Please refer to the official docs.

Install the devcontainer-cli via npm

npm install -g @devcontainers/cli
# you may have to use sudo in some linux distros
# especially if npm installed as a system package

Then run the configuration you want by

devcontainer up --workspace-folder <path-to-configuration>

# example
devcontainer up --workspace-folder ./torch-uv

If you only wish to build a devcontainer to run it later,

devcontainer build --workspace-folder <path-to-configuration>

# example
devcontainer build --workspace-folder ./jax-uv

Important

These configurations are for Nvidia GPUs and x86_64 based systems. Besides, GPU passthrough isn't there for macOS/Asahi Linux running Apple Silicon yet.

Once up and running, you can connect to the devcontainer through VS Code or Jetbrains IDEs (these are the ones I use actually!).

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0