Comments (4)
Could you try the docker-based installation for now? It should have the correct gcc version.
http://tensorflow.org/get_started/os_setup.md#docker-based_installation
It is possible to modify the lower-level scripts to use a different gcc. But you will need to modify a few places in the source code to make that happen.
from tensorflow.
In case you have any trouble with the docker flow, this is the place you can modify to use a different compiler with Cuda, although we don't currently have a more user-friendly way of doing that.
CPU_COMPILER = ('/usr/bin/gcc')
NVCC_PATH = CURRENT_DIR + '/../../../cuda/bin/nvcc'
GCC_HOST_COMPILER_PATH = ('/usr/bin/gcc')
LLVM_HOST_COMPILER_PATH = ('/usr/bin/gcc')
from tensorflow.
I changed the required gcc version in CUDA before installing so I could use my system version.
Seems to have worked. There are rumors about possible problems but I've seen none so far.
https://www.udacity.com/wiki/cs344/troubleshoot-gcc47
from tensorflow.
Here are some other options for you:
https://stackoverflow.com/questions/6622454/cuda-incompatible-with-my-gcc-version
from tensorflow.
Related Issues (20)
- 模板类 TensorContractionBlocking 的模板参数数量不正确 HOT 1
- [Error]tf-opt --tf-init-text-file-to-import --tf-saved-model-dir HOT 1
- Aborted (core dumped) in `tf.irfftnd/ifftnd/irfftnd`
- _image_ops.so not found
- Inconsistency in CPU results and GPU results in model training HOT 4
- Unable bazel build tensorflow with cuda support inside a docker HOT 1
- TFLite GPUv2: ADD(x, 1e-5) results in severely wrong output HOT 1
- Why don't you provide a standard go-lang get install?
- Protobuf does not support 4.x HOT 2
- Failed to compile on aarch64 HOT 1
- Fit function to work with adaptive step size
- Documentation for `tf.linalg.set_diag()` is missing return information HOT 3
- NumPy 2.0 support
- wrong calculations with TPU distribution strategy HOT 1
- Iterating over a symbolic `tf.Tensor` is not allowed: AutoGraph did convert this function
- Why tf.data.Dataset.choose_from_datasets() chooses only one element from dataset of size-element 5, I want to unite with other dataset of size-element 5 the same. If I want to merge dataset with all their elements and get <ChooseDataset ...> with 10 elements inside HOT 1
- tf.data filter dataset too slow HOT 2
- import tensorflow.compat.v2 could not be resolved HOT 5
- Broken ExtensionType interoperability with Keras in 2.16
- tf.keras.utils.Sequence or tf.keras.utils.PyDataset is abnormal in tensorflow2.16 HOT 1
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 tensorflow.