Coder Social home page Coder Social logo

Comments (4)

whysirier avatar whysirier commented on May 18, 2024

没人反映过这个问题的吗?

from paddle.

lijialin03 avatar lijialin03 commented on May 18, 2024

您好,感谢您的反馈,如果使用conda安装,可以试一下

export LD_LIBRARY_PATH='/home/{用户名}/anaconda3/envs/{虚拟环境名}/lib/'

相关问题,#51190 #49106

from paddle.

jzhang533 avatar jzhang533 commented on May 18, 2024

@whysirier 讨论时请遵守参与者公约

from paddle.

whysirier avatar whysirier commented on May 18, 2024

解决了:
1)nvidia-smi中cuda和nvcc -V的版本要一致
2)假设cuda是12的版本,python -m pip install paddlepaddle-gpu==2.6.1.post120 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
3)如果提示libstdc++.so.6: version ‘GLIBCXX_‘ not found , 使用以下命令:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-11 g++-11
sudo apt-get upgrade libstdc++6
4)如果提示RuntimeError: (PreconditionNotMet) The third-party dynamic library (libnccl)
安装nvidia nccl库,配置环境变量 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/include/nccl.h
5)如果提示libcuda, libcudnn等错误, 配置环境变量:
export CUDA_HOME=/usr/local/cuda-12.2
export PATH=$CUDA_HOME/bin:$PATH
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH

from paddle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.