builder icon indicating copy to clipboard operation
builder copied to clipboard

libtorch static builds run out of builder system memory

Open powderluv opened this issue 2 years ago • 4 comments

We re-enabled true static builds https://github.com/pytorch/builder/pull/1066

But it fails with error 137:

https://github.com/pytorch/pytorch/runs/7059088258?check_suite_focus=true

Error 137 says:

https://support.circleci.com/hc/en-us/articles/115014359648-Exit-code-137-Out-of-memory#:~:text=This%20is%20a%20Linux%20error,memory%2C%20your%20build%20will%20fail.

which indicates the linking OOMs the docker container. Should we disable tests for static builds ?

powderluv avatar Jun 27 '22 05:06 powderluv

@malfet FYI. Is there a way to increase system RAM ? Or should I send a PR to disable tests on static builds ?

powderluv avatar Jun 27 '22 05:06 powderluv

Bump this, we need this.

BTW, I was not able to find a guide for static building until landing on this issue. I am still jumping between PR code changes and CD pipelines.

Willian-Zhang avatar Sep 05 '22 06:09 Willian-Zhang

Unless someone has internal CI access I don't think we can land this as an external PR.

powderluv avatar Sep 06 '22 18:09 powderluv

Unless someone has internal CI access I don't think we can land this as an external PR.

and we might need circle ci team on this also. (related thread) Just curious, do you know if PyTorch is using an paid plan?

Willian-Zhang avatar Sep 07 '22 03:09 Willian-Zhang