Preparing Anaconda with Tensorflow [ACTUALLY WORKED FOR ME 2024]
Make sure to follow this with perfect order: 1. conda create -n tf_gpu tensorflow-gpu 2. conda activate tf_gpu 3. pip install numpy==1.23.4 [EXECUTE GPU TEST CODE] ==> CODE MUST RETURN GPU NUMBER > 0 [#CONFIRMED] 4. pip install tensorflow-gpu==2.10 [EXECUTE GPU TEST CODE] ==> CODE MUST RETURN GPU NUMBER > 0 [#CONFIRMED] 5. pip install tensorflow==2.10 [EXECUTE GPU TEST CODE] ==> CODE MUST RETURN GPU NUMBER > 0 [#CONFIRMED] (You may skip the first two test, but it helps ensure your environment is set up right) TRIVIA: - There's no 2.11 version of Tensorflow GPU on pip as shown below: ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==2.11 (from versions: 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.1