Skip to content

Llama 2 BetterTransformer Broken #1446

@AjayP13

Description

@AjayP13

System Info

On transformers==4.34.0, patching meta-llama/Llama-2-7b-chat-hf with BetterTransformer and then running results in the error:

Error: TypeError: llama_forward() got an unexpected keyword argument 'padding_mask'

Who can help?

@younesbelkada

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 (minimal, reproducible, runnable)

N/A

Expected behavior

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions