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

Using Device CPU issue #66

Open
okorlu opened this issue Jul 9, 2022 · 4 comments
Open

Using Device CPU issue #66

okorlu opened this issue Jul 9, 2022 · 4 comments

Comments

@okorlu
Copy link

okorlu commented Jul 9, 2022

Hi,

I am trying the deploy Dalle-Flow server on my M1Pro chip MacbookPro. The machine has GPU, but Dalle-Flow doesn't use it! In the Dalle-diffusion summary phase, it said "Using device: cpu" How can I change this?

This can be a newbie question, because I am a newbie. Any help is much appreciated.

@JoanFM
Copy link
Member

JoanFM commented Jul 9, 2022

Hey @okorlu,

Can you please show the logs when using JINA_LOG_LEVEL=DEBUG before starting the Flow? Which Executor do you want to have running in GPU?

@okorlu
Copy link
Author

okorlu commented Jul 9, 2022

Hey @JoanFM
It was right before waiting dalle... part. It looks like this
Screen Shot 2022-07-09 at 18 02 39

@JoanFM
Copy link
Member

JoanFM commented Jul 10, 2022

Hey @okorlu,

I do not see any obvious problem in this image, what is the exact problem?

@okorlu
Copy link
Author

okorlu commented Jul 10, 2022

Hey @JoanFM,

As you can see right after rerank/rep-0©8402, after "Waiting dalle diffusion summary" it says: "Using device cpu". In the hardware requirements, it is specifically mentioned that "CPU-only environment is not tested and likely won't work." First, I don't think this a problem. You know, may it uses it for other purposes? But than I waiting and waiting and waiting... After more than 20 minutes, still nothing happened. I must admit, when first dalle launched, I tried to deploy it on cpu only machine. So I have experience, too :) But this time I am sure, my computer do have GPUs and enough RAM. I tried to used it in virtual environments, Rosetta anything I saw on the forums, the results is not changing. I pretty upset, I cannot do anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants