Coder Social home page Coder Social logo

zhouhang-chn / arm64-docker-pytorch-tensorflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from utopiazh/arm64-docker-pytorch-tensorflow

0.0 0.0 0.0 113 KB

A Deep Learning Docker Image (PyTorch and TensorFlow) for arm64 architecture

Home Page: https://hub.docker.com/repository/docker/sonoisa/deep-learning-coding

License: Apache License 2.0

Shell 75.42% Makefile 1.94% Dockerfile 22.64%

arm64-docker-pytorch-tensorflow's Introduction

arm64-docker-pytorch-tensorflow

Dockerfile of a Deep Learning development environment with PyTorch and Tensorflow for arm64 architecture, especially Applie Silicon (M1) Macs.

This Dockerfile is a merged version of the Dockerfile for PyTorch and the Dockerfile for TensorFlow described in the following site. https://community.arm.com/developer/tools-software/tools/b/tools-software-ides-blog/posts/aarch64-docker-images-for-pytorch-and-tensorflow

How to build

To build on 16GB M1 MacBook Pro

  • Make sure to allocate 12GB of memory and 4 cpu to Docker.
  • The build may fail due to lack of memory, so restart the Docker service itself and run the build immediately after that.
$ ./build.sh --build-type full --jobs 2

To build on 64GB M1 Max MacBook Pro

  • Make sure to allocate 48GB of memory and 8 cpu to Docker.
$ ./build.sh --build-type full --jobs 8 --bazel_memory_limit 24576

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.