You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Here's why we have that policy**: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g. fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
10
+
**Here's why we have that policy**: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
8
11
9
12
------------------------
10
13
11
-
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
14
+
### System information
15
+
-**Have I written custom code (as opposed to using a stock example script provided in TensorFlow)**:
16
+
-**OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**:
17
+
-**TensorFlow installed from (source or binary)**:
18
+
-**TensorFlow version (use command below)**:
19
+
-**Bazel version (if compiling from source)**:
20
+
-**CUDA/cuDNN version**:
21
+
-**GPU model and memory**:
22
+
-**Exact command to reproduce**:
12
23
13
-
### System Information
14
-
-*Have I written custom code (as opposed to using a stock example script provided in TensorFlow)?*:
15
-
-*OS Platform and Distribution (i.e. Linux Ubuntu 16.0)*:
16
-
-*TensorFlow installed from (source or binary)?*:
17
-
-*TensorFlow version* (use command below):
18
-
-*Bazel version (if compiling from source)*:
19
-
-*CUDA/cuDNN version*:
20
-
-*GPU Model and Memory*:
21
-
-*Exact command to reproduce*:
24
+
You can collect some of this information using our environment capture script:
22
25
23
-
You can collect some of this information using our environment capture script https://github.com/tensorflow/tensorflow/blob/master/tools/
24
-
You can collect the TensorFlow version with
25
-
```sh
26
-
python -c "import tensorflow as tf; print (tf.GIT_VERSION, tf.VERSION)"
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
31
+
32
+
### Describe the problem
33
+
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
31
34
32
-
### Source Code / Logs
33
-
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full-traceback. Large logs and files should be attached. Try to reproducible test-case code the bare-minimum necessary to generate the problem
35
+
### Source code / logs
36
+
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the fulltraceback. Large logs and files should be attached. Try to provide a reproducible testcase that is the bareminimum necessary to generate the problem.
**We use [GitHub issues](https://github.com/tensorflow/tensorflow/issues) for
28
28
tracking requests and bugs, but please see
29
-
[Community](tensorflow/docs_src/about/index.md#community) for general questions
29
+
[Community](https://www.tensorflow.org/community/) for general questions
30
30
and discussion.**
31
31
32
32
## Installation
33
33
*See [Installing TensorFlow](https://www.tensorflow.org/install/) for instructions on how to install our release binaries or how to build from source.*
34
34
35
35
People who are a little more adventurous can also try our nightly binaries:
echo"Invalid gcc path. ${GCC_HOST_COMPILER_PATH} cannot be found"1>&2
430
-
if [ -z"$fromuser" ];then
431
-
exit 1
432
-
fi
433
-
GCC_HOST_COMPILER_PATH=""
434
-
# Retry
435
-
done
436
-
437
409
# Set up which clang we should use as the cuda / host compiler.
438
410
while [[ "$TF_CUDA_CLANG"=="1" ]] &&true;do
439
411
fromuser=""
@@ -474,6 +446,11 @@ while true; do
474
446
else
475
447
default_cuda_path="$(cygpath -m "$CUDA_PATH")"
476
448
fi
449
+
elif is_linux;then
450
+
# If the default doesn't exist, try an alternative default.
451
+
if [ !-d$default_cuda_path ] && [ -d /opt/cuda ];then
452
+
default_cuda_path=/opt/cuda
453
+
fi
477
454
fi
478
455
read -p "Please specify the location where CUDA $TF_CUDA_VERSION toolkit is installed. Refer to README.md for more details. [Default is $default_cuda_path]: " CUDA_TOOLKIT_PATH
479
456
fromuser="1"
@@ -513,6 +490,35 @@ while true; do
513
490
CUDA_TOOLKIT_PATH=""
514
491
done
515
492
493
+
# Set up which gcc nvcc should use as the host compiler
494
+
# No need to set this on Windows
495
+
while [[ "$TF_CUDA_CLANG"!="1" ]] &&! is_windows &&true;do
0 commit comments