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

Array API: Testing #439

Open
Saransh-cpp opened this issue Nov 20, 2024 · 2 comments · May be fixed by #459
Open

Array API: Testing #439

Saransh-cpp opened this issue Nov 20, 2024 · 2 comments · May be fixed by #459
Assignees
Labels
array-api Work is related to the Array API testing Work is related to testing

Comments

@Saransh-cpp
Copy link
Member

Add your issue here

We need to figure out a way to test the new Array API implementations. Ideally, this should be something that can run on any system and only checks the mechanics of the code without passing in data (as we do not have any GPU instances yet, which will change in the future - ARCHER2). In any case, we cannot keep running simulations on ARCHER2 indefinitely, as we will run out of ARCHER2 time once the grant reaches its end (if I am not wrong).

We should look at how SciPy does this. At the moment I am testing the GPU implementations locally (like how I did in my previous job - merge the PR if the tests pass on 2 independent local CUDA machines 🥲).

@Saransh-cpp Saransh-cpp added array-api Work is related to the Array API testing Work is related to testing labels Nov 20, 2024
@paddyroddy
Copy link
Member

Looks like they might be just testing on CPU? https://github.com/scipy/scipy/blob/main/.github/workflows/array_api.yml

@ntessore
Copy link
Collaborator

We need to be careful in separating the tests of the Array API from testing on GPUs, as they are somewhat orthogonal challenges. For this issue here, I think https://github.com/data-apis/array-api-strict could help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
array-api Work is related to the Array API testing Work is related to testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants