Skip to content

[Long seq length] GPT Seq length constrain  #752

@zhen-jia

Description

@zhen-jia

It seems that maximum seq length supported is 4096 for GPT:

(https://github.com/NVIDIA/FasterTransformer/blob/main/src/fastertransformer/models/multi_gpu_gpt/ParallelGptDecoderLayerWeight.h#L31)

Bert seems also have the same maximum seq length.

May I ask the following questions:

  1. where the constrain comes from, i.e., which kernel.
  2. Do you have a plan to support longer seq length?

Thanks!

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