Skip to content

RuntimeError when the number of prompts from a file causes a partial sample batch #12

@ikarth

Description

@ikarth

Using the --from-file option and supplying a list of prompts that has a length that is not a multiple of n_samples causes the following error:

RuntimeError: einsum(): operands do not broadcast with remapped shapes [original->remapped]: [48, 4096, 40]->[48, 4096, 1, 40] [40, 77, 40]->[40, 1, 77, 40]

I'm on Windows 10, though I doubt it matters for this one.

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