Comments (4)
Try replacing import tensorflow as tf
with import tensorflow.compat.v1 as tf
.
More generally, take a look at https://www.tensorflow.org/guide/migrate
from gpu-jupyter.
Thanks for the feedback, this bug should be fixed with commit e894fd0 (Fixed cuda compatibility issue in tf)
See:
gpu-jupyter/src/Dockerfile.gpulibs
Lines 3 to 8 in 9539831
As explained in the referred link,
"TensorFlow supports CUDA 10.1 (TensorFlow >= 2.1.0)". With Tensorflow 2.1 is should work.
By the way, in extra/Getting_Started/GPU-processing.ipynb you can see the expected results for CUDA availability.
from gpu-jupyter.
Thank you!! Tensorflow & Keras are working now. This image is a perfect base for a child image because all the heavy problems are solved in one black box. Much better than my old solution :-)
from gpu-jupyter.
@bklippstein you are welcome! 😊
Whenever you find a way to improve this image, let me know by writing an issue or pull request!
from gpu-jupyter.
Related Issues (20)
- Files are displayed empty after restart of the container HOT 1
- no 'latest' tag on docker hub HOT 1
- image build fails on Debian 11 when trying follow instructions to build for nvidia/cuda:12.1.0-base-ubuntu20.04 HOT 3
- Error when running your current image with host drivers cuda 12.1 : "Could not load dynamic library 'libnvinfer.so.7'" HOT 3
- jupyternbextension-not found HOT 9
- PyTorch 2 needs CUDA 11.7+ HOT 5
- How to add new packages into the image ? HOT 2
- Unable to change conda environment in kernel HOT 4
- Update CUDA to 11.8 HOT 17
- CUDA version incompatibility HOT 10
- TensorFlow throws missing libdevice errors
- Update to Jupyterlab 4.0.10 HOT 6
- Static Token HOT 1
- torch gpu problem HOT 3
- Upgrade to latest versions (e.g. CUDA 12.3) HOT 3
- Suggest way to use latest pytorch (2.2.2) HOT 4
- Container not accessible from the network with Podman instead of Docker HOT 1
- Use other servers like Jupyverse HOT 1
- tensorflow couldn't use nvidia GPU in v1.7_cuda-12.3_ubuntu-22.04 HOT 4
- CUDA 12.1 support? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpu-jupyter.