GithubHelp home page GithubHelp logo

eden-chan / jax_tpu_docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidnet/jax_tpu_docker

0.0 0.0 0.0 17 KB

Provides a Docker image for running JAX on TPU VMs. This repository contains the necessary files to build the Docker image and run JAX on TPUs with ease, making it easy for researchers to take advantage of the power of TPUs for their machine learning projects.

License: MIT License

Dockerfile 100.00%

jax_tpu_docker's Introduction

Jax TPU VM Docker Base Image ๐Ÿš€

GitHub issues GitHub contributors GitHub last commit Docker Pulls

About

Provides a Docker image for running JAX on TPU VMs. This repository contains the necessary files to build the Docker image and run JAX on TPUs with ease, making it easy for researchers to take advantage of the power of TPUs for their machine learning projects.

This image is intended to be the base image for JAX on TPU VMs, thus you can extend it via FROM orenleung:jax_tpu or directly copying and editing the file itself.

Run Docker Container

docker run --net=host --privileged -it --rm orenleung/jax_tpu:latest

Pull Docker Container

docker pull orenleung/jax_tpu:latest

Build Docker Image

docker build -t orenleung/jax_tpu .

Anotations

Since --privileged and --net=host is required, this docker image to run will require sudo privileges, so make sure that either docker daemon is configured to run without sudo or the user is added to docker group or the user is root.

TroubleShoot

if you get this error message

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'

use sudo or add your user into the docker group Docker Post-Install Instructions

References

jax_tpu_docker's People

Contributors

davidnet avatar orenleung 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.