2024-09-04
深度学习
00

cmake安装,如果需要的话,一般不要:

bash
wget https://github.com/Kitware/CMake/releases/download/v3.26.1/cmake-3.26.1-Linux-x86_64.sh \ -q -O /tmp/cmake-install.sh \ && chmod u+x /tmp/cmake-install.sh \ && mkdir /opt/cmake-3.26.1 \ && /tmp/cmake-install.sh --skip-license --prefix=/opt/cmake-3.26.1 \ && rm /tmp/cmake-install.sh \ && ln -s /opt/cmake-3.26.1/bin/* /usr/local/bin

torch==2.4.0 xformers==0.0.27.post2

bash
pip3 install --no-cache-dir networkx==3.1 pip3 install --no-cache-dir torch==2.4.0 torchvision==0.19 torchaudio==2.4.0 xformers==0.0.27.post2 --index-url https://download.pytorch.org/whl/cu121 pip3 install --no-cache-dir git+https://github.com/huggingface/transformers@19e6e80e10118f855137b90740936c0b11ac397f \ && pip3 install --no-cache-dir accelerate \ && pip3 install --no-cache-dir qwen-vl-utils pip3 install --no-cache-dir --no-build-isolation flash-attn==2.6.1
如果对你有用的话,可以打赏哦
打赏
ali pay
wechat pay

本文作者:Dong

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC。本作品采用《知识共享署名-非商业性使用 4.0 国际许可协议》进行许可。您可以在非商业用途下自由转载和修改,但必须注明出处并提供原作者链接。 许可协议。转载请注明出处!