THUDM / VisualGLM-6B

Chinese and English multimodal conversational language model | 多模态中英双语对话语言模型
Apache License 2.0
4.08k stars 415 forks source link

finetune.sh running error #165

Open youngstu opened 1 year ago

youngstu commented 1 year ago

RuntimeError: Error building extension 'fused_adam'

1049451037 commented 1 year ago

试一下apt-get update然后apt-get install ninja-build

youngstu commented 1 year ago

site-packages/torch/include/c10/util/C++17.h:16:2: error: #error "You're trying to build PyTorch with a too old version of GCC. We need GCC 5 or later."

是不是GCC版本低的问题呢,我现在用的是conda 虚拟环境,替换gcc到10后,直接coredump

elesun2018 commented 11 months ago

请问微调VisualGLM-6B# bash finetune/finetune_visualglm.sh,出现问题torch/utils/cpp_extension.py raise RuntimeError(message) from e RuntimeError: Error building extension 'fused_adam'是什么原因