-
Notifications
You must be signed in to change notification settings - Fork 23
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
Build error under WSL2 #13
Comments
I'm encountering the exact same error on Windows, from what I can tell it doesn't have anything to do w/ the CUDA Install. Instead it would appear that its requiring we get those three libraries in the RLIB Format, but they're compiled in a different format. I noticed in build.rs the following: but it would appear this workaround no longer works. I can't seem to get past this either, and I dont know RUST well enough to know what to google to find the result. Nothing is really jumping out at me as to how we can force these three libs to compile in rlib. |
I am a rust noob Here is what I did to build: Install rustup and stable channel, then run Now switch to channel before pipeline changes, I used
At this point ed25519-1.4.0 was problematic for being too-new. Instead of downgrading I patched my local version. ~/.cargo/registry/src/github.com-1ecc6299db9ec823/ed25519-1.4.0/Cargo.toml:11 + ~/.cargo/registry/src/github.com-1ecc6299db9ec823/ed25519-1.4.0/src/lib.rs:259 + Now build with |
@jkennedyvz Was this to get it working under WSL2? I tried the steps you outlined and ended up with the same rlib format error. |
Hi @TheFiZi , This was under ubuntu 20.04.4. The errors you are seeing will be present regardless of OS. Can you run BTW: I have experienced the same issues described in #11. This project is less performant on a 10xGPU rig than mkp224o on a decent multi-core system. |
@jkennedyvz thanks! I got a lot further with that. I've got ed25519 1.4.1 installed and with or without your suggested tweaks I get this:
Now that I've read running this on my 3070 isn't going to be any faster than just using mkp224o on my CPU. I think I'll just stick with that. |
So I was able to get this to compile myself; however started encountering errors when actually running it:
|
After reading that you too @jkennedyvz had issues with speed on a GPU Rig, I've been running the CatHugger mkp224o on a AMD Epyc processor now for a bit; and will likely just continue with that. |
I've tried this, the nightly 04 snapshot, and about 50 others. Having the exact same issues as AykaTV. Once, I did get it to compile and it spit out a seed key and my custom prefix. Ha. But I have no idea how I did it and cannot replicate it. :\ I think it builds successfully if I use: PTX_CRATE_BUILDING=1 CARGO_BUILD_PIPELINING=true cargo +nightly install --path . but will blow up with the unwrap() Err on InvalidImage. So frustrating, I probably spent enough time on this to get a vanity on regular CPU cores :\ |
Not sure if this is related to #8 or not. Since the error I am getting is different I figured I'd post a separate issue.
Installed the latest CUDA via the instructions in https://forums.developer.nvidia.com/t/failure-to-install-cuda-on-wsl-2-ubuntu/128592/8
Also tried this:
and I get the following:
There are CUDA Libraries in
/usr/local/cuda/lib64/
The text was updated successfully, but these errors were encountered: