"conda install cudatoolkit" failed on Sagemaker studio lab - Can't create "lib/libnppif.so"

0

“conda install cudatoolkit” failed on Sagemaker studio lab with the following error: InvalidArchiveError("Error with archive /home/studio-lab-user/.conda/pkgs/cudatoolkit-11.8.0-h37601d7_11hobyfh16/pkg-cudatoolkit-11.8.0-h37601d7_11.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nCan't create 'lib/libnppif.so'")

We have tried deleting the archive file "/home/studio-lab-user/.conda/pkgs/cudatoolkit*" and reinstalled cudatoolkit but still received the same error.

Can anyone share where "lib/libnppif.so" (a standard CUDA shared lib) is included the default Sagemaker studio lab environment so that we can run the "conda install cudatoolkit" command. Or let us know where the standard cuda library paths are on Sagemaker studio lab (nothing obvious based on our search) so that we can try "EXPORT LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64"

Thank you!

posta un anno fa216 visualizzazioni
1 Risposta
0

CUDA Toolkit. Before you do conda install cudatoolkit, please make sure that you are using a SageMaker Studio lab runtime with GPU enabled. I tried to duplicate your issue on my side, I can hardly get a GPU enabled runtime. Base on my experience, I would recommend you to set up a SageMaker Studio domain with instance type of ml.p3.2xlarge to perform experiemental task.

profile picture
con risposta 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande