(6 intermediate revisions by the same user not shown) | |||
Line 34: | Line 34: | ||
If something isn't packaged in Fedora or EPEL, feel free to take it! | If something isn't packaged in Fedora or EPEL, feel free to take it! | ||
{| border="1" | {| border="1" | ||
| '''Name''' || '''Fedora Package''' || '''EPEL?''' || '''Upstream package name''' || '''Upstream URL''' || '''Notes''' || | | '''Name''' || '''Fedora Package''' || '''EPEL?''' || '''Upstream package name''' || '''Upstream URL''' || '''Notes''' || | ||
|- | |- | ||
| | | rocm-compilersupport || {{ package|rocm-compilersupport|rocm-compilersupport}} || Yes || comgr || https://github.com/radeonopencompute/rocm-compilersupport || || | ||
|- | |||
| rocclr || {{ package|rocclr}} || Yes || clr || https://github.com/ROCm/clr || || | |||
|- | |||
| hsakmt || {{ package|hsakmt|hsakmt}} || Yes || roct-thunk-interface || https://github.com/radeonopencompute/roct-thunk-interface || || | |||
|- | |- | ||
| rocr-runtime || {{ package|rocm-runtime|rocm-runtime}} || Yes || ROCR-Runtime || https://github.com/ROCm/ROCR-Runtime || || | | rocr-runtime || {{ package|rocm-runtime|rocm-runtime}} || Yes || ROCR-Runtime || https://github.com/ROCm/ROCR-Runtime || || | ||
|- | |- | ||
| rocminfo || {{ package|rocminfo|rocminfo}} || Yes || rocminfo || https://github.com/radeonopencompute/rocminfo || || | | rocminfo || {{ package|rocminfo|rocminfo}} || Yes || rocminfo || https://github.com/radeonopencompute/rocminfo || || | ||
|- | |- | ||
| rocm-device-libs || {{ package|rocm-device-libs|rocm-device-libs}} || Yes || rocm-device-libs || https://github.com/radeonopencompute/rocm-device-libs || || | | rocm-device-libs || {{ package|rocm-device-libs|rocm-device-libs}} || Yes || rocm-device-libs || https://github.com/radeonopencompute/rocm-device-libs || || | ||
Line 108: | Line 108: | ||
| roctracer || {{ package|roctracer }} || || roctracer || https://github.com/rocm-developer-tools/roctracer || || | | roctracer || {{ package|roctracer }} || || roctracer || https://github.com/rocm-developer-tools/roctracer || || | ||
|- | |- | ||
| composable_kernel || || || composable_kernel ||https://github.com/ROCmSoftwarePlatform/composable_kernel || | | composable_kernel || https://bugzilla.redhat.com/show_bug.cgi?id=2336118 || || composable_kernel ||https://github.com/ROCmSoftwarePlatform/composable_kernel || || | ||
|- | |- | ||
| hipify || {{ package|hipify}} || || hipify || https://github.com/ROCm-Developer-Tools/HIPIFY || || | | hipify || {{ package|hipify}} || || hipify || https://github.com/ROCm-Developer-Tools/HIPIFY || || | ||
|- | |- | ||
| hipblaslt || {{ package|hipblaslt}} || || hipblaslt || https://github.com/ROCm/hipBLASLt || | | hipblaslt || {{ package|hipblaslt}} || || hipblaslt || https://github.com/ROCm/hipBLASLt || || | ||
|- | |||
| rocal || https://bugzilla.redhat.com/show_bug.cgi?id=2347124 || || rocal || https://github.com/ROCm/RocAL || || | |||
|- | |||
| rocom || https://bugzilla.redhat.com/show_bug.cgi?id=2348762 || || rocm || || For getting all the ROCm package || | |||
|} | |} | ||
== HW Support == | == HW Support == | ||
To determine if your hardware is supported, run rocminfo | |||
rocminfo | |||
And review the lines, looking for output like | |||
Name: gfx1201 | |||
And consulting the lists below | |||
=== Fedora 42 === | |||
gfx900 gfx906 gfx908 gfx90a gfx942 | |||
gfx1010 gfx1012 gfx1030 gfx1031 gfx1035 | |||
gfx1100 gfx1101 gfx1102 gfx1103 gfx1150 gfx1151 gfx1152 | |||
gfx1200 gfx1201 | |||
=== Fedora 41 === | |||
gfx900 gfx906 gfx908 gfx90a gfx942 | |||
gfx1010 gfx1012 gfx1030 gfx1031 | |||
gfx1100 gfx1101 gfx1102 | |||
=== General === | |||
{{Admon/warning | Upstream only officially supports x86_64, but they are open to pcc64le and arm64 patches}} | {{Admon/warning | Upstream only officially supports x86_64, but they are open to pcc64le and arm64 patches}} | ||
Some ROCm packages in Fedora are built for all 64bit little endian systems (x86_64, arm64, ppc64le), but official support is for x86_64. | Some ROCm packages in Fedora are built for all 64bit little endian systems (x86_64, arm64, ppc64le), but official support is for x86_64. | ||
== Installation == | == Installation == |
Latest revision as of 18:37, 13 March 2025
Heterogeneous Computing Special Interest Group
Mission
To encourage the packaging and accessibility of heterogeneous computing projects in Fedora and EPEL. This includes machine learning, OpenCL, and scientific computing.
Communication
While separate from the AI/ML SIG, we do share communication channels for now. If you're interested, please join us on:
- #ai-ml@fedoraproject.org Matrix room
- #fedora-ai-ml on libera.chat IRC (NOTE: With the recent Matrix/IRC bridge issues, there may not be much activity on IRC. More conversation happens in the Matrix room)
- #ai-ml-sig on Fedora's Discourse instance
Members/Packagers/Reviewers
- Jeremy Newton (ROCm related)
- Felix Schwarz (currently busy with certbot, borgbackup, WeasyPrint)
- Benson Muite
- Morgan Hough (Intel related while testing SODECL on Intel NUCs)
- Tom Rix (ROCm)
- Tim Flink
- Brian Lu
- Jonathan Steffan
- David DUncan (currently working on Fedora Cloud Edition and want to build Deep Learning Images for public cloud)
Please add your name above if you want to help.
Tasks
- Package and make HC related projects more accessible to users (such as OpenCL, AMD's ROCm HIP, Intel oneAPI, SYCL, Vulkan, OpenGL, etc.)
- Document installation, packages, and general use cases
- Translation of wiki pages and documentation (if applicable)
AMD's ROCm (HIP,OpenCL)
Package status
Below is a list of ROCm packages with their status. If something isn't packaged in Fedora or EPEL, feel free to take it!
HW Support
To determine if your hardware is supported, run rocminfo
rocminfo
And review the lines, looking for output like
Name: gfx1201
And consulting the lists below
Fedora 42
gfx900 gfx906 gfx908 gfx90a gfx942
gfx1010 gfx1012 gfx1030 gfx1031 gfx1035
gfx1100 gfx1101 gfx1102 gfx1103 gfx1150 gfx1151 gfx1152
gfx1200 gfx1201
Fedora 41
gfx900 gfx906 gfx908 gfx90a gfx942
gfx1010 gfx1012 gfx1030 gfx1031
gfx1100 gfx1101 gfx1102
General
Some ROCm packages in Fedora are built for all 64bit little endian systems (x86_64, arm64, ppc64le), but official support is for x86_64.
Installation
Setup
To enable access to GPU resources for non-root users, the users must be added to the video
(graphics) and render
(compute) group. The AMD ROCm Installation Guide (6.0.0) recommends the video
and render
group for all ROCm-supported operating systems.
To add the current user to the render
group:
sudo usermod -a -G render,video $LOGNAME
To check for ROCm support of the running HW, you can install and run rocminfo
:
sudo dnf install rocminfo rocminfo
OpenCL
ROCm OpenCL can be installed with:
sudo dnf install rocm-opencl
As well, rocm-clinfo
or clinfo
can be installed to verify it is working, e.g.:
sudo dnf install rocm-clinfo rocm-clinfo
HIP
HIP is included in Fedora 39 and is pending for Fedora 38. For Fedora 38, you will need to add --enable-repo=updates-testing to dnf if it's not available yet.
Install with:
sudo dnf install rocm-hip
For use with Blender, you might need to also install "rocm-hip-devel" if it does not detect HIP.
Intel
TODO: incomplete, take me!
Packages
Packages that use HC
Blender
Build with:
rpmbuild --with rocm