Skip to content

Conversation

@ndgrigorian
Copy link
Collaborator

As plans have now evolved to move the tensor submodule to dpnp, the tensor submodule will be deprecated in a coming minor version release

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?
  • If this PR is a work in progress, are you opening the PR as a draft?

the submodule will move to dpnp.tensor in a future release
@github-actions
Copy link

@coveralls
Copy link
Collaborator

coveralls commented Nov 19, 2025

Coverage Status

coverage: 86.278% (+0.002%) from 86.276%
when pulling 05935ff on deprecate-tensor-submodule
into 70920d3 on master.

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.22.0dev0=py310h93fe807_24 ran successfully.
Passed: 1109
Failed: 49
Skipped: 82

f"dpctl.tensor.{name} is deprecated; dpctl.tensor is deprecated "
"since dpctl 0.21.1 and will be removed in a future release. "
"Install dpnp and use 'import dpnp.tensor' instead.",
DeprecationWarning,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add tests per both deprecation warnings?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there's much of a need for tests, coverage remains the same anyway and it seems to work for me locally

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.22.0dev0=py310h93fe807_49 ran successfully.
Passed: 1109
Failed: 49
Skipped: 82

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.

3 participants