InternLM / InternLM/xtuner

internlm2.py Boolean value of Tensor with more than one value is ambiguous

Open
#890 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.2k
Forks
448
Avg merge
3d 15h
Merged PRs (30d)
26

Description

File "/root/.cache/huggingface/modules/transformers_modules/internlm2_5-1_8b/modeling_internlm2.py", line 174, in forward
if seq_len > self.max_seq_len_cached:
RuntimeError: Boolean value of Tensor with more than one value is ambiguous

0.1.23 模型 /xtuner/model/modules/dispatch/internlm2.py 有问题

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.