Skip to content

fix for the wrong jax version installed - #79

Open
Marcelovk wants to merge 1 commit into
saharmor:mainfrom
Marcelovk:fix-for-wrong-jax-cuda
Open

fix for the wrong jax version installed#79
Marcelovk wants to merge 1 commit into
saharmor:mainfrom
Marcelovk:fix-for-wrong-jax-cuda

Conversation

@Marcelovk

Copy link
Copy Markdown

No description provided.

@cdmichaelb

Copy link
Copy Markdown

@Marcelovk this version should be using GPU and CuDNN right? Or is there something else I need to add to make it use GPU? My GPU doesn't appear to be being used.

@Marcelovk

Copy link
Copy Markdown
Author

As far as I understood yes, but you need to have your nvidia drivers running in order and have the nvidia docker container toolkit, as stated in https://github.com/saharmor/dalle-playground/blob/main/README.md?plain=1#L43

Check the result of the command docker-compose run dalle-backend nvidia-smi to see if your driver is being loaded correctly

@cdmichaelb

Copy link
Copy Markdown

docker-compose run dalle-backend nvidia-smi

Looks like it is, I would've thought this would be faster on GPU :P Thanks again for the help.

@Marcelovk

Copy link
Copy Markdown
Author

I have no idea how fast it should be: Here in my Ryzen 7 notebook with a RTX2060 and 16GB of RAM I get one image every 6 seconds on average

@JoshWarn

JoshWarn commented Jun 24, 2022

Copy link
Copy Markdown

How would one go about having fix #79 included? I tried reinstalling/building the docker, libraries, and MEGA as per the instructions in the Dall-e windows installation guide, but was still running into the issue.

@OtherBrand

OtherBrand commented Jun 25, 2022

Copy link
Copy Markdown

How would one go about having fix #79 included? I tried reinstalling/building the docker, libraries, and MEGA as per the instructions in the Dall-e windows installation guide, but was still running into the issue.

If you can't switch the branch manually using git, you can try making the exact changes on the files and lines that the commit in this PR makes.

EDIT: remember to do docker-compose build after changing the Dockerfile.

@NoahSchiffman

Copy link
Copy Markdown

I was actually trying to install DALL-E-MEGA on my Windows 11 x64 WSL 2 Ubuntu 22.04 LTS installation and I had run into a bug like this one. Is this that bug?

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

Successfully merging this pull request may close these issues.

5 participants