Hello all,
I am working on centos7 OS workstation. My system has NVIDIA RTX 3090 GPU.
I created a conda environment and installed gpu tensorflow using following sequence of commands:
conda create -n tfgpu python=3.7
conda activate tfgpu
conda install -c conda-forge cudatoolkit=11.2.2 cudnn=8.1.0
mkdir -p $CONDA_PREFIX/etc/conda/activate.d
echo ‘export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/’ > $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
Then I restart the terminal and installed the tensorflow as follows:
conda activate tfgpu
python3 -m pip install tensorflow==2.10
and verify install:
python3 -c “import os; os.environ[‘TF_CPP_MIN_LOG_LEVEL’] = ‘3’; import tensorflow as tf; print('Num GPUs Available: ', len(tf.config.list_physical_devices(‘GPU’)))”
It is recognizing 1 GPU.
After this I tried to install jupyter notebook in same virtual environment using following command, but failed to installed. It is taking days to solve the environment.
conda install -c conda-forge jupyter
I don’t know where I am doing wrong.
How can I install jupyter notebbok in the tensorflow environment? Please guide me.
Thanks