Git Product home page Git Product logo

Comments (4)

SuryanarayanaY avatar SuryanarayanaY commented on April 27, 2024

Hi @Altrastorique ,

After creating Conda environment please use pip to install TF package. For GPU package please use pip install tensorflow[and-cuda] that will install all the required compatible cuda/cudnn packages. Please ensure compatible cuda driver installed manually. Please check and come back if still having problem. Thanks.

from tensorflow.

Altrastorique avatar Altrastorique commented on April 27, 2024

Okay, but when I run this in the annaconda power shell I have this: WARNING: tensorflow 2.13.1 does not provide the extra 'and-cuda'
So when I run this code:

import tensorflow as tf
tf.test.gpu_device_name()

print(tf.config.list_physical_devices('GPU'))

I have: [ ]

The same happen when I run it in my terminal.

from tensorflow.

SuryanarayanaY avatar SuryanarayanaY commented on April 27, 2024

Okay, but when I run this in the annaconda power shell I have this: WARNING: tensorflow 2.13.1 does not provide the extra 'and-cuda'

The 'and-cuda' package introduced in TF2.14 onwards. You are trying for Tf2.13v as warning states.Please upgrade to higher version.

from tensorflow.

Altrastorique avatar Altrastorique commented on April 27, 2024

The tensorflow version >2.13 are not available on the anaconda powershell. So I had to use the terminal. But I still have this error when installing tensorflow[and-cuda]

ERROR: Could not find a version that satisfies the requirement nvidia-nccl-cu12==2.19.3; extra == "and-cuda" (from tensorflow[and-cuda]) (from versions: 0.0.1.dev5)
ERROR: No matching distribution found for nvidia-nccl-cu12==2.19.3; extra == "and-cuda"

When trying the 2.14 version I had this:

py -m pip install tensorflow==2.14
ERROR: Could not find a version that satisfies the requirement tensorflow==2.14 (from versions: 2.16.0rc0, 2.16.1)
ERROR: No matching distribution found for tensorflow==2.14

from tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.