Comments (8)
Please wait for a future release with Linux support.
from xdna-driver.
The current Ryzen AI SW release supports Windows only. The Linux support is under development. The examples and tutorials with ONNXRT will be ported to Linux. Stay tuned.
from xdna-driver.
Thanks, I currently have some kernels written for AIE's (made using the Vitis toolchain for the VCK190). Is there a tutorial to get that code/kernel running on the NPU on Linux? Is that possible at the moment or will we need to wait for a future release?
from xdna-driver.
@Joel-De you could look at https://github.com/Xilinx/mlir-air and https://github.com/Xilinx/mlir-aie
from xdna-driver.
@Joel-De you could look at https://github.com/Xilinx/mlir-air and https://github.com/Xilinx/mlir-aie
Yeah, found this a couple days ago, it's pretty much exactly what I was looking for. Seems to be relatively stable as well with the linux driver which is nice😄
from xdna-driver.
There is also https://discord.gg/URq8HjVq you might be interested in.
from xdna-driver.
Does Ryzen AI use the same AI Engine Tiles as the Versal FPGAs do? It doesn't have to be perfect 1:1 compatibility. llama.cpp requires custom kernels to dequantize parameters right before the matrix matrix and matrix vector multiplications. Xilinx has extensive documentation on how to write custom AI Engine kernels for their FPGAs and I am hoping that at least some of that documentation is going to be relevant for Ryzen AI.
from xdna-driver.
Does Ryzen AI use the same AI Engine Tiles as the Versal FPGAs do? It doesn't have to be perfect 1:1 compatibility.
@Vorlent Yes. The current RyzenAI uses 5x4 tiles of AIE-ML aka AIE2
- AIE2/AIE-ML architecture https://docs.xilinx.com/r/en-US/am020-versal-aie-ml/Overview
- AIE2/AIE-ML C++ API https://www.xilinx.com/htmldocs/xilinx2023_2/aiengine_ml_intrinsics/intrinsics/
I do not think that the usual Vitis tools cannot be used publicly to program RyzenAI yet,
but there are some open-source projects related to AIE which are interesting to program RyzenAI, like:
- https://riallto.ai
- https://github.com/Xilinx/mlir-aie
- https://github.com/Xilinx/mlir-air
- https://github.com/nod-ai/iree-amd-aie
from xdna-driver.
Related Issues (20)
- clinfo outputs the '[XRT] ERROR: get_device_info: Operation not supported' HOT 4
- kernel oops while running 'xbutil validate' HOT 29
- `No such device with index '0'` on 8700G HOT 7
- How many memory does the Ryzen 7 8700g' s 780m can address ? HOT 4
- Failed to open KMQ device fd (err=22): Invalid argument TEST FAILED! when running the test example. HOT 15
- Build XRT failed. Any depends on Vitis? HOT 7
- Kernel 6.9 released HOT 4
- DRM_IOCTL_AMDXDNA_GET_INFO IOCTL failed (err=95): Operation not supported HOT 6
- `example_noop_test` buffer overflows HOT 3
- How many mainborad 's memory can be addressed by the AMD Ryzen™ AI 9 365's gpu、npu ? HOT 1
- Supporting Linux 6.10 HOT 12
- Broken Ubuntu Version Check for Debian HOT 2
- Build error for xrt with gcc-14 and solution HOT 2
- Can there be a github actions to pre build rpm/deb packages? HOT 1
- Upstream HOT 2
- Would add more document for use case of xdna-driver HOT 8
- Help for install xdna-driver "No such device with index '0'" HOT 20
- will xdna driver and xrt support running under linux VM environment? HOT 2
- `./build.sh: line 91: jq: command not found`
- make: *** No rule to make target 'package'. Stop. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xdna-driver.