aai-institute / aai-institute/pyDVL

Numpy 2.0 Support

未关闭
#617 1 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
bug dependencies
主要语言
Python
星标
146
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

We should update the code to be compatible with Numpy 2.0

This newer version has many deprecation that prevent using pyDVL with newer versions of numpy.
For example, `np.float_` was removed in the NumPy 2.0 release. We should use `np.float64` instead.

We can refer to its [migration guide](https://numpy.org/devdocs/numpy_2_0_migration_guide.html) for a complete list of changes.

贡献指南

打开贡献指南

调研方向

Review the NumPy 2.0 migration guide linked in the issue to identify all deprecated usages like np.float_. Search the codebase for these patterns, likely across multiple files. Replace each deprecated item with its modern equivalent, then run the test suite to ensure compatibility.

由索引模型根据 Issue 内容生成。

评估

技术栈
numpy
领域
backend, tooling
Issue 类型
重构
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。