Skip to content

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

@doudoudiule

Description

@doudoudiule

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 有问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions