背景:No module named 'flash_attn' 这个玩意没有安装,好,我来安装,安装发现没有cuda 目录页(bug后附),安装cuda吧,(nvidia-smi有返回结果,但就是没有cuda目录页)安装cuda发现需要选择distribution ,我擦,Centos已经不维护了,该选哪个啊?
一,bug出现
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 4, in __init__ File "/dat/envs/glmvoice/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 553, in from_pretrained model_class = get_class_from_dynamic_module( File "/data/sofvs/glmvoice/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 552, in get_class_from_dynamic_module return get_class_in_module