Skip to content

apply_per_channel_scale may fail to launch when the input sequence length is extremely large #4085

@StudyingShao

Description

@StudyingShao

System Info

NA

Who can help?

@StudyingShao

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

NA

Expected behavior

INT4 AWQ can work correctly with an extremely large input sequence length.

actual behavior

The launch of the kernel apply_per_channel_scale fails, when the CUDA grid.y of the launching configurations exceeds 65535.

additional notes

NA

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions