Tensile icon indicating copy to clipboard operation
Tensile copied to clipboard

Limit build threads based on CPUs/RAM available on system

Open AlexBrownAMD opened this issue 2 years ago • 2 comments

AlexBrownAMD avatar Dec 20 '23 02:12 AlexBrownAMD

Sorry last comment fell into a github commit so almost invisible: "Is this available on all OS and container controls? Why not get CI to tell you the limit, Eiden added ROCBLAS_CLIENT_RAM_GB_LIMIT but we could ask to change it to ROCM_CLIENT_RAM_GB_LIMIT."

TorreZuk avatar Feb 23 '24 00:02 TorreZuk

Sorry last comment fell into a github commit so almost invisible: "Is this available on all OS and container controls? Why not get CI to tell you the limit, Eiden added ROCBLAS_CLIENT_RAM_GB_LIMIT but we could ask to change it to ROCM_CLIENT_RAM_GB_LIMIT."

That could be handy, since current method is version dependent and may be susceptible to future changes. Will check with Eiden.

AlexBrownAMD avatar Feb 23 '24 17:02 AlexBrownAMD