GithubHelp home page GithubHelp logo

cpt-chewieeee / tensorflow2-cuda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lalbers/tensorflow2-cuda

0.0 1.0 0.0 14 KB

Tensorflow 2 with Cuda (Docker Build)

License: MIT License

Dockerfile 100.00%

tensorflow2-cuda's Introduction

tensorflow2-cuda

Tensorflow 2 with Cuda (Docker Build)

Workaround to handle CUDA 10.1 incompatibility

Requirements (Arch):

  • Install latest nvidia graphics drivers on host: pacman -S nvidia
  • Install nvidia-docker from aur: yay -S nvidia-docker

Usage:

docker run -d -P -p 8022:22 --runtime=nvidia twodarkmessiah/tensorflow2-cuda

default ssh password: 'changeme'

ssh [email protected] -p 8022

python3

python~ import tensorflow

python~ print("hello tensorflow")

Output should be:

Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9359 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)

For Development

Configure Remote Python Interpreter to 127.0.0.1:8022.

This Docker Container is made to offer a workaround, to nvidia cuda problems with tensorflow2.

Failed to load the native TensorFlow runtime
ImportError: /usr/lib/libcusolver.so.10.0: version `libcusolver.so.10.0' not found 

tensorflow2-cuda's People

Watchers

James Cloos 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.