GithubHelp home page GithubHelp logo

sonoisa / arm64-docker-pytorch-tensorflow Goto Github PK

View Code? Open in Web Editor NEW
64.0 6.0 13.0 181 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

Dockerfile 21.07% Shell 77.14% Makefile 1.79%
arm64 dockerfile pytorch tensorflow m1-mac

arm64-docker-pytorch-tensorflow's People

Contributors

sonoisa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arm64-docker-pytorch-tensorflow's Issues

Native GPU on M1 Macs

This is really just a question: does the resulting image access the native GPUs on M1 Macs? In other words, can I use this image to train models on an M1 Mac?

The image does not MPS eanbled

================================================================================
PyTorch and TensorFlow for AArch64
================================================================================
ubuntu@6c43f6619444:~$ ipython
bash: ipython: command not found
ubuntu@6c43f6619444:~$ python
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.platform()
'Linux-5.15.49-linuxkit-aarch64-with-glibc2.29'
>>> import torch
>>> torch.backends.mps.is_available()
False

How to build image for M2 96GB

I am using M2 OSX 13.2. Python 3.11.1
How can I build docker image that enable MPS + PyTorch

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.