Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Improvements to device support

Open
#70 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python
Domain
data

Research direction

Start by reviewing pull request #59 and the current device-support implementation, then inspect the flags API mentioned in the issue. Compare the existing coverage with array-api-tests, which currently lacks device tests. Done means agreeing on and implementing a scoped set of device improvements with corresponding tests.

Written by the indexing model from the issue text.

Description

Medium Priority

https://github.com/data-apis/array-api-strict/pull/59 added support for basic devices. Some improvements that could be made:

  • Factor out the device checking logic (into a decorator?)
  • Add devices that don't support certain dtypes (non-support for float64/complex128 being the most common)
  • Allow the user to manually create custom "devices" with certain properties (probably via the flags API).
  • Better testing for device support. This ideally should go in array-api-tests, but currently it doesn't test devices at all, so it would be useful to have some basic tests here.
Dominant language
Python
Stars
34
Forks
14
Avg merge
3m
Merged PRs (30d)
4

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from data-apis/array-api-strict

All issues in data-apis/array-api-strict

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.