bytedance / lightseq

LightSeq: A High Performance Library for Sequence Processing and Generation
Other
3.22k stars 329 forks source link

要求C++ 17 #525

Closed 2020zyc closed 10 months ago

2020zyc commented 10 months ago

环境: torch2.1.1 + cu118

代码: 执行 examples/training/huggingface/gpt/run_clm.sh

错误: image

image

请问是torch版本太高了吗 重新安装torch比较大 比较麻烦 有没有简易的方法呢 比如应该在哪里设置为 C++17 尝试在CMAKELIST设置 standard 为17 没有效果

2020zyc commented 10 months ago

solved: use torch1.13