Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update third party tests to pass without fp64 aspect #2284

Merged
merged 6 commits into from
Jan 30, 2025

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Jan 27, 2025

Some of third party tests are intended to run towards the latest NumPy, but previously it was run only in public CI on OpenCL CPU device.
With the new stable workflow available in the internal CI, such scenario is also covered for L0 GPU device.
Thus the tests has to consider dtype check of result based on fp64 aspect of the device (some of GPU does not provide it).

The PR proposes to update the affected tests and to modify dtype check based on device capabilities where the result is allocating.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to 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?
  • If this PR is a work in progress, are you filing the PR as a draft?

@antonwolfy antonwolfy self-assigned this Jan 27, 2025
Copy link
Contributor

Array API standard conformance tests for dpnp=0.17.0dev5=py312he4f9c94_11 ran successfully.
Passed: 957
Failed: 0
Skipped: 43

Base automatically changed from add-metadata-required-dependencies to master January 28, 2025 13:17
@antonwolfy antonwolfy force-pushed the fix-third-party-tests-numpy-2.2 branch from d492948 to 509da7b Compare January 28, 2025 18:24
@antonwolfy antonwolfy marked this pull request as ready for review January 28, 2025 18:24
Copy link
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/pull/2284/index.html

@coveralls
Copy link
Collaborator

coveralls commented Jan 28, 2025

Coverage Status

coverage: 71.325%. remained the same
when pulling aae3d59 on fix-third-party-tests-numpy-2.2
into 0e479cc on master.

Copy link
Contributor

github-actions bot commented Jan 28, 2025

Array API standard conformance tests for dpnp=0.17.0dev5=py312he4f9c94_17 ran successfully.
Passed: 968
Failed: 0
Skipped: 32

Copy link
Collaborator

@vtavana vtavana left a comment

Choose a reason for hiding this comment

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

Thank you, @antonwolfy!

@antonwolfy antonwolfy merged commit 6e9d830 into master Jan 30, 2025
65 of 70 checks passed
@antonwolfy antonwolfy deleted the fix-third-party-tests-numpy-2.2 branch January 30, 2025 18:02
github-actions bot added a commit that referenced this pull request Jan 30, 2025
Some of third party tests are intended to run towards the latest NumPy,
but previously it was run only in public CI on OpenCL CPU device.
With the new `stable` workflow available in the internal CI, such
scenario is also covered for L0 GPU device.
Thus the tests has to consider dtype check of result based on fp64
aspect of the device (some of GPU does not provide it).

The PR proposes to update the affected tests and to modify dtype check
based on device capabilities where the result is allocating. 6e9d830
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