Skip to content

Difficult to change max seq len in android llama demo app #3674

Closed
@CHNtentes

Description

@CHNtentes

Hi,
I tried android llama demo app. While it works, I don't know how to make generated text longer.
I already set max length to 4096 when exporting pte model, and when I use llama_main cli I can set seq_len to 4096.
How do I modify this value in demo app code?

Metadata

Metadata

Assignees

Labels

module: examplesIssues related to demos under examples/triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions