Skip to content

update to support transformers 4.48 #269

Open
@wyli

Description

@wyli

thanks for maintaining these neat implementations!

would be great to support transformers 4.48 as the previous versions have a security issue https://github.com/nvidia-holoscan/holohub/security/dependabot/35

currently llm-awq supports 4.46 and

"transformers==4.46.0",
and there's an error when running with 4.48

stderr |   File "/workspace/llm-awq/tinychat/models/llama.py", line 146, in __init__
stderr |     self.rotary_emb = LlamaRotaryEmbedding(
stderr | TypeError: LlamaRotaryEmbedding.__init__() got an unexpected keyword argument 'max_position_embeddings'

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