Skip to content
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

Add support for cuda 11.x #3

Open
daw3rd opened this issue Aug 10, 2022 · 2 comments
Open

Add support for cuda 11.x #3

daw3rd opened this issue Aug 10, 2022 · 2 comments
Assignees
Labels
feature New Feature request

Comments

@daw3rd
Copy link
Collaborator

daw3rd commented Aug 10, 2022

Cuda 10.2 is becoming more difficult to install now that some of the cuda downloads seems to have gone away. Probably should move to a more recent version anyway. This will also require upgrading DL4J.

@daw3rd daw3rd added the feature New Feature request label Aug 10, 2022
@daw3rd
Copy link
Collaborator Author

daw3rd commented Aug 10, 2022

Create new branch cuda11.0 to update the pom.xml. If you edit aisp-core-main/pom.xml to remove MainTestSuite setting, you can then run

mvn -Dtest=org.eng.aisp.classifier.dcase.DCASEClassifierTest -P cuda11.0 test

which gives the following because cuda11.0 has not been installed.

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.eng.aisp.classifier.dcase.DCASEClassifierTest
Loading aisp properties from file:/home/dawood/git/ai-signal-processing/aisp-core/aisp-core-main/aisp.properties
Aug 10, 2022 5:58:08 PM org.eng.aisp.classifier.AbstractFixableClassifier.shuffleData(AbstractFixableClassifier.java:102)
WARNING: The use of an Iterable other than IShuffleIterable has higher memory requirements.
Aug 10, 2022 5:58:08 PM org.eng.aisp.AISPRuntime.getCachingFeatureGramIterable(AISPRuntime.java:114)
INFO: Memory and/or disk caching of labeled feature/spectograms has been requested, but is ignored because caching has been disabled with the AISP/System property labeled.feature.gram.caching.enabled.  To stop this message, set this property to true to enable caching,  or change your feature gram extraction to not request caching.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Warning: Versions of org.bytedeco:javacpp:1.5.5 and org.bytedeco:cuda:11.0-8.0-1.5.4 do not match.
java.lang.UnsatisfiedLinkError: /home/dawood/.javacpp/cache/cuda-11.0-8.0-1.5.4-linux-x86_64.jar/org/bytedeco/cuda/linux-x86_64/libjnicudart.so: libcudart.so.11.0: cannot open shared object file: No such file or directory
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)

@daw3rd daw3rd assigned inouetster2 and unassigned inouetster2 Aug 10, 2022
@daw3rd
Copy link
Collaborator Author

daw3rd commented Aug 10, 2022

Over to @inouetster2 to work on the setup-aisp-gpu script to install the correct libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New Feature request
Projects
None yet
Development

No branches or pull requests

2 participants