-
Notifications
You must be signed in to change notification settings - Fork 39
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
Adding CUDA SDK Toolkit ? #6
Comments
Yeap. I was thinking of adding CUDA support. But I don't have a GPU anymore to test it. Would you be willing to test the docker build? This will probably require changing the dockerfile once I push a draft - the way I think it should work - and building it manually if the installation fails. |
Ok for testing! Let me know which docker I should load. |
Actually, this might be easier than I thought. I just replaced manual OpenCL driver installation instructions with
|
Sadly it does not work.
|
Damn. Nvidia team cannot even ship a proper docker image for their products - the same situation happened with their opencl docker image, as you mentioned in your one-year-old last issue. Please do the steps described in this post. After you remove all cuda-related drivers, the official website proposes the next installation steps:
which you can easily find by following https://developer.nvidia.com/cuda-downloads. Once you're done, please report. |
I think your should load Then simply download hashcat:
Issue: |
Side note , using dizcza/docker-hashcat:latest (=> using OpenCL only, no CUDA), performance on WPA (mode 2500) are lower:
Roughly +5% with CUDA 10.2.. |
Cool, thank you! Then I'll switch to devel, as you suggest.
According to the description opencl is not mandatory if cuda is installed. Moreover, I get the impression that having cuda only is recommended if your device supports it because hashcat priorities cuda (if it's available) over opencl and thus installing opencl-related software will only contaminate your system unless you use them elsewhere.
Hm, this is strange. Did I misinterpret their nvidia docker description...
I guess the warning "clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR" tells not only that Here is what I did:
I'd be nice if you try |
Something strange has changed here, I've been unable to load the |
Using
As expected, CUDA 11.0 speed for this mode is +13% compared to opencl :) @msoose : don't need OpenCL anymore, and the cuda tag works ok on Vastai as well. |
@adrastee Great, thanks for the update, just confirmed |
Could then anyone test
What's the output of |
@dizcza
|
All right, thank you. I reverted the changes so that Talking about speed, you might squeeze an extra few percent out of your gpu capabilities if you run the computation not in a docker container. That very much depends on what you're doing on top of this image. If you're into dockering and use it primarily for wpa hashes, take a look at a repo of mine: https://github.com/dizcza/hashcat-wpa-server. Feel free to post here cuda-related issues, if you encounter any. |
Thanks a lot! |
Hi again, It works great with docker image |
Thanks for the heads-up! |
I am getting an error:
|
@DenkertM you probably have an outdated GPU card. With CUDA 11 release, Kepler architecture support has been dropped. Try running the |
I am wondering if this was a driver issue? It was running on a remote RTX 3060 when the issue happened, and when I used :cuda on a 2x RTX 3080 remote host it was able to start the benchmark successfully. Tonight I can do a direct A/B, I didn’t have time last night. Is there a configuration you think I should look at? |
Ah, so it's the opposite: your card is one of the newest. |
@dizcza Would you consider building an arm64 version of the image? I'm trying to run this on an Nvidia Jetson Nano |
@lawndoc well yes, if you test it - I don't have any arm64 hardware to test. |
I should be able to test it, but I might need a bit to figure out how to upgrade the cuda version on the jetson. I tried building locally and when I run I get an error that says it's not detecting 11.8 (though I did install it). I am using an older version of Jetpack that might not work nicely with newer cuda versions, so I'm going to start with reflashing Jetson OS and starting with the newest Jetpack. |
Actually nevermind, I ended up getting hashcat working locally. Sorry, and thanks for the consideration! |
Hi,
Using dizcza/docker-hashcat (
latest
tag), and startinghashcat -b,
it outputs :While it's just a warning, it seems to have bad effects on performance/stability.
Could you kindly add CUDA SDK Toolkit installation to the docker file?
Thanks!
The text was updated successfully, but these errors were encountered: