-
Notifications
You must be signed in to change notification settings - Fork 230
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
Cannot locate artifact 'libknet8' for aarch64-linux-gnu-libgfortran5-cxx11-libstdcxx29-julia_version+1.7.1 in Docker Container on Apple Silicon #674
Comments
Dear @manuEbg: The libknet8 library is only needed if you want to use the GPU. As far as I know this is not possible with the Macs at the moment as CUDA.jl no longer supports them. Do you just want a clean install for cpu use only? |
Hey @denizyuret, |
@maleadt: we seem to have a problem in Knet where the installation gets stuck on a new architecture with no gpu support because it cannot locate the libknet8.so artifact. In these cases we want the installation to proceed with no libknet8. Thinking that you may have had a similar problem in CUDA.jl and its artifacts I wanted to pick your brain -- do you have any suggestions? |
Wrap the (function that calls the) artifact macro in try/catch? https://github.com/JuliaGPU/CUDA.jl/blob/e1ba6121e4d32a5d90b6f1849926e9b4f0062700/deps/bindeps.jl#L95-L100 |
@manuEbg can you try:
|
Hey @denizyuret , I am very sorry, but I absolutely lost track of this one. I just noticed you implemented the suggested solution with 553a5b6 . However I still get
|
This also falls into the same error.
|
I did some more test.
Both of the above result in :
However this one:
results in:
I think this behaviour is very strange |
Same issue on FreeBSD:
https://cirrus-ci.com/task/6610845332406272?logs=test#L201 All seems well on the GitHub Actions VMs (Ubuntu, macOS and Windows64), even though I imagine they don't have a GPU either. |
Hello,
I am trying to get Knet working in a docker container on my apple silicon Mac.
however the following problem occurred
I am using the official Julia Docker image with Julia v1.7.1
I am not using CUDA
On My Ubuntu machine it runs perfectly fine.
I am not sure if this is related to Knet, Docker or Apple...
But I hope someone could help me find a Solution:)
The text was updated successfully, but these errors were encountered: