Skip to content

Support NumPy 2.0 #6980

@NeilGirdhar

Description

@NeilGirdhar

Feature request

Support NumPy 2.0.

Motivation

NumPy introduces the Array API, which bridges the gap between machine learning libraries. Many clients of HuggingFace are eager to start using the Array API.

Besides that, NumPy 2 provides a cleaner interface than NumPy 1.

Tasks

NumPy 2.0 was released for testing so that libraries could ensure compatibility since mid-March. What needs to be done for HuggingFace to support Numpy 2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions