[ValidateApp | INFO] Validating '/home/jovyan/work/submitted/courseraLearner/W3A1/Tensorflow_introduction.ipynb'
[ValidateApp | INFO] Executing notebook with kernel: python3
2021-08-21 09:55:46.940698: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2021-08-21 09:55:46.940739: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2021-08-21 09:55:48.074542: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-08-21 09:55:48.074584: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2021-08-21 09:55:48.074612: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (somehost): /proc/driver/nvidia/version does not exist
2021-08-21 09:55:48.074897: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-08-21 09:55:48.081295: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 2999995000 Hz
2021-08-21 09:55:48.229277: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fa251a0c4b0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-08-21 09:55:48.229330: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
Fixed by @abc.
Here are a few hints to solve this problem.
Good luck with the rest of the specialization
As the topic states all tests are passing so how is redirection to irrelevant topic supposed to help in resolving the issue? I wasted an hour trying to find the correct input for the required parameter, the tests are passing correctly, the log output indicates there’s an issue with libraries not loading. What’s the fix for that? Thank you
[ValidateApp | INFO] Validating '/home/jovyan/work/submitted/courseraLearner/W3A1/Tensorflow_introduction.ipynb'
[ValidateApp | INFO] Executing notebook with kernel: python3
2021-11-26 13:27:50.163122: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2021-11-26 13:27:50.163165: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2021-11-26 13:27:51.412050: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-11-26 13:27:51.412084: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2021-11-26 13:27:51.412107: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (ip-10-2-78-225.ec2.internal): /proc/driver/nvidia/version does not exist
2021-11-26 13:27:51.412353: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-11-26 13:27:51.438107: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 2999995000 Hz
2021-11-26 13:27:51.440122: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5609757f3630 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-11-26 13:27:51.440152: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
[ValidateApp | ERROR] Timeout waiting for execute reply (30s).
[ValidateApp | ERROR] Interrupting kernel
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
Fixed by @Kasia_MacRae.
Even though the warning messages seem to indicate otherwise, the libraries work fine. If you come across this error, double check your implementation and pay attention to the hints.
Good luck with the rest of the specialization
That’s why I detest Python with a passion… The amount of time wasted on waddling through error messages that have nothing to do with the actual problem… Fixed now and onto the next one