torch和transformers版本

#3
by afei0126 - opened

请问使用的是什么版本的torch和transformer?加载模型的时候报以下错误,不知道是否为torch或transformers版本的问题:

RuntimeError: Failed to import transformers.models.bloom.modeling_bloom because of the following error (look up to see its traceback):
Failed to import transformers.integrations.peft because of the following error (look up to see its traceback):
cannot import name '_register_tensor_wrapper' from 'torch.distributed._functional_collectives_impl' (/usr/local/lib/python3.10/dist-packages/torch/distributed/_functional_collectives_impl.py)

Sign up or log in to comment