On system I have:
Python with Tensorflow supporting CUDA12.
When I create
python -m venv .venv in virtual enviroment, it has CUDA11.8 and I don’t have driver in system for that so it doesn’t work.
What to do to have python with system packages like tensorflow working in
Some way of copying packages from system to runtime enviroment?
Ok, so going to venv config and allowing system site packages helped.
The reason for this is that if you install TensorFlow via pip from PyPi, it will download the version that is build against CUDA 11.8.
You should either not use CUDA 12 on your system, or use the tensorflow docker images.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.