Skip to content

Support NumPy 2 in openpi-client - #1037

Open
zjn20030811 wants to merge 1 commit into
Physical-Intelligence:mainfrom
zjn20030811:fix/openpi-client-numpy2
Open

Support NumPy 2 in openpi-client#1037
zjn20030811 wants to merge 1 commit into
Physical-Intelligence:mainfrom
zjn20030811:fix/openpi-client-numpy2

Conversation

@zjn20030811

@zjn20030811 zjn20030811 commented Sep 4, 2026

Copy link
Copy Markdown

Summary

  • relax the openpi-client NumPy upper bound to allow NumPy 2.x
  • add serializer round-trip coverage for float, integer, and boolean arrays, including dtype preservation

Fixes #991.

Validation

  • NumPy 1.26.4: PYTHONPATH=packages/openpi-client/src python -m pytest packages/openpi-client/src/openpi_client/msgpack_numpy_test.py packages/openpi-client/src/openpi_client/image_tools_test.py -q (22 passed)
  • NumPy 2.x (isolated environment): same test suite (22 passed)

@jimmyt857
jimmyt857 removed their request for review September 4, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Numpy > 2 Support for openpi-client?

1 participant