Skip to content

Init prompts are truncated to --batch-size (max 512 tokens) #1403

Closed as not planned
@MystCaster

Description

@MystCaster

Prompt should not have a max size of --batch-size.
if ((int) embd.size() >= params.n_batch) { break; } seems to have no particular usage and should be removed to allow prompting more than 512 tokens.

A side effect is that with the current version, initial prompts are truncated to 512 tokens no matter the --ctx_size or the --batch-size parameter.

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