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

Linux support #9

Open
GreyXor opened this issue Mar 21, 2025 · 5 comments
Open

Linux support #9

GreyXor opened this issue Mar 21, 2025 · 5 comments
Labels

Comments

@GreyXor
Copy link

GreyXor commented Mar 21, 2025

Hello AMD,

Kudos on advancing AI capabilities with gaia! I recently got my hands on an AMD Ryzen AI 9 HX 370 with XDNA2 and successfully compiled and loaded the amdxdna driver.

Could you add support for linux and amdxdna driver ?

Thanks!

Context:

@Mizokuiam
Copy link

Hey @GreyXor

The core issue here boils down to Gaia's current dependence on certain Windows-specific APIs and libraries. Porting this over to Linux, specifically to accommodate the amdxdna driver's interface, will involve a decent chunk of refactoring. We'll need to abstract away those Windows dependencies and introduce a cross-platform layer to handle the driver interactions. This is similar to some work I did on the ROCm platform a while back, so I have a good idea of the challenges involved.

Right now, we don't have a concrete timeline for full Linux support, but we're actively exploring different architectural approaches. One idea being tossed around is leveraging something like Vulkan for hardware abstraction, but that has its own set of trade-offs.

In the meantime, if you're comfortable working with cross-compilation, you might be able to create a temporary workaround by wrapping the amdxdna driver calls in a compatibility layer. However, that would be a non-trivial undertaking.

Ping me if you have other questions down the line.

@kovtcharov
Copy link
Collaborator

kovtcharov commented Mar 23, 2025

Thank you for the kind words, @GreyXor. To add to @Mizokuiam comment, we don't have much to share at this point in regards to Linux support, however given the obvious demand we are seeing from the community, this has spurred some discussions internally. Once we have something conrete to share, I will post here and let you know.

@wangnan789
Copy link

I would also like to see support for Linux and ***BSD,
Thank you for your work
this translation is from Bing Translatese

@tcsenpai
Copy link

Just another +1 on this, I am in the same situation of OP (HX 370, xdna drivers compiled and working) and this would be a game changer

@tangmeng09
Copy link

I have buy ASUS Pro16 laptop on last year which has AI 9 365 CPU/GPU/NPU. Linux is my favourite platform. Expecting the lovely GPU/NPU to join the AI calculation, and expecting ROCm support of gfx1150 on next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants