Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_installed check for tensorflow-cpu failed as 'spec is None' #66545

Open
earlytalk opened this issue Apr 27, 2024 · 2 comments
Open

is_installed check for tensorflow-cpu failed as 'spec is None' #66545

earlytalk opened this issue Apr 27, 2024 · 2 comments
Assignees
Labels
stale This label marks the issue/pr stale - to be closed automatically if no activity stat:awaiting response Status - Awaiting response from author TF 2.16 type:build/install Build and install issues type:support Support issues

Comments

@earlytalk
Copy link

Issue type

Support

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

source

TensorFlow version

2.16.1

Custom code

Yes

OS platform and distribution

No response

Mobile device

No response

Python version

No response

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

stable diffusion start have this issue

Standalone code to reproduce the issue

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.9.3
Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0
current transparent-background 1.2.12
is_installed check for tensorflow-cpu failed as 'spec is None'
Installing requirements for easyphoto-webui
Installing requirements for tensorflow
loading WD14-tagger reqs from I:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-wd14-tagger\requirements.txt
Checking WD14-tagger requirements.
Launching Web UI with arguments: --xformers --disable-safe-unpickle --api
2024-04-27 09:32:57.827792: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-04-27 09:33:06.916852: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.

Relevant log output

No response

@SuryanarayanaY
Copy link
Collaborator

Hi @earlytalk ,

As per the log what i understood is the system is checking for tensorflow-cpu package which not exists. If you have installed tensorflow package which is by default GPU package. You might need to install tensorflow-cpu and check.

Also If your OS is windows then GPU support not available for TF versions>=2.11v. Either you need to install tensorflow-cpu or install WSL2 for enabling GPU. Please check the attached documentation for more details.

@SuryanarayanaY SuryanarayanaY added type:build/install Build and install issues TF 2.16 stat:awaiting response Status - Awaiting response from author labels Apr 29, 2024
Copy link

github-actions bot commented May 7, 2024

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale This label marks the issue/pr stale - to be closed automatically if no activity label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This label marks the issue/pr stale - to be closed automatically if no activity stat:awaiting response Status - Awaiting response from author TF 2.16 type:build/install Build and install issues type:support Support issues
Projects
None yet
Development

No branches or pull requests

2 participants