|
| 1 | +# Copyright 2019 The TensorFlow Authors. All Rights Reserved. |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | +# ============================================================================ |
| 15 | +# |
| 16 | +# THIS IS A GENERATED DOCKERFILE. |
| 17 | +# |
| 18 | +# This file was assembled from multiple pieces, whose use is documented |
| 19 | +# throughout. Please refer to the TensorFlow dockerfiles documentation |
| 20 | +# for more information. |
| 21 | + |
| 22 | +# A list of assignees |
| 23 | +assignees: |
| 24 | + - amahendrakar |
| 25 | + - ravikyram |
| 26 | + - Saduf2019 |
| 27 | +# A list of assignees for compiler folder |
| 28 | +compiler_assignees: |
| 29 | + - joker-eph |
| 30 | +# filesystem path |
| 31 | +filesystem_path: |
| 32 | + - tensorflow/c/experimental/filesystem |
| 33 | +# security path |
| 34 | +security_path: |
| 35 | + - tensorflow/security |
| 36 | +# words checklist |
| 37 | +segfault_memory: |
| 38 | + - segfault |
| 39 | + - memory leaks |
| 40 | +# assignees |
| 41 | +filesystem_security_assignee: |
| 42 | + - mihaimaruseac |
| 43 | + |
| 44 | +tflite_micro_path: |
| 45 | + - tensorflow/lite/micro |
| 46 | + |
| 47 | +tflite_micro_comment: > |
| 48 | + Thanks for contributing to TensorFlow Lite Micro. |
| 49 | + |
| 50 | +
|
| 51 | + To keep this process moving along, we'd like to make sure that you have completed the items on this list: |
| 52 | + * Read the [contributing guidelines for TensorFlow Lite Micro](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/micro/CONTRIBUTING.md) |
| 53 | + * Created a [TF Lite Micro Github issue](https://github.com/tensorflow/tensorflow/issues/new?labels=comp%3Amicro&template=70-tflite-micro-issue.md) |
| 54 | + * Linked to the issue from the PR description |
| 55 | + |
| 56 | +
|
| 57 | + We would like to have a discussion on the Github issue first to determine the best path forward, and then proceed to the PR review. |
| 58 | +
|
| 59 | +# Cuda Comment |
| 60 | +cuda_comment: > |
| 61 | + From the template it looks like you are installing **TensorFlow** (TF) prebuilt binaries: |
| 62 | + * For TF-GPU - See point 1 |
| 63 | + * For TF-CPU - See point 2 |
| 64 | + ----------------------------------------------------------------------------------------------- |
| 65 | + |
| 66 | + **1. Installing **TensorFlow-GPU** (TF) prebuilt binaries** |
| 67 | + |
| 68 | + |
| 69 | + Make sure you are using compatible TF and CUDA versions. |
| 70 | + Please refer following TF version and CUDA version compatibility table. |
| 71 | + |
| 72 | + | TF | CUDA | |
| 73 | + |
| 74 | + | :-------------: | :-------------: | |
| 75 | + |
| 76 | + | 2.1.0 - 2.2.0 | 10.1 | |
| 77 | + |
| 78 | + | 1.13.1 - 2.0 | 10.0 | |
| 79 | + |
| 80 | + | 1.5.0 - 1.12.0 | 9.0 | |
| 81 | + |
| 82 | + * If you have above configuration and using _**Windows**_ platform - |
| 83 | + * Try adding the CUDA, CUPTI, and cuDNN installation directories to the %PATH% environment variable. |
| 84 | + * Refer [windows setup guide](https://www.tensorflow.org/install/gpu#windows_setup). |
| 85 | + * If you have above configuration and using _**Ubuntu/Linux**_ platform - |
| 86 | + * Try adding the CUDA, CUPTI, and cuDNN installation directories to the $LD_LIBRARY_PATH environment variable. |
| 87 | + * Refer [linux setup guide](https://www.tensorflow.org/install/gpu#linux_setup). |
| 88 | + * If error still persists then, apparently your CPU model does not support AVX instruction sets. |
| 89 | + * Refer [hardware requirements](https://www.tensorflow.org/install/pip#hardware-requirements). |
| 90 | + |
| 91 | + ----------------------------------------------------------------------------------------------- |
| 92 | + |
| 93 | + **2. Installing **TensorFlow** (TF) CPU prebuilt binaries** |
| 94 | + |
| 95 | + |
| 96 | + *TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets.* |
| 97 | + |
| 98 | + |
| 99 | + Therefore on any CPU that does not have these instruction sets, either CPU or GPU version of TF will fail to load. |
| 100 | + |
| 101 | + Apparently, your CPU model does not support AVX instruction sets. You can still use TensorFlow with the alternatives given below: |
| 102 | + |
| 103 | + * Try Google Colab to use TensorFlow. |
| 104 | + * The easiest way to use TF will be to switch to [google colab](https://colab.sandbox.google.com/notebooks/welcome.ipynb#recent=true). You get pre-installed latest stable TF version. Also you can use ```pip install``` to install any other preferred TF version. |
| 105 | + * It has an added advantage since you can you easily switch to different hardware accelerators (cpu, gpu, tpu) as per the task. |
| 106 | + * All you need is a good internet connection and you are all set. |
| 107 | + * Try to build TF from sources by changing CPU optimization flags. |
| 108 | + |
| 109 | + *Please let us know if this helps.* |
| 110 | + |
| 111 | +windows_comment: > |
| 112 | + From the stack trace it looks like you are hitting windows path length limit. |
| 113 | + * Try to disable path length limit on Windows 10. |
| 114 | + * Refer [disable path length limit instructions guide.](https://mspoweruser.com/ntfs-260-character-windows-10/) |
| 115 | + |
| 116 | + Please let us know if this helps. |
0 commit comments