Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
docs(rocm): warn about the AsyncEventsLoop CPU-spin livelock
Lincoln Steindca28b74852d
diff --git a/docs/src/content/docs/start-here/system-requirements.mdx b/docs/src/content/docs/start-here/system-requirements.mdxindex 4ddc9d50fc..5ac0e788d7 100644--- a/docs/src/content/docs/start-here/system-requirements.mdx+++ b/docs/src/content/docs/start-here/system-requirements.mdx@@ -165,6 +165,15 @@ If, after restarting the app, this doesn't improve your performance, either restthreshold on a build whose fused kernels are known to be correct.:::+:::note[Idle process pegging one CPU core]+ After GPU work, ROCm's HSA runtime can leave its internal `AsyncEventsLoop` thread busy-spinning+ on one CPU core indefinitely instead of blocking - a livelock in `libhsa-runtime64.so`, not an+ Invoke bug (see [ROCm/ROCm#6522] and [ROCm/TheRock#7051]). It inflates `rocm-smi`'s GPU-busy%+ reading too, so it can look like a stuck generation when the queue is actually idle. If you see+ this, export `HSA_TOOLS_DISABLE_REGISTER=1` before launching Invoke; unset it only if you need+ `rocprof`/ROCTracer-based kernel profiling, which this disables.+:::+Run `rocm-smi` on your system's command line verify that drivers and ROCm are installed. If this command fails, or doesn't report versions, you will need to install them.Go to the [ROCm Documentation] and carefully follow the instructions for your system to get everything installed.@@ -188,3 +197,5 @@ An alternative to installing ROCm locally is to use a [ROCm docker container] to[Intel client GPU install guide]: https://dgpu-docs.intel.com/driver/client/overview.html[ROCm Documentation]: https://rocmdocs.amd.com[ROCm docker container]: https://rocmdocs.amd.com/en/latest/Deep_learning/Deep_learning.html#docker-containers+[ROCm/ROCm#6522]: https://github.com/ROCm/ROCm/issues/6522+[ROCm/TheRock#7051]: https://github.com/ROCm/TheRock/issues/7051