Giter VIP home page Giter VIP logo

dnndevenvonwsl's Introduction

DnnDevEnvOnWSL

Make Deep learning environment on WSL easily and fastly.

This is a wsl image for quick development environment configuration and flexibility in a Windows environment.

Through this, it is possible to support GPU use in Tensorflow or JAX, which could not be used with Docker alone.

Additionally, CUDA installation, which requires a considerable amount of time and effort, is also performed automatically, saving time and effort.

How to start

There are two installation methods. The easiest way is to use a pre-built image, but you can also personalize it by modifying the Dockerfile yourself.

Get start from prebuilt image

wsl --set-default-version 2
wsl --import {distro_name} {install_dir} {distro_name}.tar.gz
wsl -d {distro_name}

distro_name is the prebuilt image's name. install_dir is a location to store vm image for wsl.

Get start from Dockerfile

docker build --build-arg USER={user_name} --build-arg PASSWD={pass_word} -t {distro_name} .
docker run --name {distro_name} {distro_name}
docker export --output="{distro_name}.tar.gz" {distro_name}

...

user_name: your account's name pass_word: your account's password

It is similar with general Dockerfile usage. The tasks performed after exporting the image to a tar.gz file are the same as using a “prebuilt image”.

Remove the environment

wsl --unregister {distro_name} # unregister distro

After unregister from wsl, delete the directory created in the process of registering with wsl.

References

dnndevenvonwsl's People

Contributors

crlotwhite avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.