GPU Support #834
jared252016
started this conversation in
Show and tell
GPU Support
#834
Replies: 1 comment
-
|
@jared252016 Thanks for taking the time. We'll go through this and get back to you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone, I was going to post an article about setting this up, but I couldn't get Crawl4AI to actually reach the website.
I was however successfully able to build the local install using the GPU=true option. It did require some tweaking to the Dockerfile and docker-compose.yml.
This is for Ubuntu 24.04, and may differ for other variations. It should work for Ubuntu 22.04 also. I'm using the 550 drivers.
Here is the updated Dockerfile, it includes pulling the cuda toolkit from Nvidia, since it's no longer available as a package in apt.
Also, do not forget to add GPU support in the docker-compose.yml file:
You will also need the Nvidia Container Toolkit installed and have already rebooted before trying to launch the compose file with the following command:
If you have any questions or experience any errors, let me know and I'll do what I can to help.
Beta Was this translation helpful? Give feedback.
All reactions