Conversation
|
This is just raw C(++?) compilation and not anything we could speed up with gpu hwaccel, right? |
Yeah, there's no way to use a GPU for this. Fortunately caching should be very effective if it can build once and start using it - though I'm not 100% on whether it will. |
|
Oof, it's still failing. |
|
I would make the cache behind the flag since it's genuinely useful during local development. Having an error after three hours of build, only to fix it within a few seconds and start all over again, is a real pain. |
It seems to time out when I just include the cache mount and ccache env, even if I don't have --use_cache set. But it builds when those are removed. Very odd... I guess bringing the image back to a working state is the priority before worrying about anything else. |
|
@mertalev Is removing gfx906 support intentional? I have various Vega VII/MI50 cards and ORT works well on them. To also reduce build times, I suggest you also remove the extended list of GPU architectures. I primarily target gfx906 and gfx1200. My build times are roughly 3-5 mins on my 5950X. |
|
@kprinssu yes, but I guess we need an image that will work across all architectures. Two old arches make no sense. |
|
I believe we should split AMD into two backends: the old ROCm-based backend for older arches and a new MIGraphX backend for newer arches. |
|
@savely-krasovsky We can support older arches with newer ROCm support. However, we will need to build ROCBlas or use a janky solution. I am personally using the official Arch Linux team's ROCBlas binaries here, https://archlinux.org/packages/extra/x86_64/rocblas/ |
|
No longer needed since we upgraded the build server |
Description
The targets were expanded in #23458 and ccache was added, but it causes the build to take over six hours. This PR removes the added target and ups parallelism temporarily to get a working image, which should hopefully improve future build time with ccache.