tinygrad / tinygrad/tinygrad

AMD GPU support on OpenBSD?

Open
#7,420 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
33.6k
Forks
4.3k
Avg merge
3h 11m
Merged PRs (30d)
491

Description

I have an OpenBSD-current system equipped with a Radeon RX 6500

$ doas lspci | grep ' VGA '
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] (rev c3)

I built tinygrad on OpenBSD-current, but the AMD GPU is not detected

$ .venv/bin/python3 -c "from tinygrad import Device; print(list(Device.get_available_devices()))"
['CLANG']

Is it possible to leverage AMD GPUs on OpenBSD, given that OpenBSD has some level of support for AMD GPU?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the OpenBSD-current environment and checking the AMD device with lspci. Then trace tinygrad's Device.get_available_devices result, using the OpenBSD amdgpu support documentation as context. Done means the Radeon RX 6500 is detected and can be leveraged by tinygrad on OpenBSD.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.