Skip to content

Trouble installing tokenizers (python) on AWS lambda arm64 image. #1845

@crawftv

Description

@crawftv

It seems that a tokenizers installation pulls in 'huggingface_hub' which has a 'hf-xet' dependency which has some interesting platform specific rules which fails my build on install. a dependency resolution issue.

    "hf-xet>=1.1.3,<2.0.0; platform_machine=='x86_64' or platform_machine=='amd64' or platform_machine=='arm64' or platform_machine=='aarch64'",

I noticed that hugging face_hub is only used in 2 places in the python bindings repo.
Could this dependency moved to the testing extras, extras["testing"] ?

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