[Issue]: RFE header only install
Problem Description
Building the library takes an extremely long time and only the headers may be needed. Is there or could there be a build option that only installed the headers and cmake rules ?
Operating System
Fedora Rawhide
CPU
All
GPU
AMD Instinct MI300X
Other
No response
ROCm Version
ROCm 6.0.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
A usecase where this would be helpful. https://github.com/pytorch/pytorch/issues/149809
Hi @trixirt. Internal ticket has been created to assist with your issue. Thanks!
Hi @trixirt, thank you for your installation suggestion. To the best of my knowledge, a header-only installation isn't currently supported. If you don't require the entire library, you can build just the specific kernel or set of instances you need to reduce build time. Alternatively, you can install the pre-built package using apt-get install.
This is a request for a header only install path. Just copying the headers will not provide a cmake install that other packages like pytorch can search for.
Sure, I have spoken with the development team. We will discuss this internally and do our best to accommodate your request.
Hi, another use case is OpenImageDenoise - from the maintenance perspective ability to have a header only installation would help.
This would be nice for torch which needs a generated config.h from https://github.com/ROCm/composable_kernel/blob/develop/include/ck/config.h.in which is produced by cmake for its CK attention implementation but does not require the built .so/kernels.